首页动态栏目修改
This commit is contained in:
parent
4296f7679b
commit
c6f9e513b6
@ -9,11 +9,13 @@ import com.sucstepsoft.cm_utils.constant.PathConfig;
|
|||||||
*/
|
*/
|
||||||
public class BaseUrlApi {
|
public class BaseUrlApi {
|
||||||
|
|
||||||
public static final String IP_URL = "http://v3.xzszwhy.cn/";/* 测试IP */
|
// public static final String IP_URL = "http://v3.xzszwhy.cn/";/* 测试IP */
|
||||||
|
public static final String IP_URL = "https://www.xzszwhy.cn/";/* 测试IP */
|
||||||
// public static final String IP_URL = "http://192.168.0.120:8081/";/* 测试IP */
|
// public static final String IP_URL = "http://192.168.0.120:8081/";/* 测试IP */
|
||||||
|
|
||||||
// public static final String BASE_SYSTEM_IP = "http://192.168.0.120:8081/xzszwhy/";/*测试IP*/
|
// public static final String BASE_SYSTEM_IP = "http://192.168.0.120:8081/xzszwhy/";/*测试IP*/
|
||||||
public static final String BASE_SYSTEM_IP = "http://v3.xzszwhy.cn/xzszwhy/";/*正式IP*/
|
// public static final String BASE_SYSTEM_IP = "http://v3.xzszwhy.cn/xzszwhy/";/*正式IP*/
|
||||||
|
public static final String BASE_SYSTEM_IP = "https://www.xzszwhy.cn/xzszwhy/";/*正式IP*/
|
||||||
|
|
||||||
public static final String PROJECT_NAME = "app/";
|
public static final String PROJECT_NAME = "app/";
|
||||||
public static final String BASE_URL = BASE_SYSTEM_IP;
|
public static final String BASE_URL = BASE_SYSTEM_IP;
|
||||||
|
BIN
cm_utils/src/main/res/drawable-xhdpi/ic_img_default.png
Executable file → Normal file
BIN
cm_utils/src/main/res/drawable-xhdpi/ic_img_default.png
Executable file → Normal file
Binary file not shown.
Before Width: | Height: | Size: 158 KiB After Width: | Height: | Size: 443 KiB |
BIN
cm_utils/src/main/res/drawable-xhdpi/ic_img_default_banner.png
Executable file → Normal file
BIN
cm_utils/src/main/res/drawable-xhdpi/ic_img_default_banner.png
Executable file → Normal file
Binary file not shown.
Before Width: | Height: | Size: 77 KiB After Width: | Height: | Size: 443 KiB |
@ -210,6 +210,10 @@ public class MainActivity extends BaseActivity {
|
|||||||
doCheckPermission();
|
doCheckPermission();
|
||||||
checkAppVersion();
|
checkAppVersion();
|
||||||
getUserInfo();
|
getUserInfo();
|
||||||
|
if (!TextUtils.isEmpty(UserLgUtils.getUserId())) {
|
||||||
|
String params = mActivity.getResources().getString(R.string.big_data_str, "USER", UserLgUtils.getUserId(), "");
|
||||||
|
bigDataRead(params);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -116,7 +116,7 @@ public interface HomeApi {
|
|||||||
* 首页动态列表
|
* 首页动态列表
|
||||||
*/
|
*/
|
||||||
@Headers({"base_url_name:news", "Content-Type:application/json", "Accept:application/json", "need_area:true"})
|
@Headers({"base_url_name:news", "Content-Type:application/json", "Accept:application/json", "need_area:true"})
|
||||||
@GET("app/newsdirectories/list/areaplate/release")
|
@GET("app/newsdirectories/listsub/areaauth/release/0")
|
||||||
Observable<List<NewsTabBean>> getMainNewsTab();
|
Observable<List<NewsTabBean>> getMainNewsTab();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user