|  |  | 
 |  |  | import com.doumee.service.business.impl.hksync.ferp.HkSyncOrgUserToHKServiceImpl; | 
 |  |  | import com.doumee.service.system.SystemLoginService; | 
 |  |  | import com.github.yulichang.wrapper.MPJLambdaWrapper; | 
 |  |  | import lombok.extern.slf4j.Slf4j; | 
 |  |  | import org.apache.commons.collections.CollectionUtils; | 
 |  |  | import org.apache.commons.lang3.RandomStringUtils; | 
 |  |  | import org.apache.commons.lang3.StringUtils; | 
 |  |  | 
 |  |  |  * @date 2023/11/30 15:33 | 
 |  |  |  */ | 
 |  |  | @Service | 
 |  |  | @Slf4j | 
 |  |  | public class MemberServiceImpl implements MemberService { | 
 |  |  |  | 
 |  |  |     @Autowired | 
 |  |  | 
 |  |  |         String appSecret = systemDictDataBiz.queryByCode(Constants.WX_PLATFORM,Constants.WX_PLATFORM_SECRET).getCode(); | 
 |  |  |         String getTokenUrl = WXConstant.GET_USER_INFO_URL.replace("CODE", code) | 
 |  |  |                 .replace("APPID", appId).replace("SECRET", appSecret); | 
 |  |  |         log.error("=========================getTokenUrl=====================" + getTokenUrl); | 
 |  |  |         JSONObject tokenJson = JSONObject.parseObject(HttpsUtil.get(getTokenUrl,true)); | 
 |  |  |         log.error("=========================tokenJson=====================" + tokenJson); | 
 |  |  |         String openId = ""; | 
 |  |  |         WxAuthorizeVO wxAuthorizeVO = new WxAuthorizeVO(); | 
 |  |  |         if(Objects.nonNull(tokenJson)&&!Objects.isNull(tokenJson.get("access_token"))){ |