debug
This commit is contained in:
parent
d2af8968da
commit
8027180040
|
|
@ -170,11 +170,14 @@ public class LoginServiceImpl implements ILoginService {
|
|||
@Transactional
|
||||
public LoginTokenVo mnpLogin(String code, Integer terminal) {
|
||||
try {
|
||||
RedisUtils.set("mnpLogin111111", "mnpLoginmnpLoginmnpLogi111111nmnpLogin");
|
||||
WxMaService wxMaService = WxMnpDriver.mnp();
|
||||
WxMaJscode2SessionResult sessionResult = wxMaService.getUserService().getSessionInfo(code);
|
||||
RedisUtils.set("mnpLogin", "mnpLoginmnpLoginmnpLoginmnpLogin");
|
||||
String openId = sessionResult.getOpenid();
|
||||
String uniId = sessionResult.getUnionid();
|
||||
String unionId = uniId == null ? "0" : uniId;
|
||||
RedisUtils.set("mnpLogin2222", "uniId:" + uniId + "; openId: " + openId);
|
||||
|
||||
return this.__wxLoginHandle(openId, unionId, "", "", terminal);
|
||||
} catch (WxErrorException e) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue