feat(code-pay): 码牌支持落地类型与小程序独占提示

CodePayInfo 增加 programType;多语言补充 miniAppOnly 提示文案。
This commit is contained in:
bootx
2026-07-15 23:08:17 +08:00
parent a5b614c9cb
commit 01b3ebea48
11 changed files with 22 additions and 10 deletions

View File

@@ -18,6 +18,8 @@ export interface CodePayInfo {
amountType?: AmountType
/** 固定金额(分, amountType=fixed 时返回) */
fixedAmount?: number
/** 落地程序类型 h5 / mini_app */
programType?: string
}
/**

View File

@@ -12,5 +12,6 @@
"paySuccess": "Payment successful",
"payFail": "Payment failed, please retry",
"payLaunched": "Payment launched",
"payPending": "Order created, please complete payment"
"payPending": "Order created, please complete payment",
"miniAppOnly": "This is a mini-program QR code. Please pay in the mini program."
}

View File

@@ -12,5 +12,6 @@
"paySuccess": "Payment successful",
"payFail": "Payment failed, please retry",
"payLaunched": "Payment launched",
"payPending": "Order created, please complete payment"
"payPending": "Order created, please complete payment",
"miniAppOnly": "This is a mini-program QR code. Please pay in the mini program."
}

View File

@@ -12,5 +12,6 @@
"paySuccess": "支払い成功",
"payFail": "支払いに失敗しました",
"payLaunched": "支払いを開始しました",
"payPending": "注文が作成されました。支払いを完了してください"
"payPending": "注文が作成されました。支払いを完了してください",
"miniAppOnly": "このQRはミニプログラム用です。ミニプログラムで支払ってください。"
}

View File

@@ -12,5 +12,6 @@
"paySuccess": "결제 성공",
"payFail": "결제 실패, 다시 시도하세요",
"payLaunched": "결제가 시작되었습니다",
"payPending": "주문이 생성되었습니다. 결제를 완료하세요"
"payPending": "주문이 생성되었습니다. 결제를 완료하세요",
"miniAppOnly": "이 코드는 미니 프로그램용입니다. 미니 프로그램에서 결제하세요."
}

View File

@@ -12,5 +12,6 @@
"paySuccess": "Payment successful",
"payFail": "Payment failed, please retry",
"payLaunched": "Payment launched",
"payPending": "Order created, please complete payment"
"payPending": "Order created, please complete payment",
"miniAppOnly": "This is a mini-program QR code. Please pay in the mini program."
}

View File

@@ -12,5 +12,6 @@
"paySuccess": "Payment successful",
"payFail": "Payment failed, please retry",
"payLaunched": "Payment launched",
"payPending": "Order created, please complete payment"
"payPending": "Order created, please complete payment",
"miniAppOnly": "This is a mini-program QR code. Please pay in the mini program."
}

View File

@@ -12,5 +12,6 @@
"paySuccess": "Payment successful",
"payFail": "Payment failed, please retry",
"payLaunched": "Payment launched",
"payPending": "Order created, please complete payment"
"payPending": "Order created, please complete payment",
"miniAppOnly": "This is a mini-program QR code. Please pay in the mini program."
}

View File

@@ -12,5 +12,6 @@
"paySuccess": "支付成功",
"payFail": "支付失败, 请重试",
"payLaunched": "支付已拉起",
"payPending": "订单已创建, 请完成支付"
"payPending": "订单已创建, 请完成支付",
"miniAppOnly": "该码牌为小程序码,请使用小程序扫码支付"
}

View File

@@ -12,5 +12,6 @@
"paySuccess": "支付成功",
"payFail": "支付失敗, 請重試",
"payLaunched": "支付已拉起",
"payPending": "訂單已建立, 請完成支付"
"payPending": "訂單已建立, 請完成支付",
"miniAppOnly": "該碼牌為小程序碼,請使用小程序掃碼支付"
}

View File

@@ -12,5 +12,6 @@
"paySuccess": "支付成功",
"payFail": "支付失敗, 請重試",
"payLaunched": "支付已拉起",
"payPending": "訂單已建立, 請完成支付"
"payPending": "訂單已建立, 請完成支付",
"miniAppOnly": "該碼牌為小程序碼,請使用小程序掃碼支付"
}