Merge remote-tracking branch 'origin/sit-Leung' into sit-jiamin-v2

This commit is contained in:
952108534@qq.com
2022-01-23 19:36:32 +08:00
17 changed files with 144 additions and 76 deletions

View File

@@ -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')
}
/**
* 删除购物车
*/