app/src/main/java/com/example/firstapp/database/service/ApiService.kt
@@ -13,7 +13,7 @@ interface ApiService { @GET("keywords") suspend fun getKeywords():ApiResponse<List<KeywordEntity>> //异步挂起 suspend fun getKeywords():ApiResponse<List<KeywordConfig>> //异步挂起 } // 创建Retrofit实例(单例)