mac
2024-03-25 a67980d23f9e2d27345fd12e7a889f4cc52695f7
app/src/main/java/com/hdl/photovoltaic/other/HdlAccountLogic.java
@@ -54,7 +54,8 @@
     * @param i_account 账号
     */
    public void regionByAccount(String i_account, CloudCallBeak<HDLUserRegionBean> cloudCallBeak) {
        HDLLinkPMUser.getInstance().regionByAccount(i_account, new IRegionByAccountCallBack() {
        boolean isBooleanB = UserConfigManage.getInstance().isBAccount();
        HDLLinkPMUser.getInstance().regionByAccount(isBooleanB, i_account, new IRegionByAccountCallBack() {
            @Override
            public void onSuccess(HDLUserRegionBean regionBean) {
                if (cloudCallBeak != null) {
@@ -520,8 +521,8 @@
    /**
     * 绑定认证(手机/邮箱)(C端账号)
     *
     * @param memberPhone 手机号(绑定手机号memberEmail参数传空)
     * @param memberEmail 邮箱(绑定邮箱memberPhone参数传空)
     * @param memberPhone 手机号(未绑定手机号参数传null)
     * @param memberEmail 邮箱(未绑定邮箱参数传null)
     * @param verifyCode  验证码
     */
    public void bindingAccount_C(String memberPhone, String memberEmail, String verifyCode, CloudCallBeak<Boolean> cloudCallBeak) {
@@ -530,7 +531,7 @@
        if (!TextUtils.isEmpty(memberPhone)) {
            json.addProperty("memberPhone", memberPhone);//手机号
        }
        if (!TextUtils.isEmpty(memberPhone)) {
        if (!TextUtils.isEmpty(memberEmail)) {
            json.addProperty("memberEmail", memberEmail);//邮箱
        }
        json.addProperty("verifyCode", verifyCode);//验证码