|
@@ -30,7 +30,7 @@ public class StudentController extends BaseController {
|
|
|
|
|
|
Long userId = null;
|
|
Long userId = null;
|
|
String[] split = rongCloudUserId.split(":");
|
|
String[] split = rongCloudUserId.split(":");
|
|
- if (split.length != 2 || StringUtil.isEmpty(split[0])) {
|
|
|
|
|
|
+ if (split.length == 2 && !StringUtil.isEmpty(split[0])) {
|
|
try {
|
|
try {
|
|
userId = Long.parseLong(split[0]);
|
|
userId = Long.parseLong(split[0]);
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|