| | |
| | | import com.hdl.photovoltaic.other.HdlLogLogic; |
| | | import com.hdl.photovoltaic.other.HdlResidenceLogic; |
| | | import com.hdl.photovoltaic.ui.bean.HouseInfoBean; |
| | | import com.hdl.photovoltaic.utils.LocalManageUtil; |
| | | import com.hdl.photovoltaic.utils.SharedPreUtils; |
| | | |
| | | import java.util.ArrayList; |
| | |
| | | private String currentAppLanguage; |
| | | |
| | | |
| | | //用户头像 |
| | | private String userImageUrl = "/static/image/user-default-head.png"; |
| | | |
| | | |
| | | /// <summary> |
| | | /// 注册极光ID |
| | | /// </summary> |
| | |
| | | /// </summary> |
| | | public String pushId; |
| | | |
| | | public String getUserImageUrl() { |
| | | return userImageUrl == null ? "/static/image/user-default-head.png" : userImageUrl; |
| | | } |
| | | |
| | | public void setUserImageUrl(String userImageUrl) { |
| | | this.userImageUrl = userImageUrl; |
| | | } |
| | | |
| | | public String getRegistrationID() { |
| | | return registrationID == null ? "" : registrationID; |
| | |
| | | // SharedPreUtils.saveMyDataInfo("UserConfigManage.json", json, HDLApp.getInstance()); |
| | | } |
| | | |
| | | /** |
| | | * true表示是中文 |
| | | * |
| | | * @return true表示是中文 |
| | | */ |
| | | public boolean isZh() { |
| | | return currentAppLanguage.equals(LocalManageUtil.zh); |
| | | } |
| | | |
| | | |
| | | } |