修改动火作业删除成功后提示bug
parent
97f1e154f2
commit
123fdb565a
|
@ -91,7 +91,7 @@ public class HotWorkApplicationController extends BaseController {
|
|||
* @throws Exception
|
||||
*/
|
||||
@RequestMapping(value="/delete")
|
||||
@RequiresPermissions("hotwork:del")
|
||||
// @RequiresPermissions("hotwork:del")
|
||||
@ResponseBody
|
||||
public Object delete() throws Exception{
|
||||
Map<String,String> map = new HashMap<String,String>();
|
||||
|
|
|
@ -330,7 +330,7 @@ public class HotworkCfdController extends BaseController {
|
|||
return response;
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
response.put("result", "success");
|
||||
response.put("result", "fail");
|
||||
response.put("message", e.getMessage());
|
||||
return response;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue