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
c240afd8
Commit
c240afd8
authored
Dec 01, 2022
by
sunchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试获取微信openid
parent
e55c49e5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
3 deletions
+28
-3
pages/pointsExchange/pointsExchange.vue
+1
-1
pages/pointsExchange/pointsStatus.vue
+6
-1
pages/withdrawal/withdrawal.vue
+21
-1
No files found.
pages/pointsExchange/pointsExchange.vue
View file @
c240afd8
...
...
@@ -27,7 +27,7 @@
</view>
<view
class=
"item"
>
<text>
E.已退课
</text>
<text
@
click=
"viewDropLists()"
>
{{
returnFortune
?
returnFortune
:
0
}}
积分
<i
class=
"iconfont icon-youjiantou"
style=
"margin-right: 10rpx;"
></i></text>
<text
style=
"color: #0A2F99;"
@
click=
"viewDropLists()"
>
{{
returnFortune
?
returnFortune
:
0
}}
积分
<i
class=
"iconfont icon-youjiantou"
style=
"margin-right: 10rpx;"
></i></text>
</view>
</view>
<view
class=
"total"
>
...
...
pages/pointsExchange/pointsStatus.vue
View file @
c240afd8
...
...
@@ -27,7 +27,7 @@
</view>
<view
class=
"status_item"
>
<text>
E.已退课
</text>
<text
>
{{
returnFortune
?
returnFortune
:
0
}}
积分
</text>
<text
@
click=
"viewDropLists()"
style=
"color: #0A2F99;"
>
{{
returnFortune
?
returnFortune
:
0
}}
积分
<i
class=
"iconfont icon-youjiantou"
style=
"margin-right: 10rpx;"
></i>
</text>
</view>
</view>
<view
class=
"total"
>
...
...
@@ -73,6 +73,11 @@
}
})
},
viewDropLists
(){
uni
.
navigateTo
({
url
:
'/pages/dropLists/dropLists'
})
}
}
}
...
...
pages/withdrawal/withdrawal.vue
View file @
c240afd8
...
...
@@ -123,12 +123,32 @@
orderNo
:
this
.
partnerTradeNo
}
api
.
aliWithdrawal
(
this
.
aliWithdrawalResVO
).
then
((
res
)
=>
{
alert
(
JSON
.
stringify
(
res
))
console
.
log
(
res
)
})
},
//微信去提现
wxWithdrawal
(){
debugger
;
uni
.
login
({
provider
:
'weixin'
,
success
:
function
(
loginRes
)
{
// 登录成功
alert
(
JSON
.
stringify
(
loginRes
))
uni
.
getUserInfo
({
provider
:
'weixin'
,
success
:
function
(
info
)
{
// 获取用户信息成功, info.authResult保存用户信息
console
.
log
(
info
)
alert
(
JSON
.
stringify
(
info
))
}
})
},
fail
:
function
(
err
)
{
// 登录授权失败
// err.code是错误码
}
})
},
confirmWithdrawal
(){
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