Browse Source

下单接口错误提示

MS-IOHQJGHXZHQD\Administrator 5 months ago
parent
commit
e7d1446006

+ 2 - 2
src/points/productDetails/index.vue

@@ -342,7 +342,7 @@ export default {
       params.userPhone = this.defaultAddress.phone;//用户手机号
       params.userName = this.defaultAddress.userName;//用户名
       params.userAddress = this.defaultAddress.address + this.defaultAddress.atlasAdd;//地图地址+详细地址
-      params.addressId = this.defaultAddress.id;//地址ID
+      //params.addressId = this.defaultAddress.id;//地址ID
       params.productId = this.params.id;
       params.name = this.params.name;
       params.productMainImage = this.params.productMainImage;
@@ -472,7 +472,7 @@ export default {
         } else {
           this.redeemNowBtnDisable = false
           uni.showToast({
-            title: res.data.msg,
+            title: res1.data.msg,
             icon: 'none'
           })
         }

+ 1 - 1
src/points/productDetails/pendingPayment.vue

@@ -303,7 +303,7 @@ export default {
             } else {
                 this.goPayBtnDisable = false
                 uni.showToast({
-                    title: res.data.msg,
+                    title: res1.data.msg,
                     icon: 'none'
                 })
             }