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) { if (disablePermission == null) {
disablePermission = false; disablePermission = false;
} }
String userId = null; String userId = "";
if (param.get("userId") != null) { if (param.get("userId") != null) {
userId = (String) param.get("userId"); userId = (String) param.get("userId");
} }