修改增加部分api
This commit is contained in:
@@ -319,3 +319,15 @@ export function $changeUseType(data) {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 退款
|
||||||
|
export function $returnOrder(data) {
|
||||||
|
return request({
|
||||||
|
url: '/api/place/returnOrder',
|
||||||
|
method: "post",
|
||||||
|
data:{
|
||||||
|
shopId: uni.getStorageSync("shopId"),
|
||||||
|
...data
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
@@ -122,7 +122,7 @@ export const $productSpec=new $API('/api/tbProductSpec',http.req)
|
|||||||
|
|
||||||
/* 商品列表 V2 */
|
/* 商品列表 V2 */
|
||||||
export function $tbProductV2(data) {
|
export function $tbProductV2(data) {
|
||||||
return http.req('/api/tbProduct/list/v2', {...data,shopId:uni.getStorageSync('shopId')}, 'GET')
|
return http.req('/api/tbProduct/list/v2', {...data,shopId:uni.getStorageSync('shopId')}, 'post')
|
||||||
}
|
}
|
||||||
/* 耗材与商品绑定关系 */
|
/* 耗材与商品绑定关系 */
|
||||||
export function $tbProskuConV2(data) {
|
export function $tbProskuConV2(data) {
|
||||||
|
|||||||
@@ -727,7 +727,7 @@ export function $hasPermission(params) {
|
|||||||
url: '/api/tbShopPermission/hasPermission',
|
url: '/api/tbShopPermission/hasPermission',
|
||||||
method: "get",
|
method: "get",
|
||||||
params:{
|
params:{
|
||||||
shopId: uni.getStorageSync("shopId"),
|
userId: uni.getStorageSync("shopUserId"),
|
||||||
...params
|
...params
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user