21 lines
387 B
JavaScript
21 lines
387 B
JavaScript
import request from '@/sheep/request';
|
|
|
|
const DiyTemplateApi = {
|
|
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; |