From a51d070d364b0da8e5f8ea9203a6e50c8b4c0af3 Mon Sep 17 00:00:00 2001 From: wanglizhong <wlz> Date: 星期三, 09 七月 2025 22:06:34 +0800 Subject: [PATCH] feat(派单模块): 添加敏感信息隐藏功能 --- weixin/JsonPost_1000006.gds | 38 ++++++++++++++++++++------------------ 1 files changed, 20 insertions(+), 18 deletions(-) diff --git a/weixin/JsonPost_1000006.gds b/weixin/JsonPost_1000006.gds index 7aa4637..26b472c 100644 --- a/weixin/JsonPost_1000006.gds +++ b/weixin/JsonPost_1000006.gds @@ -17,24 +17,26 @@ 'Post鏂规硶 Function PostBody(appUrl,args1) -Set PBrs = Server.CreateObject("ADODB.Recordset") -sql="select id from API_Json where DATEDIFF (ss,Json_time,GETDATE())<=30 and Json='"&args1&"'" -PBrs.open sql,objConn,1,1 -If PBrs.Eof Then - Set https = Server.CreateObject("Msxml2.ServerXMLHTTP") - - 'Set https = Server.CreateObject("MSXML2.XMLHTTP") - With https - .Open "Post", appUrl, False - .setRequestHeader "Content-Type","application/x-www-form-urlencoded" - .Send args1 - PostBody = .ResponseBody - End With - PostBody = BytesToBstr(PostBody,"utf-8") - JsonID = API_JsonSql(appUrl,args1,reserve) - Set https = Nothing -End If -PBrs.close() + if 1=2 then + Set PBrs = Server.CreateObject("ADODB.Recordset") + sql="select id from API_Json where DATEDIFF (ss,Json_time,GETDATE())<=30 and Json='"&args1&"'" + PBrs.open sql,objConn,1,1 + If PBrs.Eof Then + Set https = Server.CreateObject("Msxml2.ServerXMLHTTP") + + 'Set https = Server.CreateObject("MSXML2.XMLHTTP") + With https + .Open "Post", appUrl, False + .setRequestHeader "Content-Type","application/x-www-form-urlencoded" + .Send args1 + PostBody = .ResponseBody + End With + PostBody = BytesToBstr(PostBody,"utf-8") + JsonID = API_JsonSql(appUrl,args1,reserve) + Set https = Nothing + End If + PBrs.close() + end if End Function 'Get鏂规硶 -- Gitblit v1.9.1