Skip to content

Commit

Permalink
login api新增remember参数
Browse files Browse the repository at this point in the history
close #1
  • Loading branch information
juzi5201314 authored Sep 8, 2020
1 parent d144bf8 commit 27952d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/api/login.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ Future<User> login(String username, password, idKey, verifyValue) async {
"username": username,
"password": password,
"id_key": idKey,
"verify_value": verifyValue
"verify_value": verifyValue,
"remember": true
});
return User(data["token"])..userId = data["user_id"];
}

0 comments on commit 27952d2

Please sign in to comment.