Commit f99b3bec authored by zhengke's avatar zhengke

支付状态 定时器

parent df5f3990
...@@ -174,11 +174,10 @@ const getOrderStatus = async ()=>{ ...@@ -174,11 +174,10 @@ const getOrderStatus = async ()=>{
if(orderNum.value!=''){ if(orderNum.value!=''){
const response = await OrderService.GetOrderPayStatusAsync(orderNum.value) const response = await OrderService.GetOrderPayStatusAsync(orderNum.value)
if(response.data.resultCode == ApiResult.SUCCESS){ if(response.data.resultCode == ApiResult.SUCCESS){
stopTimerHandler()
currentPayStatus.value = parseInt(response.data.message) currentPayStatus.value = parseInt(response.data.message)
PaySuccessDatas.value = response.data.data PaySuccessDatas.value = response.data.data
dialogVisible.value = true dialogVisible.value = true
}else{
stopTimerHandler()
} }
} }
...@@ -192,7 +191,7 @@ const setPaymentQrCode = async ()=>{ ...@@ -192,7 +191,7 @@ const setPaymentQrCode = async ()=>{
vipid:currentProduct.value.vipid, vipid:currentProduct.value.vipid,
pricetype:1, pricetype:1,
price:currentProduct.value.price, price:currentProduct.value.price,
activedate:'2024-04-15', // activedate:'2024-04-15',
orderid:0 orderid:0
} }
const response = await OrderService.CreateTempOrderPaymentAsync(parameters) const response = await OrderService.CreateTempOrderPaymentAsync(parameters)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment