Commit 086912d59a6b8d4697489fb46665b0a304ae02e6

Authored by yvan.ni
1 parent 6c9417e3

打日志跟踪

packageA/pages/cart2_ser/cart2_ser.js
... ... @@ -241,7 +241,12 @@ Page({
241 241 var th = this,
242 242 a = getApp().request;
243 243 var gg = th.data.postdata;
244   - var url = "/api/weshop/serviceCard/get/" + oo.stoid + "/" + gg.id
  244 + var url = "/api/weshop/serviceCard/get/" + oo.stoid + "/" + gg.id;
  245 +
  246 +
  247 + console.log('get_buy_goods', gg);
  248 +
  249 +
245 250 //调用商品
246 251 a.get(url, {
247 252 success: function(t) {
... ...
packageA/pages/goodsInfo/goodsInfo.js
... ... @@ -361,6 +361,10 @@ Page({
361 361 if(getApp().globalData.is_dj_pk) th.setData({has_def:1})
362 362  
363 363 var ee=JSON.parse(JSON.stringify(e));
  364 +
  365 + console.log('get_user_store');
  366 + console.log(e);
  367 +
364 368 //--定时器推迟一下--
365 369 setTimeout(function () {
366 370 if(!th.data.data){
... ... @@ -402,6 +406,10 @@ Page({
402 406 e.is_no_dis=ee.is_no_dis;
403 407 appd.pk_store=e;
404 408 that.data.fir_def_store=e;
  409 +
  410 + console.log('get_user_store--2');
  411 + console.log(e);
  412 +
405 413 that.setData({
406 414 def_pick_store: e,
407 415 sto_sele_name: e.pickup_name,
... ... @@ -421,6 +429,11 @@ Page({
421 429  
422 430 } else {
423 431 if (e) {
  432 +
  433 +
  434 + console.log('get_user_store3---');
  435 + console.log(e);
  436 +
424 437 e.distance = null;
425 438 that.data.fir_def_store=e;
426 439 that.setData({
... ... @@ -956,7 +969,7 @@ Page({
956 969 newd['prom_price'] = this.data.data.shop_price;
957 970 };
958 971  
959   - // console.log('newd++++++++', newd);
  972 + console.log('newd++++++++', newd);
960 973 th.buyNow(newd);
961 974 } else {
962 975  
... ...