|
@@ -124,12 +124,16 @@ class WelfareMall extends request {
|
|
|
/**
|
|
|
* 创建订单
|
|
|
*/
|
|
|
- static createOrder(mobile,activityId,num,shopId="") {
|
|
|
+ static createOrder(mobile,activityId,num,shopId="", refStatisticsPostParam) {
|
|
|
+ refStatisticsPostParam = refStatisticsPostParam || {}
|
|
|
let params = {
|
|
|
activityId:activityId,
|
|
|
memberMobile:mobile,
|
|
|
num:num,
|
|
|
- shopId:shopId
|
|
|
+ shopId:shopId,
|
|
|
+ scene: refStatisticsPostParam.scene || "",
|
|
|
+ channel: refStatisticsPostParam.channel || "0",
|
|
|
+ department: refStatisticsPostParam.department || "0"
|
|
|
};
|
|
|
return this.postRequest(`${this.BASE_URL}open/activity/create-order`, params);
|
|
|
}
|