Commit 6c9417e3842edb99dcf11858e20a2b5fce33886e

Authored by yvan.ni
1 parent 9bc21183

打日志,跟踪结果

packageA/pages/activity_share/activity_share.js
@@ -66,8 +66,10 @@ Page({ @@ -66,8 +66,10 @@ Page({
66 //设置分享会员和导购id和归属门店ID 66 //设置分享会员和导购id和归属门店ID
67 this.setData({first_leader:first_leader,StaffId:StaffId,StorageId:StorageId}); 67 this.setData({first_leader:first_leader,StaffId:StaffId,StorageId:StorageId});
68 } 68 }
69 -  
70 - this.requestGoodsList(); 69 +
  70 + console.log("11111111");
  71 + this.requestGoodsList();
  72 + console.log("22222");
71 //-- 自定义海报 -- 73 //-- 自定义海报 --
72 getApp().request.promiseGet("/api/weshop/goods/poster/page",{ 74 getApp().request.promiseGet("/api/weshop/goods/poster/page",{
73 data:{store_id:os.stoid, type:1, is_use:1 } 75 data:{store_id:os.stoid, type:1, is_use:1 }
@@ -395,9 +397,11 @@ Page({ @@ -395,9 +397,11 @@ Page({
395 }, 397 },
396 398
397 get_colloction: async function(){ 399 get_colloction: async function(){
  400 +
  401 +
398 var list=null; 402 var list=null;
399 //-- 获取搭配购的从商品的信息 -- 403 //-- 获取搭配购的从商品的信息 --
400 - await app.request.promiseGet("/api/weshop/goods/getGoodsPromList/"+oo.stoid+"/"+this.data.hui_active.main_goods_id+"/2"+"/"+getApp().globalData.user_id,{}).then(res=>{ 404 + await app.request.promiseGet("/api/weshop/goods/getGoodsPromList/"+oo.stoid+"/"+this.data.hui_active.main_goods_id+"/2"+"/"+(getApp().globalData.user_id || 0) ,{}).then(res=>{
401 if(res.data.code==0){ 405 if(res.data.code==0){
402 list=res.data.data.collocationList; 406 list=res.data.data.collocationList;
403 } 407 }
@@ -559,8 +563,14 @@ Page({ @@ -559,8 +563,14 @@ Page({
559 var str=this.data.key_str.trim(); 563 var str=this.data.key_str.trim();
560 req_data.key_str=str; 564 req_data.key_str=str;
561 } 565 }
  566 +
562 //-- ---调用接口---- 567 //-- ---调用接口----
563 - app.request.promiseGet(url,{data:req_data,isShowLoading:1}).then(res=>{ 568 + app.request.promiseGet(url,{data:req_data,isShowLoading:1}).then(res=>{
  569 +
  570 + console.log("2222");
  571 + console.log(url);
  572 + console.log(res);
  573 +
564 th.data.is_load=0; 574 th.data.is_load=0;
565 if(res.data.code==0 && res.data.data.pageData && res.data.data.pageData.length>0){ 575 if(res.data.code==0 && res.data.data.pageData && res.data.data.pageData.length>0){
566 th.data.currentPage++; 576 th.data.currentPage++;