...
|
...
|
@@ -33,7 +33,7 @@ Page({ |
|
|
goods_id:id
|
|
|
// goods_id:911
|
|
|
}
|
|
|
app.postk(url, param).then((res) => {
|
|
|
app.post(url, param).then((res) => {
|
|
|
console.log(res,'商品')
|
|
|
if(res.data.length!=undefined){
|
|
|
let data=res.data;
|
...
|
...
|
@@ -98,7 +98,7 @@ Page({ |
|
|
goods_id:that.data.goods_id,
|
|
|
spec_sku_id:that.data.spec_sku_id.join("_")
|
|
|
}
|
|
|
app.postk(url, param).then((res) => {
|
|
|
app.post(url, param).then((res) => {
|
|
|
console.log(res,'购物车数量')
|
|
|
that.setData({
|
|
|
min_goods_price:res.data.goods_price,
|
...
|
...
|
@@ -144,7 +144,7 @@ Page({ |
|
|
getcartnum(){
|
|
|
let that=this;
|
|
|
let url = '/car/bubble'
|
|
|
app.postk(url, {
|
|
|
app.post(url, {
|
|
|
|
|
|
}).then((res) => {
|
|
|
console.log(res,'购物车数量')
|
...
|
...
|
@@ -173,7 +173,7 @@ Page({ |
|
|
type:1,
|
|
|
spec_sku_id:that.data.spec_sku_id.join("_")
|
|
|
}
|
|
|
app.postk(url, params).then((res) => {
|
|
|
app.post(url, params).then((res) => {
|
|
|
that.setData({
|
|
|
"info.shop": Number(that.data.info.shop) + that.data.num,
|
|
|
num: 1
|
...
|
...
|
|