jyy
2021-03-08 1763bd53e00f15407093e0d4b18aa5e63aa69ab6
zq-erp/src/main/java/com/matrix/system/shopXcx/api/WxUserAction.java
@@ -1,6 +1,5 @@
package com.matrix.system.shopXcx.api;
import com.alibaba.fastjson.JSON;
import com.matrix.biz.bean.BizUser;
import com.matrix.biz.dao.BizUserDao;
import com.matrix.biz.service.BizUserService;
@@ -12,6 +11,7 @@
import com.matrix.core.tools.StringUtils;
import com.matrix.core.web.BaseAction;
import com.matrix.system.common.constance.AppConstance;
import com.matrix.system.common.interceptor.HostInterceptor;
import net.sf.json.JSONObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
@@ -42,7 +42,8 @@
   @Autowired
   private BizUserDao bizUserDao;
   @Autowired
   WeChatApiTools weChatApiTools;
@@ -68,7 +69,7 @@
      AjaxResult res = new AjaxResult();
      LogUtil.info("code:{}" + code);
      if (StringUtils.isNotBlank(code)) {
         String requrl = WeChatApiTools.getXcxLoginUrl(code);
         String requrl = weChatApiTools.getXcxLoginUrl(code, HostInterceptor.getCompanyId());
         String reslutData = HttpCurlUtil.sendGetHttp(requrl, null);
         JSONObject json = JSONObject.fromObject(reslutData);
         LogUtil.debug("微信登录获取到登录信息={}", json);