识别图片处理、查询菜品数据
This commit is contained in:
@@ -99,4 +99,14 @@ interface ApiService {
|
||||
@Url url: String = "${GlobalData.appBaseUrl}/zhstapi/zhst/userEatFood/doubleBalance/face/stall",
|
||||
@Body param: List<UserNutritionParam>
|
||||
): ApiResponse<String>
|
||||
|
||||
/**
|
||||
* 获取菜品信息
|
||||
*/
|
||||
@GET
|
||||
suspend fun getFoodInfo(
|
||||
@Url url: String = "${GlobalData.appBaseUrl}/zhstapi/zhst/getRestInfoFoodsByType/stall/v2",
|
||||
@Query("restId") restId: String,
|
||||
@Query("foodNames") foodName: String,
|
||||
): ApiResponse<List<FoodInfo>>
|
||||
}
|
||||
Reference in New Issue
Block a user