From 5ca2b601848c62607d88fee5afdae6af80f6eea7 Mon Sep 17 00:00:00 2001
From: mac <user@users-MacBook-Pro.local>
Date: 星期三, 20 三月 2024 16:12:26 +0800
Subject: [PATCH] 2024年03月20日16:12:17

---
 app/src/main/java/com/hdl/photovoltaic/other/HdlAccountLogic.java |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/app/src/main/java/com/hdl/photovoltaic/other/HdlAccountLogic.java b/app/src/main/java/com/hdl/photovoltaic/other/HdlAccountLogic.java
index 927a8b1..747a457 100644
--- a/app/src/main/java/com/hdl/photovoltaic/other/HdlAccountLogic.java
+++ b/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 鎵嬫満鍙凤紙缁戝畾鎵嬫満鍙穖emberEmail鍙傛暟浼犵┖锛�
-     * @param memberEmail 閭锛堢粦瀹氶偖绠眒emberPhone鍙傛暟浼犵┖锛�
+     * @param memberPhone 鎵嬫満鍙凤紙鏈粦瀹氭墜鏈哄彿鍙傛暟浼爊ull锛�
+     * @param memberEmail 閭锛堟湭缁戝畾閭鍙傛暟浼爊ull锛�
      * @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);//楠岃瘉鐮�

--
Gitblit v1.8.0