Commit a0f6dbbf authored by netyouli's avatar netyouli

切换到正式环境api

parent 85ecb0b0
// baidu yapi // baidu yapi
// const SERVER_API_URL = 'https://yapi.baidu.com/mock/41008'; // const SERVER_API_URL = 'https://yapi.baidu.com/mock/41008';
// const SERVER_API_URL = 'http://101.34.153.228:8083/api';//线上 const SERVER_API_URL = 'http://101.34.153.228:8083/api';//线上
// const SERVER_API_URL = 'http://192.168.110.116:8083/api';//内 // const SERVER_API_URL = 'http://192.168.110.116:8083/api';//内
// const SERVER_API_URL = 'http://192.168.110.12:8083/api';//线上 // const SERVER_API_URL = 'http://192.168.110.12:8083/api';//线上
//http://192.168.110.12:8083/api/doc.html //http://192.168.110.12:8083/api/doc.html
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
// http://192.168.110.127:8083/api/doc.html // http://192.168.110.127:8083/api/doc.html
// http://192.168.110.66:8083/api/doc.html // http://192.168.110.66:8083/api/doc.html
const SERVER_API_URL = 'http://192.168.110.23:8083/api'; // 大黄蜂 // const SERVER_API_URL = 'http://192.168.110.23:8083/api'; // 大黄蜂
// const SERVER_API_URL = 'http://192.168.110.116:8083/api'; // 清 // const SERVER_API_URL = 'http://192.168.110.116:8083/api'; // 清
// http://192.168.110.25:8083/ // http://192.168.110.25:8083/
......
...@@ -108,6 +108,7 @@ class AIDrawImageController extends GetxController { ...@@ -108,6 +108,7 @@ class AIDrawImageController extends GetxController {
uploadImageUrls.clear(); uploadImageUrls.clear();
List<XFile>? images = await ImagePicker().pickMultiImage(); List<XFile>? images = await ImagePicker().pickMultiImage();
final count = images.length; final count = images.length;
if (count == 0) { return; }
if (count <= 1 || count > 5) { if (count <= 1 || count > 5) {
EasyLoading.showError("请选择2-5张图片"); EasyLoading.showError("请选择2-5张图片");
} else { } else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment