21 lines
445 B
JavaScript
21 lines
445 B
JavaScript
|
import request from '@/sheep/request';
|
||
|
|
||
|
const DiyTemplateApi = {
|
||
|
// TODO 芋艿:测试
|
||
|
getUsedDiyTemplate: () => {
|
||
|
return request({
|
||
|
url: '/app-api/promotion/diy-template/used',
|
||
|
method: 'GET',
|
||
|
});
|
||
|
},
|
||
|
getDiyTemplate: (id) => {
|
||
|
return request({
|
||
|
url: '/app-api/promotion/diy-template/get',
|
||
|
method: 'GET',
|
||
|
params: { id }
|
||
|
});
|
||
|
},
|
||
|
};
|
||
|
|
||
|
export default DiyTemplateApi;
|