|
@ -391,11 +391,10 @@ public class WlyyLoginEndpoint extends AbstractEndpoint {
|
|
|
}
|
|
|
} else if ("wxApplets".equals(flag)) {
|
|
|
KeyPair keyPair = (KeyPair) httpSession.getAttribute("privateKey");
|
|
|
String password = com.yihu.jw.security.utils.RSAUtils.decryptBase64(parameters.get("password"), keyPair);
|
|
|
String mobile = com.yihu.jw.security.utils.RSAUtils.decryptBase64(parameters.get("mobile"), keyPair);
|
|
|
//微信小程序登录
|
|
|
parameters.put("grant_type", "wxApplets");
|
|
|
String authCode = parameters.get("authCode");
|
|
|
String mobile = parameters.get("mobile");
|
|
|
String userPhone = "";
|
|
|
if (org.apache.commons.lang3.StringUtils.isNoneBlank(authCode)){
|
|
|
userPhone = wechatService.getUserPhoneByApplets(authCode);
|