Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wx-school-app
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
姜雷
wx-school-app
Commits
42ebe5ee
Commit
42ebe5ee
authored
Jul 23, 2019
by
姜雷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
支付接口添加appid参数
parent
26073e49
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
account.ts
src/api/account.ts
+1
-1
order.ts
src/api/order.ts
+1
-1
No files found.
src/api/account.ts
View file @
42ebe5ee
...
@@ -55,7 +55,7 @@ export const rechargeOrder = (
...
@@ -55,7 +55,7 @@ export const rechargeOrder = (
customerFetch
({
customerFetch
({
url
:
'/dcxy/app/rechargeOrder/rechargeOrder/smallProPay'
,
url
:
'/dcxy/app/rechargeOrder/rechargeOrder/smallProPay'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
{
...
params
,
appId
:
'wxf2cac8f84183c8fc'
}
,
});
});
type
CreditInfo
=
{
type
CreditInfo
=
{
...
...
src/api/order.ts
View file @
42ebe5ee
...
@@ -65,7 +65,7 @@ type ConfirmpayParams = {
...
@@ -65,7 +65,7 @@ type ConfirmpayParams = {
export
const
confirmPay
=
(
data
:
ConfirmpayParams
)
=>
export
const
confirmPay
=
(
data
:
ConfirmpayParams
)
=>
customerFetch
({
customerFetch
({
url
:
'/consumeOrder/confirmPay'
,
url
:
'/consumeOrder/confirmPay'
,
data
:
data
,
data
:
{
...
data
,
appId
:
'wxf2cac8f84183c8fc'
}
,
});
});
type
RechargeParams
=
{
type
RechargeParams
=
{
...
...
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