修改增加部分api
This commit is contained in:
parent
2b9aacdf73
commit
f700096359
|
|
@ -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 */
|
||||
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) {
|
||||
|
|
|
|||
|
|
@ -727,7 +727,7 @@ export function $hasPermission(params) {
|
|||
url: '/api/tbShopPermission/hasPermission',
|
||||
method: "get",
|
||||
params:{
|
||||
shopId: uni.getStorageSync("shopId"),
|
||||
userId: uni.getStorageSync("shopUserId"),
|
||||
...params
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue