north 8 years ago
parent
commit
f351e7d0b8
2 changed files with 4 additions and 3 deletions
  1. 0 0
      www/vue/dist/static/js/app.js
  2. 4 3
      www/vue/src/components/product.vue

File diff suppressed because it is too large
+ 0 - 0
www/vue/dist/static/js/app.js


+ 4 - 3
www/vue/src/components/product.vue

@@ -55,7 +55,8 @@
           product_id: '57e3a5a49f5160c9048b457c', // 产品ID
           count: '1' // 产品数量
         }])
-        let coupons = qs.stringify({0:'5836a1979f5160a7048b5a51'})
+        //  let coupons = qs.stringify({0: '5836a1979f5160a7048b5a51'})
+        let coupons = JSON.stringify({0: '594b6a54fb48a7c7568b45d2'})
 
         console.log(productParamJson)
         let extraJson = ''
@@ -87,8 +88,8 @@
           user_id: config.userId,
           address_id: addressId,
           station: '57db39709f5160bb048b456a',
-          coupons: '5836a1979f5160a7048b5a51',
-          counts: coupons,
+          coupons: coupons,
+          counts: 1,
           extra: extraJson
         }
         config.orderInfo = tmp

Some files were not shown because too many files changed in this diff