添加商品来源from_id;0其他,2微把,3够吧

This commit is contained in:
2019-09-10 15:28:41 +08:00
parent cd2c6ed3a0
commit 762fe382a4
8 changed files with 45 additions and 38 deletions

View File

@ -256,6 +256,7 @@ mui.plusReady(function() {
var isMiaosha = self.isMiaosha;
var MiaoshaSaleSpec = self.MiaoshaSaleSpec;
var specsId = '';
from_id = self.from_id?self.from_id:0
// //console.log(isMiaosha)
// isMiaosha = 1;
// MiaoshaSaleSpec = '0';
@ -662,8 +663,8 @@ mui.plusReady(function() {
goodsType:goodsType,
goodsId: goodsId,
buyNum: buyNum,
goodsSpecId: goodsSpecId
goodsSpecId: goodsSpecId,
from: from_id
},
dataType: 'json', //服务器返回json格式数据
type: 'post', //HTTP请求类型
@ -686,7 +687,7 @@ mui.plusReady(function() {
},
extras: {
// goodsId: goodsId
from: from_id,
type: 1
// ..... //自定义扩展参数,可以用来处理页面间传值