2023-11-02 22:47:45 +00:00
|
|
|
import request from '@/sheep/request';
|
|
|
|
|
2023-12-21 09:58:15 +00:00
|
|
|
const DiyTemplateApi = {
|
2024-01-04 14:22:37 +00:00
|
|
|
getUsedDiyTemplate: () => {
|
|
|
|
return request({
|
|
|
|
url: '/app-api/promotion/diy-template/used',
|
|
|
|
method: 'GET',
|
|
|
|
});
|
|
|
|
},
|
2023-12-21 09:58:15 +00:00
|
|
|
getDiyTemplate: (id) => {
|
|
|
|
return request({
|
|
|
|
url: '/app-api/promotion/diy-template/get',
|
|
|
|
method: 'GET',
|
|
|
|
params: {
|
|
|
|
id
|
|
|
|
}
|
|
|
|
});
|
|
|
|
},
|
2023-11-02 22:47:45 +00:00
|
|
|
};
|
2023-12-07 13:25:24 +00:00
|
|
|
|
2023-12-21 09:58:15 +00:00
|
|
|
export default DiyTemplateApi;
|