feat(client): 控制面基址默认 https://api.yanmeiai.com + 移除 Android 明文开关

TDD: 先加守护测试(断言 kApiBaseUrl 走 https 且不含硬编码 IP),确认失败后
再改 api_config.dart 默认值 + 去掉 AndroidManifest 的 usesCleartextTraffic。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013nMthbVEmQquxBRKb9Fj8u
This commit is contained in:
wangjia
2026-07-06 16:37:42 +08:00
parent 9b56e2667b
commit a5aea9438a
3 changed files with 15 additions and 4 deletions
@@ -26,8 +26,7 @@
<application
android:label="穿山甲"
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher"
android:usesCleartextTraffic="true"><!-- 控制面 API 当前为 http(联调),Android 9+ 默认禁明文,需开;生产改 https 后可去掉 -->
android:icon="@mipmap/ic_launcher">
<!-- 主 Activity -->
<activity