|
|
@@ -28,6 +28,7 @@ import io.renren.modules.qmjz.service.ScoreStuService;
|
|
|
import io.renren.modules.qmjz.service.TaskManageService;
|
|
|
import io.renren.modules.qmjz.utils.RestUtil;
|
|
|
import io.renren.modules.wechat.config.WxMaConfiguration;
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
import me.chanjar.weixin.common.error.WxErrorException;
|
|
|
import org.apache.commons.collections.MapUtils;
|
|
|
import org.apache.commons.lang.StringUtils;
|
|
|
@@ -68,6 +69,7 @@ import io.renren.modules.qyh.service.TaskConfigService;
|
|
|
* @author lijiahe
|
|
|
* @date 2022-08-15 14:08:08
|
|
|
*/
|
|
|
+@Slf4j
|
|
|
@Service("apiAuthService")
|
|
|
public class ApiAuthServiceImpl implements ApiAuthService {
|
|
|
|
|
|
@@ -340,6 +342,7 @@ public class ApiAuthServiceImpl implements ApiAuthService {
|
|
|
Map<String, String> paramMap = new HashMap<>(2);
|
|
|
paramMap.put("mobile", mobile);
|
|
|
paramMap.put("openId", openId);
|
|
|
+
|
|
|
try {
|
|
|
String resultStr = cn.hutool.http.HttpUtil.post(yicProperties.getServerUrl() + yicProperties.getLoginUrl(), JSONObject.toJSONString(paramMap));
|
|
|
if (ObjectUtil.isNotNull(resultStr)) {
|
|
|
@@ -349,7 +352,7 @@ public class ApiAuthServiceImpl implements ApiAuthService {
|
|
|
}
|
|
|
}
|
|
|
} catch (Exception e) {
|
|
|
- System.out.println("青创赛登录注册失败:" + e);
|
|
|
+ log.error("青创赛登录注册失败:" + e);
|
|
|
return null;
|
|
|
}
|
|
|
return null;
|