|
|
@@ -5,6 +5,7 @@ import com.sckw.core.web.constant.HttpStatus;
|
|
|
import com.sckw.core.web.response.HttpResult;
|
|
|
import com.sckw.system.model.KwsEnterprise;
|
|
|
import com.sckw.system.model.vo.req.*;
|
|
|
+import com.sckw.system.model.vo.res.IdResVo;
|
|
|
import com.sckw.system.service.KwsEnterpriseService;
|
|
|
import jakarta.validation.Valid;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
@@ -145,8 +146,8 @@ public class KwsEnterpriseController {
|
|
|
* @date 2023/06/02
|
|
|
**/
|
|
|
@PostMapping("/dels")
|
|
|
- public HttpResult del(@RequestParam String ids) throws SystemException {
|
|
|
- kwsEntService.deleteByKey(ids);
|
|
|
+ public HttpResult del(@RequestBody IdReqVo reqVo) throws SystemException {
|
|
|
+ kwsEntService.deleteByKey(reqVo.getIds());
|
|
|
return HttpResult.ok();
|
|
|
}
|
|
|
|