Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
ChatGPT
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
关振斌
ChatGPT
Commits
a0f6dbbf
Commit
a0f6dbbf
authored
Jul 07, 2023
by
netyouli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
切换到正式环境api
parent
85ecb0b0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
lib/common/values/server.dart
lib/common/values/server.dart
+2
-2
lib/pages/ai-draw-image/controller.dart
lib/pages/ai-draw-image/controller.dart
+1
-0
No files found.
lib/common/values/server.dart
View file @
a0f6dbbf
// 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/
...
...
lib/pages/ai-draw-image/controller.dart
View file @
a0f6dbbf
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment