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