更新增加部分api请求
This commit is contained in:
@@ -47,7 +47,7 @@ export function gettbConsInfo(params) {
|
|||||||
// params
|
// params
|
||||||
// });
|
// });
|
||||||
return request({
|
return request({
|
||||||
url: "/api/viewConInfoFlow",
|
url: "/api/tbConsInfo",
|
||||||
method: "get",
|
method: "get",
|
||||||
params: {
|
params: {
|
||||||
...params,
|
...params,
|
||||||
|
|||||||
@@ -133,4 +133,8 @@ export function $tbProskuConV2(data) {
|
|||||||
export function $updateProductData(data) {
|
export function $updateProductData(data) {
|
||||||
return http.req('/api/stock/updateProductData', data, 'POST')
|
return http.req('/api/stock/updateProductData', data, 'POST')
|
||||||
}
|
}
|
||||||
|
/* 商品报损 */
|
||||||
|
export function $frmLoss(data) {
|
||||||
|
return http.req('/api/tbProductStockDetail/frmLoss', {...data,shopId:uni.getStorageSync('shopId')}, 'POST')
|
||||||
|
}
|
||||||
// v2 api end
|
// v2 api end
|
||||||
@@ -15,7 +15,12 @@ import {
|
|||||||
} from '@/commons/utils/encryptUtil.js'
|
} from '@/commons/utils/encryptUtil.js'
|
||||||
import infoBox from "@/commons/utils/infoBox.js"
|
import infoBox from "@/commons/utils/infoBox.js"
|
||||||
import go from '@/commons/utils/go.js';
|
import go from '@/commons/utils/go.js';
|
||||||
|
// 测试服
|
||||||
let baseUrl = 'https://admintestpapi.sxczgkj.cn'
|
let baseUrl = 'https://admintestpapi.sxczgkj.cn'
|
||||||
|
// 王伟本地测
|
||||||
|
// let baseUrl = '/ww'
|
||||||
|
// let baseUrl = 'http://192.168.1.15:8000'
|
||||||
|
|
||||||
// 多少 ms 以内, 不提示loading
|
// 多少 ms 以内, 不提示loading
|
||||||
const loadingShowTime = 200
|
const loadingShowTime = 200
|
||||||
|
|
||||||
|
|||||||
@@ -91,3 +91,18 @@ export function returnGpOrder(data) {
|
|||||||
data
|
data
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 店铺订单支付获取链接
|
||||||
|
*/
|
||||||
|
export function $getOrderPayUrl(data) {
|
||||||
|
return request({
|
||||||
|
url: `/api/shopPayApi/getOrderPayUrl`,
|
||||||
|
method: "get",
|
||||||
|
data: {
|
||||||
|
shopId: uni.getStorageSync('shopId'),
|
||||||
|
...data
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user