Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mongo-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
mongo-ui
Commits
370871e2
Commit
370871e2
authored
Aug 28, 2020
by
郭志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 支付追加isWxH5标识
parent
084a3270
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
pay.js
src/service/pay.js
+2
-1
detailPay.mixin.js
src/views/Goods/Detail/modules/detailPay.mixin.js
+3
-2
No files found.
src/service/pay.js
View file @
370871e2
...
...
@@ -2,7 +2,7 @@
* @Description: 支付微信h5, jsapi, 第三方收银台,跳转)
* @Date: 2020-07-28 15:03:52
* @LastEditors: gzw
* @LastEditTime: 2020-08-28 2
1:19:45
* @LastEditTime: 2020-08-28 2
2:07:04
*/
import
qs
from
"
qs
"
;
...
...
@@ -57,6 +57,7 @@ function payByWeixinJsapi(info = {}, callback) {
function
payByWeixinH5
(
info
)
{
if
(
!
info
.
url
)
return
;
info
.
params
.
isXyqb
=
isXyqb
?
1
:
0
;
info
.
params
.
isWxH5
=
1
;
const
currentPath
=
encodeURIComponent
(
window
.
location
.
origin
+
"
/payWaiting
"
+
...
...
src/views/Goods/Detail/modules/detailPay.mixin.js
View file @
370871e2
...
...
@@ -106,8 +106,9 @@ export default {
this
.
$router
.
replace
(
`/policy/success/
${
orderNo
}
`
);
return
;
}
this
.
$router
.
replace
({
path
:
"
/policy/detail/
"
+
orderNo
});
this
.
$router
.
replace
({
path
:
"
/policy/detail/
"
+
orderNo
+
"
?isWxH5=
"
+
this
.
orderInfo
.
isWxH5
||
""
});
}
});
},
...
...
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