From 5ded3d8ff7756d64a822b044baf99ba2c1332c39 Mon Sep 17 00:00:00 2001 From: AlexVincent525 Date: Tue, 18 Feb 2020 12:13:18 +0800 Subject: [PATCH] :building_construction: Make login use token dio. --- lib/api/user_api.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/api/user_api.dart b/lib/api/user_api.dart index 3cc77db5..e994879b 100755 --- a/lib/api/user_api.dart +++ b/lib/api/user_api.dart @@ -17,7 +17,7 @@ class UserAPI { static List cookiesForJWGL; static Future login(Map params) async { - return NetUtils.post(API.login, data: params); + return NetUtils.tokenDio.post(API.login, data: params); } static void logout(context) async {