营养接口调试、支付接口联调
This commit is contained in:
@@ -207,10 +207,15 @@ class RemoteRepository constructor(
|
||||
|
||||
/**
|
||||
* 查询订单状态
|
||||
* @param orderNo 订单好
|
||||
* @param queryType 查询类型 1支付2退款
|
||||
*/
|
||||
suspend fun queryOrderState(param: HashMap<String, String>): ApiResponse<PayResult?> {
|
||||
suspend fun queryOrderState(orderNo: String, queryType: Int = 1): ApiResponse<Any?> {
|
||||
return safeApiCall {
|
||||
apiService.queryOrderState(param = param)
|
||||
apiService.queryOrderState(param = hashMapOf(
|
||||
"payOrderNo" to orderNo,
|
||||
"queryType" to "$queryType"
|
||||
))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user