AndroidApp/TurbineApiService.java

17 lines
417 B
Java

package com.example.myapplication.api;
import com.example.myapplication.model.ApiResponse;
import com.example.myapplication.model.Turbine;
import java.util.List;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;
public interface TurbineApiService {
@GET("turbine/list")
Call<ApiResponse<List<Turbine>>> getTurbineList(@Query("projectId") String projectId);
}