Skip to content

Commit 7a4c69b

Browse files
authored
Merge pull request CarGuo#264 from ufolux/patch-1
solve the problem that api 422 exception
2 parents afbb30e + 90e0081 commit 7a4c69b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/common/dao/UserDao.dart‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class UserDao {
3838
};
3939
HttpManager.clearAuthorization();
4040

41-
var res = await HttpManager.netFetch(Address.getAuthorization(), json.encode(requestParams), null, new Options(method: "post"));
41+
var res = await HttpManager.netFetch(Address.getAuthorization(), json.encode(requestParams), null, new Options(method: "get"));
4242
var resultData = null;
4343
if (res != null && res.result) {
4444
await LocalStorage.save(Config.PW_KEY, password);

0 commit comments

Comments
 (0)