mac
2023-12-27 5df76d441a853b1a5d2dff018c01327eb3a717b3
HDLLinkPMSdk/src/main/java/com/hdl/linkpm/sdk/user/controller/HDLPMUserController.java
@@ -60,8 +60,14 @@
     * @param callBack
     * @return https://nearest.hdlcontrol.com/smart-footstone/region/regionByUserAccount
     */
    public Disposable regionByAccount(String account, IRegionByAccountCallBack callBack) {
    public Disposable regionByAccount(boolean isBooleanB, String account, IRegionByAccountCallBack callBack) {
        String requestUrl = HDLLinkPMSdk.getInitUrl() + HDLCloudUserApi.POST_RegionByAccount;
        if (!isBooleanB) {
            requestUrl = HDLLinkPMSdk.getInitUrl() + HDLCloudUserApi.C_POST_RegionByAccount;
        }
        String finalRequestUrl = requestUrl;
        return HxHttp.builder()
                .url(requestUrl)
                .params("account", account)
@@ -77,7 +83,7 @@
                    @Override
                    public void onFailure(HDLException e) {
                        HDLExceptionSubmitUtils.submit(requestUrl, account, e);
                        HDLExceptionSubmitUtils.submit(finalRequestUrl, account, e);
                        if (callBack != null) {
                            callBack.onFailure(e);
                        }