更换正式环境,测试修改

This commit is contained in:
GaoHao
2025-03-25 21:49:33 +08:00
parent f01bc839f7
commit 7fe5d028e4
71 changed files with 930 additions and 2016 deletions

View File

@@ -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
}
})
}
// 商品分类----------------------------------------------------------------------------------------------------
/**

View File

@@ -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