Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
D
doublescreen-front
Project
Project
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pengguangpu
doublescreen-front
Commits
3232eae9
Commit
3232eae9
authored
Jul 01, 2020
by
gaodapeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更改兑换接口
parent
3c12889d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
apiurl.js
const/apiurl.js
+1
-1
home.js
pages/home/home.js
+1
-0
No files found.
const/apiurl.js
View file @
3232eae9
...
...
@@ -3,7 +3,7 @@ export const API_LOGIN = "store/cashier/login";
//查询商品
export
const
API_SCAN
=
"market/barcodeQuery"
;
//核销券
export
const
API_USE_COUPON
=
"coupon/use"
;
export
const
API_USE_COUPON
=
"coupon/
mch/coupon/
use"
;
//创建订单
export
const
API_CREATE_ORDER
=
"order/create"
;
//支付接口
...
...
pages/home/home.js
View file @
3232eae9
...
...
@@ -479,6 +479,7 @@ Page({
this
.
sendConvertCouponToBack
(
commonRequest
)
var
couponRequest
=
api
.
createCommonRequest
();
couponRequest
.
couponCode
=
code
;
couponRequest
.
storeId
=
getApp
().
globalData
.
localAccountInfo
.
storeId
;
console
.
log
(
"兑换码的请求 ==>"
+
JSON
.
stringify
(
couponRequest
));
let
context
=
this
;
my
.
request
({
...
...
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