| 123456789101112131415161718192021222324252627282930313233343536373839 |
- import request from '@/sheep/request';
- const DiyApi = {
- getUsedDiyTemplate: () => {
- return request({
- url: '/promotion/diy-template/used',
- method: 'GET',
- custom: {
- showError: false,
- showLoading: false,
- },
- });
- },
- getDiyTemplate: (id) => {
- return request({
- url: '/promotion/diy-template/get',
- method: 'GET',
- params: {
- id
- },
- custom: {
- showError: false,
- showLoading: false,
- },
- });
- },
- getDiyPage: (id) => {
- return request({
- url: '/promotion/diy-page/get',
- method: 'GET',
- params: {
- id
- }
- });
- },
- };
- export default DiyApi;
|