修改动火作业删除成功后提示bug
parent
97f1e154f2
commit
123fdb565a
|
@ -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>();
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue