营养数据计算优化;人脸增加数据处理;其它优化;
This commit is contained in:
@@ -3,6 +3,7 @@ package com.sw.dualscreen.network.api
|
||||
import com.sw.dualscreen.GlobalData
|
||||
import com.sw.dualscreen.model.request.UserNutritionParam
|
||||
import com.sw.dualscreen.model.response.ApiResponse
|
||||
import com.sw.dualscreen.model.response.DeviceConfig
|
||||
import com.sw.dualscreen.model.response.DinnerType
|
||||
import com.sw.dualscreen.model.response.FaceData
|
||||
import com.sw.dualscreen.model.response.FoodInfo
|
||||
@@ -66,7 +67,7 @@ interface ApiService {
|
||||
@Body param: Map<String, Int>
|
||||
// @Query("pageNum") pageNum: Int,
|
||||
// @Query("pageSize") pageSize: Int
|
||||
): ApiResponse<List<UserFaceModel>>
|
||||
): ApiResponse<List<UserFaceModel>?>
|
||||
|
||||
@GET
|
||||
suspend fun getUserFaceCache2(
|
||||
@@ -161,7 +162,7 @@ interface ApiService {
|
||||
// @Url url: String = "${GlobalData.appBaseUrl}/pay/yx-check-out-pay/turnOrderInfo",
|
||||
// @Body param: HashMap<String, String>
|
||||
// ): ApiResponse<PayResult?>
|
||||
/**
|
||||
/**
|
||||
* 查询支付结果
|
||||
*/
|
||||
@GET
|
||||
@@ -197,7 +198,7 @@ interface ApiService {
|
||||
@Url url: String = "${GlobalData.appBaseUrl}/terminal/neglect/pay/app/getQrCodeImg",
|
||||
@Query("orderNo") orderNo: String,
|
||||
@Query("memberId") memberId: String?,
|
||||
@Query("totalFee") totalFee: String?
|
||||
@Query("totalFee") totalFee: String? = null
|
||||
): ApiResponse<String?>
|
||||
|
||||
/**
|
||||
@@ -251,4 +252,20 @@ interface ApiService {
|
||||
@Part foodPics: List<MultipartBody.Part>
|
||||
): ApiResponse<String>
|
||||
|
||||
/**
|
||||
* 获取设备配置数据
|
||||
*/
|
||||
@GET
|
||||
suspend fun getDeviceConfig(
|
||||
@Url url: String = "${GlobalData.appBaseUrl}/terminal/neglect/common/app/getYxEquipmentByEquipmentCode"
|
||||
): ApiResponse<DeviceConfig?>
|
||||
|
||||
/**
|
||||
* 获取人脸增量数据
|
||||
*/
|
||||
@POST
|
||||
suspend fun getFaceIncrementList(
|
||||
@Url url: String = "${GlobalData.appBaseUrl}/terminal/neglect/common/app/faceFeature/increment/list",
|
||||
@Body param: Map<String, Long>
|
||||
): ApiResponse<List<UserFaceModel>?>
|
||||
}
|
||||
Reference in New Issue
Block a user