优化功能菜单的新增接口

This commit is contained in:
季圣华
2022-08-01 00:01:31 +08:00
parent f03902bb74
commit d1a6522fe8

View File

@@ -99,6 +99,8 @@ public class FunctionService {
Function functions = JSONObject.parseObject(obj.toJSONString(), Function.class);
int result=0;
try{
functions.setState(false);
functions.setType("电脑版");
result=functionsMapper.insertSelective(functions);
logService.insertLog("功能",
new StringBuffer(BusinessConstants.LOG_OPERATION_TYPE_ADD).append(functions.getName()).toString(),request);