|
|
@ -610,8 +610,18 @@ public class ThirdLoginServiceImpl implements ThirdLoginService, ResultDataResol |
|
|
|
String appId = formDTO.getAppId(); |
|
|
|
String userAccount = formDTO.getUserAccount(); |
|
|
|
String password = formDTO.getPassword(); |
|
|
|
//{"code":0,"msg":"success","internalMsg":"","data":[{"rootAgencyId":"53613e1c5de6ed473467f0159a10b135","rootAgencyName":"平阴县","customerId":"6f203e30de1a65aab7e69c058826cd80","customerName":"平音"}]}
|
|
|
|
if ("wx2b75d556ba867750".equals(appId)){ |
|
|
|
redisUtils.get("epmet:gov:py:staff:userAccount"); |
|
|
|
if("18700011111".equals(userAccount)){ |
|
|
|
if ("Py011111".equals(password)){ |
|
|
|
throw new RenException(EpmetErrorCode.PASSWORD_ERROR.getCode()); |
|
|
|
} |
|
|
|
String result = "[{\"rootAgencyId\":\"53613e1c5de6ed473467f0159a10b135\",\"rootAgencyName\":\"平阴县\",\"customerId\":\"6f203e30de1a65aab7e69c058826cd80\",\"customerName\":\"平音\"}]"; |
|
|
|
return JSON.parseArray(result,StaffOrgsResultDTO.class); |
|
|
|
} |
|
|
|
if (userAccount.startsWith("187000111")){ |
|
|
|
throw new EpmetException(EpmetErrorCode.GOV_STAFF_ACCOUNT_NOT_EXISTS.getCode()); |
|
|
|
} |
|
|
|
} |
|
|
|
//{"isNovice":false,"mobile":"","userAccount":"18700011111","password":"Py011111","appId":"wx2b75d556ba867750"}
|
|
|
|
|
|
|
|