|
|
|
@ -221,12 +221,13 @@ public class LoginServiceImpl implements LoginService {
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public Map<String, String> qyMiniAutoLogin(String code) throws WxErrorException {
|
|
|
|
|
Map<String, String> result = new HashMap<>(3);
|
|
|
|
|
Map<String, String> result = new HashMap<>(4);
|
|
|
|
|
|
|
|
|
|
String cpUserId = qwMailListManageService.getCpUserIdByCode(code);
|
|
|
|
|
result.put("cpUserId",cpUserId);
|
|
|
|
|
Map<String, String> codeInfo = qwMailListManageService.getCpUserIdByCode(code);
|
|
|
|
|
result.put("cpUserId",codeInfo.get("cpUserId"));
|
|
|
|
|
result.put("sessionKey",codeInfo.get("sessionKey"));
|
|
|
|
|
Map<String, Object> selectAccountMap = new HashMap<>();
|
|
|
|
|
selectAccountMap.put("login", cpUserId);
|
|
|
|
|
selectAccountMap.put("login", codeInfo.get("cpUserId"));
|
|
|
|
|
selectAccountMap.put("type", AccountEnum.ACCOUNT_TYPE_QYWX.getType());
|
|
|
|
|
List<PrivilageAccountDO> privilageAccountDOS = privilageAccountDOMapper.selectByMap(selectAccountMap);
|
|
|
|
|
//账号不存在
|
|
|
|
|