Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cauchy-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ui
cauchy-ui
Commits
417f709f
Commit
417f709f
authored
Sep 15, 2021
by
ben.liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修改获取验证码
parent
0fe6725e
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
29337 additions
and
8948 deletions
+29337
-8948
package-lock.json
package-lock.json
+20231
-233
env.config.js
src/config/env.config.js
+1
-1
extends.js
src/views/pay/extends.js
+5
-1
index.vue
src/views/pay/index.vue
+6
-2
yarn.lock
yarn.lock
+9094
-8711
No files found.
package-lock.json
View file @
417f709f
This diff is collapsed.
Click to expand it.
src/config/env.config.js
View file @
417f709f
...
...
@@ -2,7 +2,7 @@ let protocol = window.location.protocol;
let
payHost
=
protocol
+
'
//mapi-qa.liangkebang.net/pay
'
;
let
shenceHost
=
'
https://bn.xyqb.com/sa?project=default
'
;
// 测试地址
let
talosHost
=
'
http://talos-
vcc2
.liangkebang.net
'
;
// 电商分期测试环境服务地址
let
talosHost
=
'
http://talos-
test1
.liangkebang.net
'
;
// 电商分期测试环境服务地址
let
operatorHost
=
'
https://operator.liangkebang.com
'
;
const
toBHost
=
'
https://tob.liangkebang.net
'
;
export
default
{
talosHost
,
operatorHost
,
payHost
,
shenceHost
,
test
:
true
,
toBHost
};
src/views/pay/extends.js
View file @
417f709f
...
...
@@ -26,8 +26,12 @@ export const goUrlExtends = {
});
}
const
returnUrl
=
this
.
getReturnUrl
();
let
isOrder
=
true
;
if
(
localStorage
.
get
(
'
hideOrder
'
))
{
this
.
isOrder
=
false
;
}
setTimeout
(()
=>
{
if
(
returnUrl
)
{
if
(
returnUrl
&&
isOrder
)
{
window
.
location
.
replace
(
`
${
returnUrl
}
/orderList`
);
return
;
}
...
...
src/views/pay/index.vue
View file @
417f709f
...
...
@@ -615,9 +615,13 @@ export default {
},
/* 忘记密码 */
retrieveLink
()
{
let
url
=
`
${
this
.
creditPayInfo
.
forgetPwdJumpUrl
}
&vccChannel=
${
VCC_CHANNEL
}
&redirectUrl=
${
window
.
location
.
href
}
`
;
const
{
orderNo
,
hideOrder
,
returnUrl
}
=
this
.
$route
.
query
||
{};
const
redirectUrl
=
`
${
window
.
location
.
origin
}${
window
.
location
.
pathname
}
?orderNo=
${
orderNo
}
&hideOrder=
${
hideOrder
}
&returnUrl=
${
returnUrl
}
`
;
console
.
log
(
VCC_CHANNEL
);
let
url
=
`
${
this
.
creditPayInfo
.
forgetPwdJumpUrl
}
&vccChannel=
${
VCC_CHANNEL
}
&redirectUrl=
${
redirectUrl
}
`
;
url
=
url
.
replace
(
'
{token}
'
,
localStorage
.
get
(
'
vccToken
'
));
window
.
location
.
href
=
url
;
console
.
log
(
url
);
// window.location.href = url;
},
getObjectKey
(
obj
)
{
return
Object
.
keys
(
obj
);
...
...
yarn.lock
View file @
417f709f
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment