From 18c7a44d2e9db3f4a5322389c3ee94468cce4de1 Mon Sep 17 00:00:00 2001
From: wzp <2040239371@qq.com>
Date: 星期二, 06 五月 2025 10:10:06 +0800
Subject: [PATCH] feat: 新增获取状态写入库,供广交集团的接口使用

---
 inc/thirdpay.asp |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/inc/thirdpay.asp b/inc/thirdpay.asp
index 2d40a68..a469e80 100644
--- a/inc/thirdpay.asp
+++ b/inc/thirdpay.asp
@@ -10,8 +10,10 @@
 rs.open sql,objConn,1,1
 If not rs.Eof then	 
       PayQRcodeURL = rs("PayQRcodeURL")
-      PayQRcodeURL = PayQRcodeURL&"?PayType="&PayType&"&PayMoney="&PayMoney&"&ServiceOrdID="&ServiceOrdID&"&DispatchOrdID="&DispatchOrdID
-      Response.Redirect PayQRcodeURL
+      if PayQRcodeURL<>"" Then
+         PayQRcodeURL = PayQRcodeURL&"?PayMoney="&PayMoney&"&ServiceOrdID="&ServiceOrdID&"&DispatchOrdID="&DispatchOrdID
+         Response.Redirect PayQRcodeURL
+      End If
 End If
 rs.close()
 End Function

--
Gitblit v1.9.1