feat: 更新内容

This commit is contained in:
jerry
2025-08-14 10:05:03 +08:00
parent cd654f9efd
commit eca9ae6db5

View File

@@ -30,7 +30,7 @@ function CashierWeApp(props) {
const { cashierPayment } = usePayment()
useEffect(() => {
const { order_id } = $instance.router.params
const { order_id ,source} = $instance.router.params
if (order_id) {
fetch()
}
@@ -80,6 +80,9 @@ function CashierWeApp(props) {
}
const handlePay = async () => {
if(source){
params.source = source
}
cashierPayment(params, orderInfo)
}
return (