修改动火作业删除成功后提示bug

liujun-2024-05-23-接口漏洞修复
limingyu 2024-04-02 15:12:13 +08:00
parent 97f1e154f2
commit 123fdb565a
2 changed files with 2 additions and 2 deletions

View File

@ -91,7 +91,7 @@ public class HotWorkApplicationController extends BaseController {
* @throws Exception * @throws Exception
*/ */
@RequestMapping(value="/delete") @RequestMapping(value="/delete")
@RequiresPermissions("hotwork:del") // @RequiresPermissions("hotwork:del")
@ResponseBody @ResponseBody
public Object delete() throws Exception{ public Object delete() throws Exception{
Map<String,String> map = new HashMap<String,String>(); Map<String,String> map = new HashMap<String,String>();

View File

@ -330,7 +330,7 @@ public class HotworkCfdController extends BaseController {
return response; return response;
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
response.put("result", "success"); response.put("result", "fail");
response.put("message", e.getMessage()); response.put("message", e.getMessage());
return response; return response;
} }