Commit f84b92539e4a06a3e9c4d57a2a9f195e9737f646

Authored by taiyuan
1 parent 7f00186f

幸运购自定义模版

components/diy_luckyGo/diy_luckyGo.js
@@ -80,8 +80,8 @@ Component({ @@ -80,8 +80,8 @@ Component({
80 if(!user_id){ user_id=0;} 80 if(!user_id){ user_id=0;}
81 81
82 //--调用接口,读取秒杀-- 82 //--调用接口,读取秒杀--
83 - app.request.promiseGet("/api/ms/flash_sale/getGoodsList?store_id="  
84 - + os.stoid + "&goodsidlist=" + goodsidlist+"&user_id="+user_id, {}).then(res => { 83 + app.request.promiseGet("/api/weshop/prom/luckyActivity/getGoodsList?store_id="
  84 + + os.stoid + "&goodsidlist=" + goodsidlist + "&type="+ 1, {}).then(res => {
85 console.log(res); 85 console.log(res);
86 //如果秒杀的数组为空的时候 86 //如果秒杀的数组为空的时候
87 var goodslist = res.data.data; 87 var goodslist = res.data.data;
packageC/pages/luckyGo/luckyGo_cart/luckyGo_cart.json
1 { 1 {
2 - "navigationBarTitleText": "提交订单", 2 + "navigationBarTitleText": "填写订单",
3 "enablePullDownRefresh": false, 3 "enablePullDownRefresh": false,
4 "usingComponents": { 4 "usingComponents": {
5 "warn": "/components/long_warn/long_warn" 5 "warn": "/components/long_warn/long_warn"
packageC/pages/luckyGo/luckyGo_cart_ct/luckyGo_cart_ct.json
1 { 1 {
2 - "navigationBarTitleText": "提交订单", 2 + "navigationBarTitleText": "填写订单",
3 "enablePullDownRefresh": false, 3 "enablePullDownRefresh": false,
4 "usingComponents": { 4 "usingComponents": {
5 "warn": "/components/long_warn/long_warn" 5 "warn": "/components/long_warn/long_warn"