优化
This commit is contained in:
@@ -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>>
|
||||
|
||||
// /**
|
||||
|
||||
Reference in New Issue
Block a user