✨ env:后端的请求地址,调整到 env 里
This commit is contained in:
@@ -3,7 +3,7 @@ import request from '@/sheep/request';
|
||||
const DiyPageApi = {
|
||||
getDiyPage: (id) => {
|
||||
return request({
|
||||
url: '/app-api/promotion/diy-page/get',
|
||||
url: '/promotion/diy-page/get',
|
||||
method: 'GET',
|
||||
params: {
|
||||
id
|
||||
|
||||
@@ -3,13 +3,13 @@ import request from '@/sheep/request';
|
||||
const DiyTemplateApi = {
|
||||
getUsedDiyTemplate: () => {
|
||||
return request({
|
||||
url: '/app-api/promotion/diy-template/used',
|
||||
url: '/promotion/diy-template/used',
|
||||
method: 'GET',
|
||||
});
|
||||
},
|
||||
getDiyTemplate: (id) => {
|
||||
return request({
|
||||
url: '/app-api/promotion/diy-template/get',
|
||||
url: '/promotion/diy-template/get',
|
||||
method: 'GET',
|
||||
params: {
|
||||
id
|
||||
|
||||
Reference in New Issue
Block a user