优化扫码枪支付

This commit is contained in:
mazengfei
2026-03-10 14:44:34 +08:00
parent 39c0ca7d72
commit 8a1630f2a4
8 changed files with 193 additions and 154 deletions
@@ -191,7 +191,13 @@ class RemoteRepository constructor(
*/
suspend fun qrCodePay(authCode: String,orderNo: String): ApiResponse<String?> {
return safeApiCall {
apiService.qrCodePay(authCode = authCode, orderNo=orderNo, orderType = 0)
apiService.qrCodePay(
param = hashMapOf(
"authCode" to authCode,
"outTradeNo" to orderNo,
"orderType" to "0"
)
)
}
}