|
|
@@ -684,11 +684,7 @@ public class WeChatServiceImpl implements WeChatService {
|
|
|
log.info("获取学生信息失败:{}", re.getStr("errmsg"));
|
|
|
throw BusinessRuntimeException.getInstance("获取认证信息失败");
|
|
|
}
|
|
|
- Boolean isStudent = re.getBool("is_student");
|
|
|
- if (isStudent == null || !isStudent) {
|
|
|
- throw BusinessRuntimeException.getInstance("仅支持大学生用户认证");
|
|
|
- }
|
|
|
- Integer bindStatus = re.getInt("bind_status");
|
|
|
+ Integer bindStatus = Optional.ofNullable(re.getInt("bind_status")).orElse(1);
|
|
|
//绑定状态:
|
|
|
//1-未绑定
|
|
|
//2-审核中
|