AndroidApp/PartService.java

23 lines
648 B
Java
Raw Permalink Normal View History

2025-07-11 18:28:52 +08:00
package com.example.myapplication.api;
import com.example.myapplication.model.ApiResponse;
import com.example.myapplication.model.PartResponse;
import java.util.List;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;
public interface PartService {
@GET("/part/list")
Call<ApiResponse<List<PartResponse>>> getPartList(
@Query("projectId") String projectId,
@Query("keyword") String keyword,
@Query("partManufacturer") String partManufacturer,
@Query("partModel") String partModel,
@Query("partType") String partType
);
}