diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index f939aa2..f768335 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -22,6 +22,7 @@ android:name="${applicationName}" android:icon="@mipmap/ic_launcher" android:label="智慧后勤" + android:networkSecurityConfig="@xml/network_security_config" android:requestLegacyExternalStorage="true"> + + + stgl.pj.gov.cn + + \ No newline at end of file diff --git a/lib/common/values/constants.dart b/lib/common/values/constants.dart index 059717c..bbbd4d5 100644 --- a/lib/common/values/constants.dart +++ b/lib/common/values/constants.dart @@ -10,9 +10,9 @@ class Constants { static const pwdEncKey = 'pigxpigxpigxpigx'; /// 服务 url - static const apiUrl = 'https://stgl.pj.gov.cn/api'; + // static const apiUrl = 'https://stgl.pj.gov.cn/api'; - // static const apiUrl = 'http://192.168.101.125:9999'; + static const apiUrl = 'http://192.168.101.125:9999'; /// 静态资源 url static const ossUrl = apiUrl;