diff --git a/lib/provider/user_provider.dart b/lib/provider/user_provider.dart index 944514d2..40ecbddd 100644 --- a/lib/provider/user_provider.dart +++ b/lib/provider/user_provider.dart @@ -163,7 +163,7 @@ class UserProvider extends ChangeNotifier { BaseModel model = await NetUtil().post( SAASAPI.user.updateAvatar, params: { - 'fileUrls': [path] + 'imgUrls': [path] }, showMessage: true, );