Commit 72a3dcbe authored by mengcuiguang's avatar mengcuiguang

标记优化

parent 2ab6d2ba
...@@ -103,7 +103,7 @@ public class AppConfig { ...@@ -103,7 +103,7 @@ public class AppConfig {
/** /**
* 首页是显示微转 * 首页是显示微转
*/ */
public static boolean isMainShowWz = true; public static boolean isMainShowWz = false;
/** /**
* 微转金币 * 微转金币
......
...@@ -99,7 +99,8 @@ public class TrackManager { ...@@ -99,7 +99,8 @@ public class TrackManager {
} }
public void firstApiWithUid() { public void firstApiWithUid() {
if (trackPresenter != null) { if (trackPresenter != null
&& !TextUtils.isEmpty(UserManager.getInstance().getUserID())) {
trackPresenter.firstApiWithUid(); trackPresenter.firstApiWithUid();
} }
} }
......
...@@ -210,8 +210,6 @@ public class TrackPresenter extends BaseTrackPresenter { ...@@ -210,8 +210,6 @@ public class TrackPresenter extends BaseTrackPresenter {
JsonObject data = baseResponse.getData(); JsonObject data = baseResponse.getData();
if (data != null) { if (data != null) {
AppConfig.isMainShowWz = data.get("showCallShow").getAsBoolean(); AppConfig.isMainShowWz = data.get("showCallShow").getAsBoolean();
} else {
AppConfig.isMainShowWz = false;
} }
} }
} catch (Exception e) { } catch (Exception e) {
......
...@@ -549,7 +549,7 @@ public interface LoanService { ...@@ -549,7 +549,7 @@ public interface LoanService {
* *
* @return * @return
*/ */
@POST("api//firstApiWithUid") @POST("api/firstApiWithUid")
Observable<BaseResponse<JsonObject>> firstApiWithUid(@Body Map<String, Object> vo); Observable<BaseResponse<JsonObject>> firstApiWithUid(@Body Map<String, Object> vo);
/** /**
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
<com.androidkun.xtablayout.XTabLayout <com.androidkun.xtablayout.XTabLayout
android:id="@+id/xtFragmentKyl" android:id="@+id/xtFragmentKyl"
android:paddingTop="22dp"
android:visibility="invisible" android:visibility="invisible"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment