userId为空情况处理

master
kangxuyao 2021-06-28 09:36:36 +08:00
parent a7bbacbd47
commit 515c2b4744
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ public class BaseModule extends BaseApi {
if (disablePermission == null) {
disablePermission = false;
}
String userId = null;
String userId = "";
if (param.get("userId") != null) {
userId = (String) param.get("userId");
}