mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-07-08 01:30:28 +08:00
Update
This commit is contained in:
@@ -42,9 +42,9 @@ abstract class EHApi {
|
|||||||
|
|
||||||
@PUT('/token')
|
@PUT('/token')
|
||||||
Future<ApiResult<Token>> _createToken(
|
Future<ApiResult<Token>> _createToken(
|
||||||
{@Query("username") String username,
|
{@Query("username") required String username,
|
||||||
@Query("password") String password,
|
@Query("password") required String password,
|
||||||
@Query("t") int t,
|
@Query("t") required int t,
|
||||||
@Query("set_cookie") bool? setCookie,
|
@Query("set_cookie") bool? setCookie,
|
||||||
@Query("http_only") bool? httpOnly,
|
@Query("http_only") bool? httpOnly,
|
||||||
@Query("secure") bool? secure});
|
@Query("secure") bool? secure});
|
||||||
|
|||||||
Reference in New Issue
Block a user