Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
X
xzf_uniapp-wechat-web
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
李智书
xzf_uniapp-wechat-web
Commits
5f10f00b
Commit
5f10f00b
authored
Jun 14, 2023
by
袁玲利
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
get方法加请求头sessionid
parent
10e26f2a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
25 deletions
+29
-25
src/pages/BankModule/Recharge/Recharge.vue
src/pages/BankModule/Recharge/Recharge.vue
+24
-21
src/pages/IcbcModule/Recharge/Recharge.vue
src/pages/IcbcModule/Recharge/Recharge.vue
+5
-4
No files found.
src/pages/BankModule/Recharge/Recharge.vue
View file @
5f10f00b
...
...
@@ -264,9 +264,11 @@
<!--
<view
class=
"switchbankCard"
@
click=
"ChangeBankPay"
>
我要换银行卡支付
</view>
-->
</view>
</
template
>
<
template
v-else
>
<view
class=
"rechageWallet"
@
click=
"turnRechargeWallet"
>
充值校园钱包 >>
</view>
</
template
>
<
template
v-else
>
<view
class=
"rechageWallet"
@
click=
"turnRechargeWallet"
>
充值校园钱包 >>
</view
>
</
template
>
</view>
<!-- 其他充值金额 -->
<view
class=
"contentBox"
style=
"display: none"
>
...
...
@@ -547,7 +549,7 @@ export default {
name
:
""
,
usertype
:
"
1
"
,
},
rechargeLimit
:
""
,
rechargeLimit
:
""
,
bankInfo_
:
{
accountNo
:
"
**** **** **** 1234
"
,
bindCardName
:
""
,
...
...
@@ -612,7 +614,7 @@ export default {
fromType
=
options
[
"
fromType
"
]
||
""
;
bankInfo
.
sessionid
=
sessionID
||
""
;
this
.
rechargeLimit
=
options
[
"
rechargeLimit
"
]
||
""
;
console
.
log
(
this
.
rechargeLimit
,
'
rechargeLimit
'
)
console
.
log
(
this
.
rechargeLimit
,
"
rechargeLimit
"
);
this
.
beforeQuerySignStatus
();
},
created
:
function
()
{},
...
...
@@ -788,11 +790,11 @@ export default {
this
.
BackToMini
(
"
AssignAddCard
"
);
uni
.
hideLoading
();
},
turnRechargeWallet
()
{
jWeixin
.
miniProgram
.
navigateTo
({
url
:
`/pages/depositWallet/main`
,
});
},
turnRechargeWallet
()
{
jWeixin
.
miniProgram
.
navigateTo
({
url
:
`/pages/depositWallet/main`
,
});
},
// 验证码弹出框开启
toDeposit
()
{
console
.
log
(
this
.
isOtherMoney
,
"
isOtherMoney
"
);
...
...
@@ -1522,19 +1524,20 @@ export default {
formData
.
append
(
"
sessionid
"
,
sessionID
);
formData
.
append
(
"
wechattype
"
,
1
);
$
.
ajax
({
url
:
gHost
+
`/bank-wechat/school/bank/get`
,
url
:
gHost
+
`/bank-wechat/school/bank/get`
,
type
:
"
post
"
,
data
:
formData
,
processData
:
false
,
contentType
:
false
,
headers
:
{
sessionid
:
sessionID
,
},
success
:
function
(
res
)
{
console
.
log
(
res
);
if
(
res
.
code
==
"
10000
"
)
{
self
.
rechargeLimit
=
res
.
rechargeLimit
;
}
else
{
self
.
rechargeLimit
=
""
self
.
rechargeLimit
=
""
;
}
},
error
:
function
(
err
)
{
...
...
@@ -1644,13 +1647,13 @@ page {
background
:
linear-gradient
(
180deg
,
#ffffff
0%
,
#fafafa
100%
);
}
.rechageWallet
{
width
:
100%
;
text-align
:
center
;
height
:
100rpx
;
line-height
:
100rpx
;
color
:
#04b871
;
font-size
:
30rpx
;
margin-top
:
20rpx
;
width
:
100%
;
text-align
:
center
;
height
:
100rpx
;
line-height
:
100rpx
;
color
:
#04b871
;
font-size
:
30rpx
;
margin-top
:
20rpx
;
}
.BankListImgSpan
{
width
:
30rpx
;
...
...
src/pages/IcbcModule/Recharge/Recharge.vue
View file @
5f10f00b
...
...
@@ -934,11 +934,12 @@ export default {
formData
.
append
(
"
sessionid
"
,
sessionID
);
formData
.
append
(
"
wechattype
"
,
1
);
$
.
ajax
({
url
:
gHost
+
`/bank-wechat/school/bank/get`
,
url
:
gHost
+
`/bank-wechat/school/bank/get`
,
type
:
"
post
"
,
data
:
formData
,
headers
:
{
sessionid
:
sessionID
,
},
processData
:
false
,
contentType
:
false
,
success
:
function
(
res
)
{
...
...
@@ -946,7 +947,7 @@ export default {
if
(
res
.
code
==
"
10000
"
)
{
self
.
rechargeLimit
=
res
.
rechargeLimit
;
}
else
{
self
.
rechargeLimit
=
""
self
.
rechargeLimit
=
""
;
}
},
error
:
function
(
err
)
{
...
...
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