Browse Source

Signed-off-by: xiezongxing <xx123456>

xiezongxing 2 years ago
parent
commit
d878fe032f
2 changed files with 3 additions and 6 deletions
  1. 1 1
      pages/intergalShop/goodsDetail.vue
  2. 2 5
      pages/wallet/index.vue

+ 1 - 1
pages/intergalShop/goodsDetail.vue

@@ -303,7 +303,7 @@
 			async getinfo() {
 				// 获取商品详情
 					
-				let data = await this.$api.request('/product/detail','GET',{
+				let data = await this.$api.request('/order/create','GET',{
 					id:this.id
 				});
 				

+ 2 - 5
pages/wallet/index.vue

@@ -189,11 +189,8 @@
 			console.log(menuButton);
 
 			this.pages = page.length,
-				this.menuButton = menuButton,
-
-
-				this.getinfo();
-
+			this.menuButton = menuButton,
+			this.getinfo();
 		},
 		/**
 		 * 生命周期函数--监听页面初次渲染完成