|
@@ -58,6 +58,10 @@ export const http = ResourceModule.http({
|
|
return this.request(`/h5/delete/${id}`, { method: "POST" });
|
|
return this.request(`/h5/delete/${id}`, { method: "POST" });
|
|
},
|
|
},
|
|
|
|
|
|
|
|
+ copyPromotion(id: string) {
|
|
|
|
+ return this.request(`/h5/copy/${id}`, { method: "POST" });
|
|
|
|
+ },
|
|
|
|
+
|
|
publishPromotion(id: string, publish: boolean) {
|
|
publishPromotion(id: string, publish: boolean) {
|
|
return this.request("/sys/h5/publish", {
|
|
return this.request("/sys/h5/publish", {
|
|
method: "POST",
|
|
method: "POST",
|