|
@@ -8,10 +8,7 @@ import com.sxtvs.open.api.h5template.service.impl.H5TemplateServiceImpl;
|
|
|
import com.sxtvs.open.api.h5template.service.impl.OSSService;
|
|
|
import com.sxtvs.open.core.auth.LoginRequired;
|
|
|
import jakarta.annotation.Resource;
|
|
|
-import org.springframework.web.bind.annotation.PostMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
|
|
|
|
import java.util.HashMap;
|
|
@@ -51,4 +48,10 @@ public class H5OperateController {
|
|
|
h5OperateService.update(h5Operate);
|
|
|
}
|
|
|
|
|
|
+ @GetMapping("delete")
|
|
|
+ @LoginRequired
|
|
|
+ public void delete(@RequestParam("operateId") String operateId){
|
|
|
+ h5OperateService.removeById(operateId);
|
|
|
+ }
|
|
|
+
|
|
|
}
|