Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-h5-ailipay
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 0ec0f15d
authored
Jan 08, 2024
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
代码注释
1 parent
7a745b23
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
src/views/alipay/index.vue
src/views/alipay/index.vue
View file @
0ec0f15
...
@@ -127,9 +127,9 @@ export default {
...
@@ -127,9 +127,9 @@ export default {
const
{
appId
}
=
baseConfig
const
{
appId
}
=
baseConfig
// console.log(appId)
// console.log(appId)
const
{
merchantName
,
merchantId
,
shopMerchantId
,
shopMerchantName
}
=
this
.
getHrefParams
()
const
{
merchantName
,
merchantId
,
shopMerchantId
,
shopMerchantName
}
=
this
.
getHrefParams
()
// 区分是流量方还是导流方
// 通过这方法动态判断商户是否需要屏蔽用户协议
// this.getMiniAppConfig()
this
.
setMerchantDisabled
(
merchantId
||
shopMerchantId
)
this
.
setMerchantDisabled
(
merchantId
||
shopMerchantId
)
// 区分是流量方还是导流方
if
(
merchantId
)
{
if
(
merchantId
)
{
this
.
merchantId
=
merchantId
this
.
merchantId
=
merchantId
this
.
merchantName
=
merchantName
this
.
merchantName
=
merchantName
...
@@ -269,6 +269,7 @@ export default {
...
@@ -269,6 +269,7 @@ export default {
// const _this = this
// const _this = this
const
{
payMoney
,
unPayMoneyList
,
userId
,
userCollaborationName
,
userCollaborationCheck
,
merchantDisabled
}
=
this
const
{
payMoney
,
unPayMoneyList
,
userId
,
userCollaborationName
,
userCollaborationCheck
,
merchantDisabled
}
=
this
if
(
payMoney
===
''
||
unPayMoneyList
.
includes
(
payMoney
))
return
if
(
payMoney
===
''
||
unPayMoneyList
.
includes
(
payMoney
))
return
// merchantDisabled 通过这字段判断商户是否需要跳过检验
if
(
userCollaborationName
&&
!
userCollaborationCheck
&&
!
merchantDisabled
)
{
if
(
userCollaborationName
&&
!
userCollaborationCheck
&&
!
merchantDisabled
)
{
return
this
.
showToast
(
`请先阅读并勾选《
${
userCollaborationName
}
》`
)
return
this
.
showToast
(
`请先阅读并勾选《
${
userCollaborationName
}
》`
)
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment