AndroidApp/UserApi.java

24 lines
749 B
Java
Raw Permalink Normal View History

2025-07-11 18:29:35 +08:00
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<PageResult<UserInfo>> 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
);
}