Selaa lähdekoodia

checkAuthGetObject 2

shiqian 4 vuotta sitten
vanhempi
commit
19fa162afb

+ 2 - 2
boman-web-core/src/main/java/com/boman/web/core/service/TableServiceCmdService.java

@@ -302,8 +302,8 @@ public class TableServiceCmdService {
         }
 
         // 权限
-        if (checkAuthGetObject(genTable, id)) {
-            throw new NoSuchFunctionException("此模块:[" + genTable.getFunctionName() + "], 无根据id获取功能");
+        if (checkAuthGetObject (genTable, id)) {
+            throw new NoSuchFunctionException("不好意思,您无权限操作该条数据");
         }
 
         // 默认查所有字段,不支持自定义