Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qmsd-flutter-user-feedback
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PublicSource
qmsd-flutter-user-feedback
Commits
ad911898
Commit
ad911898
authored
Apr 10, 2023
by
tongzifang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
img url
parent
9e1d76bd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
user_feedback_client.dart
lib/request/user_feedback_client.dart
+1
-1
user_feedback_page.dart
lib/user_feedback_page.dart
+1
-1
No files found.
lib/request/user_feedback_client.dart
View file @
ad911898
...
@@ -20,5 +20,5 @@ abstract class UserFeedbackClient {
...
@@ -20,5 +20,5 @@ abstract class UserFeedbackClient {
@Field
(
'type'
)
int
type
,
@Field
(
'type'
)
int
type
,
@Field
(
'content'
)
String
content
,
@Field
(
'content'
)
String
content
,
@Field
(
'pictures'
)
List
<
String
>
pictures
,
@Field
(
'pictures'
)
List
<
String
>
pictures
,
{
@Field
(
'source'
)
int
source
=
1
});
{
@Field
(
'source'
)
int
source
=
2
});
}
}
lib/user_feedback_page.dart
View file @
ad911898
...
@@ -391,7 +391,7 @@ class _UserFeedBackPageState extends State<UserFeedBackPage> {
...
@@ -391,7 +391,7 @@ class _UserFeedBackPageState extends State<UserFeedBackPage> {
var
file
=
File
(
locFile
.
path
);
var
file
=
File
(
locFile
.
path
);
CommonUpImgEntity
model
=
await
CommonClient
().
commonUpFile
(
file
);
CommonUpImgEntity
model
=
await
CommonClient
().
commonUpFile
(
file
);
if
(
model
.
status
==
true
)
{
if
(
model
.
status
==
true
)
{
return
model
.
data
?.
pathName
??
''
;
return
model
.
data
?.
url
??
''
;
}
else
{
}
else
{
return
''
;
return
''
;
}
}
...
...
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