Explorar o código

权限校验bug修复

wuxw %!s(int64=7) %!d(string=hai) anos
pai
achega
bb0bc54abe

+ 1 - 1
Api/src/main/java/com/java110/api/listener/CheckUserHasPrivilegeListener.java

@@ -43,7 +43,7 @@ public class CheckUserHasPrivilegeListener extends AbstractServiceApiDataFlowLis
         AppService service = event.getAppService();
         JSONObject data = dataFlowContext.getReqJson();
         logger.debug("请求信息:{}",JSONObject.toJSONString(dataFlowContext));
-        Assert.hasKeyAndValue(data,"storeId","请求报文中未包含userId节点");
+        Assert.hasKeyAndValue(data,"userId","请求报文中未包含userId节点");
         Assert.hasKeyAndValue(data,"pId","请求报文中未包含pId节点");
         ResponseEntity<String> responseEntity = null;