【发布时间】:2022-01-04 23:52:16
【问题描述】:
@GET 显示错误我不知道为什么 所以我的 code 在 java 中:
package com.example.goodNews;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.GET;
public interface RetrofitAPI {
@GET
Call<NewsModal> getAllNews(@Url String url);
}
已编辑:哎呀我的错误,它们是我的 gradleBuild.Dependnecies 文件中的错字。
【问题讨论】: