Files
rlz/Android接口配置快速参考.txt
2026-01-26 15:02:59 +08:00

38 lines
1007 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
========================================
Android应用接口配置 - 快速参考
========================================
一、服务器地址
-------------
公网地址: http://101.43.95.130:8039
二、已修改的文件
---------------
1. peizhen/app/src/main/java/com/ruilaizi/service/okgonet/HttpConstants.java
URiBase = "http://101.43.95.130:8039"
2. peizhen/app/src/main/java/com/ruilaizi/service/network/http/MyApi.java
URiBase = "http://101.43.95.130:8039"
三、配置检查清单
---------------
✓ HTTP地址已配置
✓ 网络安全配置已允许HTTP (network_security_config.xml)
✓ INTERNET权限已配置 (AndroidManifest.xml)
✓ networkSecurityConfig已引用
四、编译运行
-----------
1. Android Studio打开peizhen项目
2. Sync Gradle
3. Build → Make Project
4. Run应用
5. 测试登录功能验证接口连接
五、验证方法
-----------
查看Logcat中的网络请求确认URL为:
http://101.43.95.130:8039/...
========================================