Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
zhwy
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 a497254c
authored
Oct 23, 2023
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v3.21.0' of
http://192.168.3.233:8090/saas/mini-program/zhwy
into v3.21.0
2 parents
781fbb65
091cde4c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
5 deletions
packageEquity/pages/freecard/freecard.js
pages/crowdfunding/blank/blank.js
packageEquity/pages/freecard/freecard.js
View file @
a497254
...
@@ -70,7 +70,7 @@ Page({
...
@@ -70,7 +70,7 @@ Page({
customer_phone
:
phone
customer_phone
:
phone
}
}
if
(
nickName
)
{
if
(
nickName
)
{
item
.
customer_name
=
nickName
item
.
customer_
qw_nick
name
=
nickName
}
}
if
(
headImgUrl
)
{
if
(
headImgUrl
)
{
item
.
avatar
=
headImgUrl
item
.
avatar
=
headImgUrl
...
@@ -133,6 +133,10 @@ Page({
...
@@ -133,6 +133,10 @@ Page({
if
(
code
==
0
)
{
if
(
code
==
0
)
{
// 获取会员卡信息
// 获取会员卡信息
wx
.
p
.
api
.
equityApi
.
checkOpenMember
({
isTrialCardFlag
:
1
}).
then
(
res
=>
{
wx
.
p
.
api
.
equityApi
.
checkOpenMember
({
isTrialCardFlag
:
1
}).
then
(
res
=>
{
if
(
res
.
code
==
-
1
&&
res
.
errId
==
2008
)
{
this
.
showTips
(
message
||
'服务不可用'
)
return
}
if
(
res
.
code
==
0
&&
res
.
data
)
{
if
(
res
.
code
==
0
&&
res
.
data
)
{
this
.
receiveRed
(
res
.
data
.
equityFreeCardId
)
this
.
receiveRed
(
res
.
data
.
equityFreeCardId
)
}
}
...
@@ -148,12 +152,12 @@ Page({
...
@@ -148,12 +152,12 @@ Page({
})
})
},
},
receiveRed
(
equityFreeCardId
)
{
receiveRed
(
equityFreeCardId
)
{
let
{
isOpenMember
,
nickName
,
bindingSource
}
=
this
.
data
let
{
isOpenMember
,
nickName
,
bindingSource
}
=
this
.
data
let
params
=
{
let
params
=
{
equityFreeCardId
,
equityFreeCardId
,
nickName
:
nickName
nickName
:
nickName
}
}
if
(
bindingSource
)
params
.
bindingSource
=
bindingSource
if
(
bindingSource
)
params
.
bindingSource
=
bindingSource
wx
.
p
.
api
.
equityApi
.
checkReceiveRed
(
params
).
then
(
res
=>
{
wx
.
p
.
api
.
equityApi
.
checkReceiveRed
(
params
).
then
(
res
=>
{
console
.
log
(
res
,
'checkReceiveRed---'
)
console
.
log
(
res
,
'checkReceiveRed---'
)
let
{
code
,
message
,
data
}
=
res
let
{
code
,
message
,
data
}
=
res
...
@@ -181,6 +185,10 @@ Page({
...
@@ -181,6 +185,10 @@ Page({
const
authStatus
=
await
wx
.
p
.
router
.
intercept
(
false
)
const
authStatus
=
await
wx
.
p
.
router
.
intercept
(
false
)
if
(
authStatus
)
return
if
(
authStatus
)
return
wx
.
p
.
api
.
equityApi
.
checkOpenMember
({
isTrialCardFlag
:
1
}).
then
(
res
=>
{
wx
.
p
.
api
.
equityApi
.
checkOpenMember
({
isTrialCardFlag
:
1
}).
then
(
res
=>
{
if
(
res
.
code
==
-
1
&&
res
.
errId
==
2008
)
{
this
.
showTips
(
res
.
message
||
'服务不可用'
)
return
}
let
flag
=
false
let
flag
=
false
if
(
res
.
code
==
0
&&
res
.
data
)
{
if
(
res
.
code
==
0
&&
res
.
data
)
{
flag
=
true
flag
=
true
...
@@ -218,7 +226,7 @@ Page({
...
@@ -218,7 +226,7 @@ Page({
bindingSource
=
''
bindingSource
=
''
const
authStatus
=
await
wx
.
p
.
router
.
intercept
(
false
)
const
authStatus
=
await
wx
.
p
.
router
.
intercept
(
false
)
const
{
merchantId
}
=
wx
.
p
.
storage
.
get
(
'merchant_info'
)
const
{
merchantId
}
=
wx
.
p
.
storage
.
get
(
'merchant_info'
)
if
(
options
.
bindingSource
)
bindingSource
=
options
.
bindingSource
if
(
options
.
bindingSource
)
bindingSource
=
options
.
bindingSource
this
.
setData
({
this
.
setData
({
merchantId
,
merchantId
,
bindingSource
bindingSource
...
...
pages/crowdfunding/blank/blank.js
View file @
a497254
...
@@ -33,7 +33,7 @@ Page({
...
@@ -33,7 +33,7 @@ Page({
let
item
=
{
let
item
=
{
add_way
:
'104'
,
add_way
:
'104'
,
customer_phone
:
res
.
data
.
userInfo
.
phone
,
customer_phone
:
res
.
data
.
userInfo
.
phone
,
customer_name
:
info
.
nickName
,
customer_
qw_nick
name
:
info
.
nickName
,
avatar
:
info
.
avatarUrl
,
avatar
:
info
.
avatarUrl
,
merchant_id
:
res
.
data
.
merchantId
merchant_id
:
res
.
data
.
merchantId
}
}
...
...
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