Commit 2b9610c1 authored by 1037621594's avatar 1037621594 Committed by linlinjava
Browse files

修正购物车修改商品数量的api接口地址 (#255)

* Update index.vue

修复了商品分类无法切换的bug

* Update index.vue

阻止冒泡事件,修复了点击去支付后跳转到支付页面又执行上层列表点击事件跳到订单详情页面

* Update api.js

修正CartUpdate为url地址而不是函数名
parent b8dde207
......@@ -161,7 +161,7 @@ export function cartFastAdd(data) {
const CartUpdate='wx/cart/update'; // 更新购物车的商品
export function cartUpdate(data) {
return request({
url: cartUpdate,
url: CartUpdate,
method: 'post',
data
})
......@@ -437,4 +437,4 @@ export function getList(api, query) {
})
}
export const REFUND_LIST = '';
\ No newline at end of file
export const REFUND_LIST = '';
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment