diff --git a/js/my.js b/js/my.js index 7a0e811..10a5054 100644 --- a/js/my.js +++ b/js/my.js @@ -175,8 +175,8 @@ var localAuthType = localStorage.getItem("authType"); $('#expectedProductNum').html(+data.data.expectedProductNum); $('#expectedCouponsNum').html(+data.data.expectedCouponsNum); $('#expectedWangNum').html(+data.data.expectedWangNum); - $('#couponsNum').html(+data.data.alreadyCouponsNum); - $('#productNum').html(+data.data.alreadyProductNum); + $('#couponsNum').html(+data.data.user.couponsNum); + $('#productNum').html(+data.data.user.productNum); $('#wangNum').html(+data.data.user.wangNum); mui.ajax(qlgUrl('app/users/getFavoritesNum'), { diff --git a/js/order_con.js b/js/order_con.js index babe4e3..62808b8 100644 --- a/js/order_con.js +++ b/js/order_con.js @@ -26,7 +26,7 @@ mui.plusReady(function() { if(data.deliveryTime != null) { html += '
发货时间:' + data.deliveryTime + '
' } - if(data.deliveryTime != null) { + if(data.receiveTime != null) { html += '成交时间:' + data.receiveTime + '
' } diff --git a/js/storeout.js b/js/storeout.js index b5e10ea..e4b93f5 100644 --- a/js/storeout.js +++ b/js/storeout.js @@ -37,7 +37,7 @@ mui.plusReady(function() { shopLat=data.lat; shopLng=data.lng; phone=data.phone; - userName=data.loginName; + userName=data.userName; //console.log(shopLng); localStorage.setItem('shopLat', shopLat); localStorage.setItem('shopLng', shopLng); diff --git a/templete/my_help_sale.html b/templete/my_help_sale.html index e294852..ba50a53 100644 --- a/templete/my_help_sale.html +++ b/templete/my_help_sale.html @@ -21,7 +21,7 @@