首页动态栏目修改

This commit is contained in:
itgaojian 2023-03-16 15:54:32 +08:00
parent 4296f7679b
commit c6f9e513b6
5 changed files with 9 additions and 3 deletions

View File

@ -9,11 +9,13 @@ import com.sucstepsoft.cm_utils.constant.PathConfig;
*/
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 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 BASE_URL = BASE_SYSTEM_IP;

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 77 KiB

After

Width:  |  Height:  |  Size: 443 KiB

View File

@ -210,6 +210,10 @@ public class MainActivity extends BaseActivity {
doCheckPermission();
checkAppVersion();
getUserInfo();
if (!TextUtils.isEmpty(UserLgUtils.getUserId())) {
String params = mActivity.getResources().getString(R.string.big_data_str, "USER", UserLgUtils.getUserId(), "");
bigDataRead(params);
}
}

View File

@ -116,7 +116,7 @@ public interface HomeApi {
* 首页动态列表
*/
@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();
/**