mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-16 15:43:49 +08:00
Merge remote-tracking branch 'origin/sit-Leung' into sit-jiamin-v2
This commit is contained in:
@@ -56,16 +56,18 @@ export const getleckCourse = (name, offset) => {
|
||||
* 加入购物车
|
||||
*/
|
||||
|
||||
export const postCourseId = (productCode,buyCount,memberId, mobile,productImg,productName,productPrice,specifications) => {
|
||||
export const postCourseId = (productCode, buyCount, memberId, mobile, productImg, productName, productPrice, specifications, leftAllotment, basePiont) => {
|
||||
var data = {
|
||||
buyCount:buyCount,
|
||||
memberId: memberId,
|
||||
mobile:mobile,
|
||||
productCode:productCode,
|
||||
productImg: productImg,
|
||||
productName:productName,
|
||||
productPrice:productPrice,
|
||||
specifications:specifications
|
||||
productName: productName,
|
||||
productPrice: productPrice,
|
||||
specifications: specifications,
|
||||
leftAllotment: leftAllotment,
|
||||
basePiont: basePiont
|
||||
}
|
||||
return fetch('/insertCartProductInfo', data,'POST')
|
||||
}
|
||||
@@ -77,6 +79,14 @@ export const postCourseId = (productCode,buyCount,memberId, mobile,productImg,pr
|
||||
return fetch('getCartProductInfo?memberId='+id,data,'POST')
|
||||
}
|
||||
|
||||
/**
|
||||
* 支付监听
|
||||
*/
|
||||
export const monitorOrderNotify = (OrderNumber) => {
|
||||
var data = {}
|
||||
return fetch('monitorOrderNotify?OrderNumber=' + OrderNumber, data, 'POST')
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除购物车
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user