Commit 94b02d89 authored by 赵啸非's avatar 赵啸非

修改注册接口

parent c6e89539
...@@ -181,4 +181,10 @@ public class DeviceModuleDistributeController extends BaseCRUDJsonBodyMappingCon ...@@ -181,4 +181,10 @@ public class DeviceModuleDistributeController extends BaseCRUDJsonBodyMappingCon
// entity.setFilePath(temp); // entity.setFilePath(temp);
return super.viewAfter(id, model, entity, context); return super.viewAfter(id, model, entity, context);
} }
@Override
protected void deleteBefore(Long[] ids, Context context) throws AppException {
super.deleteBefore(ids, context);
throw new AppException("正在使用的资源不能删除,请联系管理员后操作!");
}
} }
\ No newline at end of file
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
}, },
"test1": { "test1": {
"baseUrl": "http://8.136.255.30:11078/m", "baseUrl": "http://8.136.255.30:11091/m",
"baseLogin": "http://192.168.0.98:11078/base" "baseLogin": "http://192.168.0.98:11078/base"
}, },
"portal": { "portal": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment