Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CFFP-HB
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chao Sun
CFFP-HB
Commits
e929885a
Commit
e929885a
authored
Dec 01, 2022
by
sunchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
获取微信openid
parent
c240afd8
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
19 deletions
+18
-19
pages/application-process/bank-card.vue
+1
-3
pages/application-process/basic-info.vue
+2
-4
pages/application-process/education.vue
+1
-3
pages/application-process/id-card.vue
+1
-3
pages/application-process/work-experience.vue
+1
-3
pages/withdrawal/withdrawal.vue
+12
-3
No files found.
pages/application-process/bank-card.vue
View file @
e929885a
...
@@ -105,9 +105,7 @@
...
@@ -105,9 +105,7 @@
...
this
.
applyParam
,
...
this
.
applyParam
,
applyType
:
2
,
applyType
:
2
,
operatStep
:
5
,
operatStep
:
5
,
// userId:uni.getStorageSync('cffp_userId'),
userId
:
uni
.
getStorageSync
(
'cffp_userId'
),
userId
:
42
,
id
:
17
}
}
api
.
saveApplyInfo
(
this
.
applyParam
).
then
((
res
)
=>
{
api
.
saveApplyInfo
(
this
.
applyParam
).
then
((
res
)
=>
{
if
(
res
[
'success'
]){
if
(
res
[
'success'
]){
...
...
pages/application-process/basic-info.vue
View file @
e929885a
...
@@ -301,10 +301,8 @@
...
@@ -301,10 +301,8 @@
...
this
.
applyParam
,
...
this
.
applyParam
,
applyType
:
2
,
applyType
:
2
,
operatStep
:
1
,
operatStep
:
1
,
// userId:uni.getStorageSync('cffp_userId'),
userId
:
uni
.
getStorageSync
(
'cffp_userId'
),
userId
:
42
,
hasCrossDistrict
:
0
hasCrossDistrict
:
0
,
id
:
17
}
}
api
.
saveApplyInfo
(
this
.
applyParam
).
then
((
res
)
=>
{
api
.
saveApplyInfo
(
this
.
applyParam
).
then
((
res
)
=>
{
if
(
res
[
'success'
]){
if
(
res
[
'success'
]){
...
...
pages/application-process/education.vue
View file @
e929885a
...
@@ -161,9 +161,7 @@
...
@@ -161,9 +161,7 @@
...
this
.
applyParam
,
...
this
.
applyParam
,
applyType
:
2
,
applyType
:
2
,
operatStep
:
4
,
operatStep
:
4
,
// userId:uni.getStorageSync('cffp_userId'),
userId
:
uni
.
getStorageSync
(
'cffp_userId'
),
userId
:
42
,
id
:
17
,
}
}
api
.
saveApplyInfo
(
this
.
applyParam
).
then
((
res
)
=>
{
api
.
saveApplyInfo
(
this
.
applyParam
).
then
((
res
)
=>
{
if
(
res
[
'success'
]){
if
(
res
[
'success'
]){
...
...
pages/application-process/id-card.vue
View file @
e929885a
...
@@ -138,9 +138,7 @@
...
@@ -138,9 +138,7 @@
...
this
.
applyParam
,
...
this
.
applyParam
,
applyType
:
2
,
applyType
:
2
,
operatStep
:
3
,
operatStep
:
3
,
// userId:uni.getStorageSync('cffp_userId'),
userId
:
uni
.
getStorageSync
(
'cffp_userId'
),
userId
:
42
,
id
:
17
,
}
}
api
.
saveApplyInfo
(
this
.
applyParam
).
then
((
res
)
=>
{
api
.
saveApplyInfo
(
this
.
applyParam
).
then
((
res
)
=>
{
if
(
res
[
'success'
]){
if
(
res
[
'success'
]){
...
...
pages/application-process/work-experience.vue
View file @
e929885a
...
@@ -170,9 +170,7 @@
...
@@ -170,9 +170,7 @@
...
this
.
applyParam
,
...
this
.
applyParam
,
applyType
:
2
,
applyType
:
2
,
operatStep
:
2
,
operatStep
:
2
,
// userId:uni.getStorageSync('cffp_userId'),
userId
:
uni
.
getStorageSync
(
'cffp_userId'
),
userId
:
42
,
id
:
17
,
certificate
:
this
.
picList
.
join
(
','
)
certificate
:
this
.
picList
.
join
(
','
)
}
}
console
.
log
(
this
.
applyParam
)
console
.
log
(
this
.
applyParam
)
...
...
pages/withdrawal/withdrawal.vue
View file @
e929885a
...
@@ -129,18 +129,26 @@
...
@@ -129,18 +129,26 @@
},
},
//微信去提现
//微信去提现
wxWithdrawal
(){
wxWithdrawal
(){
debugger
;
// APP:
// #ifdef APP-PLUS
uni
.
login
({
uni
.
login
({
provider
:
'weixin'
,
provider
:
'weixin'
,
success
:
function
(
loginRes
)
{
success
:
function
(
loginRes
)
{
// 登录成功
// 登录成功
alert
(
JSON
.
stringify
(
loginRes
))
//
alert(JSON.stringify(loginRes))
uni
.
getUserInfo
({
uni
.
getUserInfo
({
provider
:
'weixin'
,
provider
:
'weixin'
,
success
:
function
(
info
)
{
success
:
function
(
info
)
{
// 获取用户信息成功, info.authResult保存用户信息
// 获取用户信息成功, info.authResult保存用户信息
console
.
log
(
info
)
console
.
log
(
info
)
alert
(
JSON
.
stringify
(
info
))
this
.
wxWithdrawalResVO
.
openId
=
info
.
openId
;
const
wxWithdrawalResVO
=
{
...
this
.
wxWithdrawalResVO
,
userId
:
uni
.
getStorageSync
(
'cffp_userId'
),
}
api
.
wxWithdrawal
(
wxWithdrawalResVO
).
then
((
res
)
=>
{
console
.
log
(
res
)
})
}
}
})
})
},
},
...
@@ -149,6 +157,7 @@
...
@@ -149,6 +157,7 @@
// err.code是错误码
// err.code是错误码
}
}
})
})
// #endif
},
},
confirmWithdrawal
(){
confirmWithdrawal
(){
if
(
this
.
paymentMethod
==
1
){
if
(
this
.
paymentMethod
==
1
){
...
...
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