yangys
2024-04-01 14f1953b1944b3e53d8312e151902c4695faa2e1
smart-man-boot/src/main/java/com/qianwen/smartman/modules/sync/api/QyWechatApi.java
@@ -245,9 +245,9 @@
            throw new ServiceException(setResultCode(MessageUtils.message("sync.qy.login.invalid.code", new Object[0]), 400));
        }
        if (errCode.intValue() == 60020) {
            throw new ServiceException(setResultCode(MessageUtils.message("sync.qy.ip.trust", new Object[0]) + SystemPropertyUtils.VALUE_SEPARATOR + errMsg, 400));
            throw new ServiceException(setResultCode(MessageUtils.message("sync.qy.ip.trust", new Object[0]) + ":" + errMsg, 400));
        }
        throw new ServiceException(setResultCode(MessageUtils.message("sync.qy.api.error", new Object[0]) + SystemPropertyUtils.VALUE_SEPARATOR + errMsg, 400));
        throw new ServiceException(setResultCode(MessageUtils.message("sync.qy.api.error", new Object[0]) + ":" + errMsg, 400));
    }
    private static IResultCode setResultCode(final String errMsg, final Integer code) {