Commit ad14e234 authored by 梁光意's avatar 梁光意

修改下发接口提示语

parent 6006d6e0
Pipeline #9638 passed with stages
in 1 minute 21 seconds
...@@ -220,7 +220,7 @@ public class VariableServiceImpl implements VariableService { ...@@ -220,7 +220,7 @@ public class VariableServiceImpl implements VariableService {
throw new SysException("访问类型为私有,请传入创建人"); throw new SysException("访问类型为私有,请传入创建人");
} }
if (!currentUser.getUid().equals(sendDTO.getUserId())) { if (!currentUser.getUid().equals(sendDTO.getUserId())) {
throw new SysException("没有访问权限"); throw new SysException("您没有操作权限");
} }
} else if (AccessType.CUSTOM.value.equals(sendDTO.getAccessType())) { } else if (AccessType.CUSTOM.value.equals(sendDTO.getAccessType())) {
if (CollectionUtils.isNotEmpty(sendDTO.getPermissions())) { if (CollectionUtils.isNotEmpty(sendDTO.getPermissions())) {
......
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