package com.example.myapplication.api; import com.example.myapplication.model.PageResult; import com.example.myapplication.model.UserInfo; import retrofit2.Call; import retrofit2.http.GET; import retrofit2.http.Header; import retrofit2.http.Query; public interface UserApi { @GET("/user/list") Call> getUserList( @Header("Authorization") String token, @Query("account") String account, @Query("deptId") String deptId, @Query("mobile") String mobile, @Query("name") String name, @Query("userCode") String userCode, @Query("userStatus") String userStatus, @Query("userType") String userType ); }