首页
This commit is contained in:
@@ -3,7 +3,7 @@ const debug = process.env.NODE_ENV == 'development' ? true : false;
|
||||
const proxyApi = "/api"
|
||||
// #endif
|
||||
// #ifdef MP-WEIXIN || APP
|
||||
const proxyApi = 'https://cashier.sxczgkj.cn/cashierService' // 线上
|
||||
const proxyApi = 'http://101.37.12.135:9889/cashierService' // 线上
|
||||
// #endif
|
||||
|
||||
// #ifdef H5
|
||||
|
||||
@@ -202,7 +202,8 @@ function get(url, data, toast = true, type = 1) {
|
||||
return request({
|
||||
url,
|
||||
data,
|
||||
toast
|
||||
toast,
|
||||
type
|
||||
})
|
||||
}
|
||||
|
||||
@@ -221,7 +222,8 @@ function post(url, data, toast = true, method = 'POST', type = 1) {
|
||||
url,
|
||||
method,
|
||||
data,
|
||||
toast
|
||||
toast,
|
||||
type
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user