This commit is contained in:
2026-01-26 15:53:43 +08:00
parent 50d12de534
commit 6e7eb80715
2 changed files with 25 additions and 11 deletions
@@ -91,19 +91,29 @@ interface ApiService {
): ApiResponse<List<CollectedFoodInfo>>
// /**
// * 获取档口菜品信息
// */
// @GET
// suspend fun getRestInfoFoodsByType(
//// @Url url: String = "${GlobalData.appBaseUrl}/zhstapi/zhst/getRestInfoFoodsByType/stall",
//// @Url url: String = "${GlobalData.appBaseUrl}/terminal/neglect/boothMachine/app/getFoodsByFoodNamePage",
// @Url url: String = "${GlobalData.appBaseUrl}/terminal/neglect/boothMachine/app/getFoodsByFoodNameList",
// @Query("name") foodName: String,
//// @Query("appVersion") appVersion: String = GlobalData.appVersion,
//// @Query("restId") restId: String,
//// @Query("type") type: Int,
//// @Query("foodName") foodName: String,
// ): ApiResponse<List<FoodInfo>>
/**
* 获取档口菜品信息
*/
@GET
@POST
suspend fun getRestInfoFoodsByType(
// @Url url: String = "${GlobalData.appBaseUrl}/zhstapi/zhst/getRestInfoFoodsByType/stall",
// @Url url: String = "${GlobalData.appBaseUrl}/terminal/neglect/boothMachine/app/getFoodsByFoodNamePage",
@Url url: String = "${GlobalData.appBaseUrl}/terminal/neglect/boothMachine/app/getFoodsByFoodNameList",
@Query("name") foodName: String,
// @Query("appVersion") appVersion: String = GlobalData.appVersion,
// @Query("restId") restId: String,
// @Query("type") type: Int,
// @Query("foodName") foodName: String,
@Body param: HashMap<String, String>
): ApiResponse<List<FoodInfo>>
// /**