对商城的进一步适配

This commit is contained in:
2022-05-09 17:18:05 +08:00
parent 05fdb1d9e7
commit 5c2091ddce
51 changed files with 267 additions and 98 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ import request from '@/utils/request'
export function add(data, id) {
return request({
url: `api/yxStoreProductRule/save/${id}`,
url: `/api/yxStoreProductRule/save/${id}`,
method: 'post',
data
})
@@ -26,7 +26,7 @@ export function edit(data) {
export function info (id) {
return request({
url: `api/yxStoreProductRule/rule/${id}`,
url: `/bxg/api/yxStoreProductRule/rule/${id}`,
method: 'get'
});
}
+1 -1
View File
@@ -2,7 +2,7 @@ import request from '@/utils/request'
export function add(data,id) {
return request({
url: `api/yxShippingTemplates/save/${id}`,
url: `/bxg/api/yxShippingTemplates/save/${id}`,
method: 'post',
data
})
+1
View File
@@ -9,6 +9,7 @@ export function add(data) {
}
export function get() {
console.log(123);
return request({
url: '/bxg/api/yxSystemStore',
method: 'get'