更换正式环境,测试修改
This commit is contained in:
@@ -139,6 +139,33 @@ export function productReportDamage(data, urlType = 'product') {
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 商品商品-修改库存
|
||||
* @returns
|
||||
*/
|
||||
export function productModifyStock(data, urlType = 'product') {
|
||||
return request({
|
||||
url: `${urlType}/admin/product/modifyStock`,
|
||||
method: "POST",
|
||||
data: {
|
||||
...data
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 商品-库存变动记录
|
||||
* @returns
|
||||
*/
|
||||
export function productStockFlow(data, urlType = 'product') {
|
||||
return request({
|
||||
url: `${urlType}/admin/product/stockFlow`,
|
||||
method: "GET",
|
||||
data: {
|
||||
...data
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// 商品分类----------------------------------------------------------------------------------------------------
|
||||
/**
|
||||
|
||||
@@ -22,13 +22,14 @@ import { reject } from 'lodash';
|
||||
let baseUrl = '/api/'
|
||||
// #endif
|
||||
// #ifndef H5
|
||||
let baseUrl = 'https://tapi.cashier.sxczgkj.cn/'
|
||||
// #endif
|
||||
// let baseUrl = 'https://tapi.cashier.sxczgkj.cn/'
|
||||
//预发布
|
||||
// let baseUrl = 'https://pre-cashieradmin.sxczgkj.cn'
|
||||
|
||||
//正式
|
||||
// let baseUrl = 'https://cashieradmin.sxczgkj.cn'
|
||||
let baseUrl = 'https://cashier.sxczgkj.com/'
|
||||
// #endif
|
||||
|
||||
|
||||
const loadingShowTime = 200
|
||||
|
||||
|
||||
Reference in New Issue
Block a user