Commit ad911898 authored by tongzifang's avatar tongzifang

img url

parent 9e1d76bd
...@@ -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});
} }
...@@ -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 '';
} }
......
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