重命名check_site_order_payment_status为check_order_payment_status
This commit is contained in:
parent
49ec83539c
commit
8cbe43237f
@ -265,7 +265,7 @@ export default {
|
|||||||
},
|
},
|
||||||
checkPaymentStatus() {
|
checkPaymentStatus() {
|
||||||
return {
|
return {
|
||||||
url: 'jcloud.api.billing.check_site_order_payment_status',
|
url: 'jcloud.api.billing.check_order_payment_status',
|
||||||
params: {
|
params: {
|
||||||
order_id: this.order.order_id || this.order.name
|
order_id: this.order.order_id || this.order.name
|
||||||
},
|
},
|
||||||
|
|||||||
@ -431,7 +431,7 @@ export default {
|
|||||||
},
|
},
|
||||||
checkPaymentStatus() {
|
checkPaymentStatus() {
|
||||||
return {
|
return {
|
||||||
url: 'jcloud.api.billing.check_site_order_payment_status',
|
url: 'jcloud.api.billing.check_order_payment_status',
|
||||||
params: {
|
params: {
|
||||||
order_id: this.order?.order_id
|
order_id: this.order?.order_id
|
||||||
},
|
},
|
||||||
|
|||||||
@ -496,7 +496,7 @@ export default {
|
|||||||
// 检查支付状态
|
// 检查支付状态
|
||||||
checkPaymentStatus() {
|
checkPaymentStatus() {
|
||||||
return {
|
return {
|
||||||
url: 'jcloud.api.billing.check_site_order_payment_status',
|
url: 'jcloud.api.billing.check_order_payment_status',
|
||||||
params: {
|
params: {
|
||||||
order_id: this.order?.order_id
|
order_id: this.order?.order_id
|
||||||
},
|
},
|
||||||
|
|||||||
@ -1677,7 +1677,7 @@ def process_wechatpay_order(order_id):
|
|||||||
jingrow.throw(f"创建微信支付订单失败")
|
jingrow.throw(f"创建微信支付订单失败")
|
||||||
|
|
||||||
@jingrow.whitelist()
|
@jingrow.whitelist()
|
||||||
def check_site_order_payment_status(order_id):
|
def check_order_payment_status(order_id):
|
||||||
"""检查订单支付状态"""
|
"""检查订单支付状态"""
|
||||||
try:
|
try:
|
||||||
# 获取订单信息
|
# 获取订单信息
|
||||||
@ -1872,4 +1872,3 @@ def get_balance_transactions(page=1, page_size=20, search=None):
|
|||||||
"error": str(e)
|
"error": str(e)
|
||||||
}
|
}
|
||||||
|
|
||||||
# Jsite Server 相关功能
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user