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 abd260a2
authored
Oct 13, 2023
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
权益购买添加商户号
1 parent
58dd7254
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
packageSaveMoney/pages/chargeDetail/chargeDetail.js
packageSaveMoney/pages/detail/detail.js
packageSaveMoney/pages/chargeDetail/chargeDetail.js
View file @
abd260a
...
...
@@ -197,6 +197,9 @@ Page({
if
(
!
orderCode
)
{
return
}
const
{
merchantId
}
=
wx
.
p
.
storage
.
get
(
'merchant_info'
)
const
{
selectedItem
,
rechageNum
,
isGameUse
,
coupons
}
=
this
.
data
let
para
=
{
orderCode
,
...
...
@@ -204,7 +207,8 @@ Page({
rechargeNumber
:
rechageNum
,
goodsQuality
:
1
,
// payMannerId: 19,
paySource
:
3
paySource
:
3
,
merchantId
}
if
(
isGameUse
&&
coupons
){
para
.
usedCouponIds
=
[
coupons
.
id
]
...
...
packageSaveMoney/pages/detail/detail.js
View file @
abd260a
...
...
@@ -250,7 +250,7 @@ Page({
// 获取订单号
toGetCode
()
{
let
para
=
{
supplier
:
this
.
data
.
query
.
supplier
supplier
:
this
.
data
.
query
.
supplier
,
}
wx
.
p
.
api
.
equityApi
.
getOrderCode
(
para
).
then
(
res
=>
{
this
.
getPayParam
(
res
)
...
...
@@ -262,12 +262,17 @@ Page({
return
}
const
{
curentGoodsItem
,
coupons
,
isGameUse
}
=
this
.
data
const
{
merchantId
}
=
wx
.
p
.
storage
.
get
(
'merchant_info'
)
let
para
=
{
orderCode
,
goodsId
:
curentGoodsItem
.
id
,
goodsQuality
:
1
,
// payMannerId: 19,
paySource
:
3
,
merchantId
}
if
(
isGameUse
&&
coupons
){
para
.
usedCouponIds
=
[
coupons
.
id
]
...
...
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