hyperf-2022-03-23.log 62 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511
  1. [2022-03-23 18:46:28] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(请求异常 (解析) data=商户不存在!) {"amount":"50.00","partnerid":"11","notifyUrl":"http://dk-server.test.wg8.site/notify/1/375/Ju","out_trade_no":"CJ202203231846257368","payType":"alipay_zza","returnUrl":"http://dk-server.test.wg8.site","version":"2.0","sign":"049D7A1BC36AE2A3209178BEB3767E9D","format":""} []
  2. [2022-03-23 18:49:23] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(请求异常 (解析) data=没有可用的商户) {"amount":"50.00","partnerid":"11","notifyUrl":"http://dk-server.test.wg8.site/notify/1/376/Ju","out_trade_no":"CJ202203231849219056","payType":"alipay_zza","returnUrl":"http://dk-server.test.wg8.site","version":"1.0","sign":"E51BE3A805BC8CFB55051EE0CA1F14ED","format":""} []
  3. [2022-03-23 18:54:12] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(请求异常 (解析) data=没有可用的商户) {"amount":"50.00","partnerid":"11","notifyUrl":"http://dk-server.test.wg8.site/notify/1/377/Ju","out_trade_no":"CJ202203231854097784","payType":"alipay_zza","returnUrl":"http://dk-server.test.wg8.site","version":"1.0","sign":"24502114CA1DE2E858CD8206F9BB566D","format":""} []
  4. [2022-03-23 18:55:15] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(请求异常 (解析) data=<!DOCTYPE html>
  5. <html lang="en">
  6. <head>
  7. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  8. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  9. <title>支付宝付款</title>
  10. <style>
  11. body {
  12. margin: 0;
  13. font-size: 14px
  14. }
  15. .header {
  16. border-bottom: 1px solid #ddd;
  17. height: 30px;
  18. text-align: center;
  19. padding: 10px 0
  20. }
  21. .header img {
  22. height: 100%
  23. }
  24. .main {
  25. text-align: center;
  26. padding: 20px 10px
  27. }
  28. .price {
  29. color: #d63939;
  30. font-weight: bold;
  31. font-size: 32px
  32. }
  33. .qrcode-container {
  34. width: 100%;
  35. height: 300px;
  36. text-align: center;
  37. box-sizing: border-box;
  38. padding: 20px
  39. }
  40. .qrcode-container img {
  41. width: auto;
  42. height: 100%;
  43. margin: 0 auto
  44. }
  45. .button {
  46. background-color: #00a3ea;
  47. color: #fff;
  48. padding: 10px;
  49. border-radius: 6px;
  50. font-size: 16px
  51. }
  52. .timer-container {
  53. margin-top: 10px;
  54. font-size: 16px
  55. }
  56. #timer {
  57. color: #d63939;
  58. font-size: 18px;
  59. padding: 0 5px;
  60. font-weight: bold
  61. }
  62. .tip {
  63. display: none;
  64. margin-top: 10px;
  65. font-size: 16px
  66. }
  67. .dialog {
  68. display: none;
  69. position: fixed;
  70. left: 0;
  71. top: 0;
  72. width: 100%;
  73. height: 100%;
  74. background-color: rgba(0, 0, 0, 0.3)
  75. }
  76. .dialog-content {
  77. width: 80%;
  78. background-color: #fff;
  79. position: absolute;
  80. left: 10%;
  81. top: 45%;
  82. top: calc(50% - 31px);
  83. padding: 20px;
  84. text-align: center;
  85. box-sizing: border-box;
  86. font-size: 16px;
  87. border-radius: 8px
  88. }
  89. </style>
  90. <script type="text/javascript" src="/public/js/jquery.min.js"></script>
  91. <style type="text/css">
  92. @font-face {
  93. font-family: "element-icons";
  94. src: url('chrome-extension://moombeodfomdpjnpocobemoiaemednkg/fonts/element-icons.woff') format('woff'),
  95. url('chrome-extension://moombeodfomdpjnpocobemoiaemednkg/fonts/element-icons.ttf ') format('truetype');
  96. /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
  97. }
  98. </style>
  99. </head>
  100. <body>
  101. <div>
  102. <div class="header">
  103. <img src="/public/image/alipay/T1HHFgXXVeXXXXXXXX.png" alt="">
  104. </div>
  105. <div class="main">
  106. <div class="order-id">订单号:F323329132041014</div>
  107. <div class="price">¥ 49.87</div>
  108. <div style="color:red;">注意: 此码重复支付和超时支付的不到账不退还</div>
  109. <div>如果无法打开付款界面,请截屏保存二维码,到支付宝扫一扫付款</div>
  110. <div class="qrcode-container" id="qrcode" title=""></div>
  111. <div style="margin-bottom: 10px">当前二维码图片只可支付一次</div>
  112. <div class="button" id="ali_btn" onclick="openalipay()">
  113. 打开支付宝付款</div>
  114. <div class="timer-container" id="timer-container">请在<span id="timer">4分48秒</span>内完成支付</div>
  115. <div class="tip" id="tip">订单已超时,请重新发起支付!</div>
  116. </div>
  117. <div class="dialog" id="dialog" onclick="closeDialog()">
  118. <div class="dialog-content">
  119. 订单已超时,请重新发起支付
  120. </div>
  121. </div>
  122. <div class="dialog" id="dialog2" onclick="closeDialog()">
  123. <div class="dialog-content">
  124. 订单支付成功
  125. </div>
  126. </div>
  127. </div>
  128. <script src="/public/js/jquery.qrcode.min.js"></script>
  129. <script>
  130. var timerView = document.getElementById('timer');
  131. var dom_tip = document.getElementById('tip');
  132. var dom_timer_container = document.getElementById('timer-container');
  133. var limit = 298; // 设置时间
  134. var returnurl = '';
  135. var timer = setInterval(setTime, 1000);
  136. var queryTimer = setInterval(getnewstatus, 2000);
  137. function setTime() {
  138. var m = Math.floor(limit / 60);
  139. var s = limit % 60;
  140. timerView.innerText = String((m ? (m + '分') : '') + s + '秒');
  141. if (limit > 0) {
  142. limit--
  143. } else {
  144. clearInterval(timer);
  145. dom_timer_container.style.display = 'none';
  146. dom_tip.style.display = 'block';
  147. document.getElementById('dialog').style.display = 'block'
  148. }
  149. }
  150. function closeDialog() {
  151. // 允许关闭
  152. //document.getElementById('dialog').style.display = 'none'
  153. }
  154. setTime();
  155. var qrcode_get_url = "https://render.alipay.com/p/s/i?scheme=" + encodeURIComponent("alipays://platformapi/startapp?saId=20000180&url=" + encodeURIComponent('http://39.105.183.46/pay/index.php?a=qrcodec&b=index&c=openzza&order_no=F323329132041014'));
  156. $('#qrcode').qrcode({
  157. text: qrcode_get_url,
  158. width: 240,
  159. height: 240
  160. });
  161. function openalipay() {
  162. window.location.href = 'alipays://platformapi/startapp?saId=20000180&url=' + encodeURIComponent('http://39.105.183.46/pay/index.php?a=qrcodec&b=index&c=openzza&order_no=F323329132041014');
  163. }
  164. function getnewstatus() {
  165. var orderNo = $("#orderNo").val();
  166. var key = "-CWtgvj7mB3nhrUzV62wgBzji";
  167. var order_no = "F323329132041014";
  168. $.ajax({
  169. type: "GET",
  170. dataType: "json",
  171. url: "/pay/api.php?c=orderQuery",
  172. data: {"key": key},
  173. cache: false,
  174. success: function (data) {
  175. if (data.code == '200') {
  176. clearInterval(timer);
  177. clearInterval(queryTimer);
  178. dom_timer_container.style.display = 'none';
  179. document.getElementById('dialog2').style.display = 'block'
  180. setTimeout(function () {
  181. window.location.href = "/index.php?a=servlet&b=index&c=Refer&num=" + order_no;
  182. }, 3000);
  183. }
  184. //订单超时或者有误
  185. else {
  186. clearInterval(timer);
  187. clearInterval(queryTimer);
  188. dom_timer_container.style.display = 'none';
  189. dom_tip.style.display = 'block';
  190. setTimeout(function () {
  191. window.location.href = "/index.php?a=servlet&b=index&c=Refer&num=" + order_no;
  192. }, 3000);
  193. }
  194. }//,
  195. //error: function (data) {
  196. // alert("error:" + data.responseText);
  197. //}
  198. });
  199. }
  200. function isMobile() {
  201. var userAgentInfo = navigator.userAgent;
  202. var mobileAgents = ["Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod"];
  203. var mobile_flag = false;
  204. //根据userAgent判断是否是手机
  205. for (var v = 0; v < mobileAgents.length; v++) {
  206. if (userAgentInfo.indexOf(mobileAgents[v]) > 0) {
  207. mobile_flag = true;
  208. break;
  209. }
  210. }
  211. var screen_width = window.screen.width;
  212. var screen_height = window.screen.height;
  213. //根据屏幕分辨率判断是否是手机
  214. if (screen_width < 500 && screen_height < 800) {
  215. mobile_flag = true;
  216. }
  217. return mobile_flag;
  218. }
  219. </script>
  220. </body>
  221. </html>) {"amount":"50.00","partnerid":"11","notifyUrl":"http://dk-server.test.wg8.site/notify/1/378/Ju","out_trade_no":"CJ202203231855107490","payType":"alipay_zza","returnUrl":"http://dk-server.test.wg8.site","version":"1.0","sign":"93A83690FB0D0EDECFCCF04BF3C8D662","format":""} []
  222. [2022-03-23 18:56:15] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(请求异常 (解析) data=<!DOCTYPE html>
  223. <html lang="en">
  224. <head>
  225. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  226. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  227. <title>支付宝付款</title>
  228. <style>
  229. body {
  230. margin: 0;
  231. font-size: 14px
  232. }
  233. .header {
  234. border-bottom: 1px solid #ddd;
  235. height: 30px;
  236. text-align: center;
  237. padding: 10px 0
  238. }
  239. .header img {
  240. height: 100%
  241. }
  242. .main {
  243. text-align: center;
  244. padding: 20px 10px
  245. }
  246. .price {
  247. color: #d63939;
  248. font-weight: bold;
  249. font-size: 32px
  250. }
  251. .qrcode-container {
  252. width: 100%;
  253. height: 300px;
  254. text-align: center;
  255. box-sizing: border-box;
  256. padding: 20px
  257. }
  258. .qrcode-container img {
  259. width: auto;
  260. height: 100%;
  261. margin: 0 auto
  262. }
  263. .button {
  264. background-color: #00a3ea;
  265. color: #fff;
  266. padding: 10px;
  267. border-radius: 6px;
  268. font-size: 16px
  269. }
  270. .timer-container {
  271. margin-top: 10px;
  272. font-size: 16px
  273. }
  274. #timer {
  275. color: #d63939;
  276. font-size: 18px;
  277. padding: 0 5px;
  278. font-weight: bold
  279. }
  280. .tip {
  281. display: none;
  282. margin-top: 10px;
  283. font-size: 16px
  284. }
  285. .dialog {
  286. display: none;
  287. position: fixed;
  288. left: 0;
  289. top: 0;
  290. width: 100%;
  291. height: 100%;
  292. background-color: rgba(0, 0, 0, 0.3)
  293. }
  294. .dialog-content {
  295. width: 80%;
  296. background-color: #fff;
  297. position: absolute;
  298. left: 10%;
  299. top: 45%;
  300. top: calc(50% - 31px);
  301. padding: 20px;
  302. text-align: center;
  303. box-sizing: border-box;
  304. font-size: 16px;
  305. border-radius: 8px
  306. }
  307. </style>
  308. <script type="text/javascript" src="/public/js/jquery.min.js"></script>
  309. <style type="text/css">
  310. @font-face {
  311. font-family: "element-icons";
  312. src: url('chrome-extension://moombeodfomdpjnpocobemoiaemednkg/fonts/element-icons.woff') format('woff'),
  313. url('chrome-extension://moombeodfomdpjnpocobemoiaemednkg/fonts/element-icons.ttf ') format('truetype');
  314. /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
  315. }
  316. </style>
  317. </head>
  318. <body>
  319. <div>
  320. <div class="header">
  321. <img src="/public/image/alipay/T1HHFgXXVeXXXXXXXX.png" alt="">
  322. </div>
  323. <div class="main">
  324. <div class="order-id">订单号:F323329739912099</div>
  325. <div class="price">¥ 49.85</div>
  326. <div style="color:red;">注意: 此码重复支付和超时支付的不到账不退还</div>
  327. <div>如果无法打开付款界面,请截屏保存二维码,到支付宝扫一扫付款</div>
  328. <div class="qrcode-container" id="qrcode" title=""></div>
  329. <div style="margin-bottom: 10px">当前二维码图片只可支付一次</div>
  330. <div class="button" id="ali_btn" onclick="openalipay()">
  331. 打开支付宝付款</div>
  332. <div class="timer-container" id="timer-container">请在<span id="timer">4分48秒</span>内完成支付</div>
  333. <div class="tip" id="tip">订单已超时,请重新发起支付!</div>
  334. </div>
  335. <div class="dialog" id="dialog" onclick="closeDialog()">
  336. <div class="dialog-content">
  337. 订单已超时,请重新发起支付
  338. </div>
  339. </div>
  340. <div class="dialog" id="dialog2" onclick="closeDialog()">
  341. <div class="dialog-content">
  342. 订单支付成功
  343. </div>
  344. </div>
  345. </div>
  346. <script src="/public/js/jquery.qrcode.min.js"></script>
  347. <script>
  348. var timerView = document.getElementById('timer');
  349. var dom_tip = document.getElementById('tip');
  350. var dom_timer_container = document.getElementById('timer-container');
  351. var limit = 298; // 设置时间
  352. var returnurl = '';
  353. var timer = setInterval(setTime, 1000);
  354. var queryTimer = setInterval(getnewstatus, 2000);
  355. function setTime() {
  356. var m = Math.floor(limit / 60);
  357. var s = limit % 60;
  358. timerView.innerText = String((m ? (m + '分') : '') + s + '秒');
  359. if (limit > 0) {
  360. limit--
  361. } else {
  362. clearInterval(timer);
  363. dom_timer_container.style.display = 'none';
  364. dom_tip.style.display = 'block';
  365. document.getElementById('dialog').style.display = 'block'
  366. }
  367. }
  368. function closeDialog() {
  369. // 允许关闭
  370. //document.getElementById('dialog').style.display = 'none'
  371. }
  372. setTime();
  373. var qrcode_get_url = "https://render.alipay.com/p/s/i?scheme=" + encodeURIComponent("alipays://platformapi/startapp?saId=20000180&url=" + encodeURIComponent('http://39.105.183.46/pay/index.php?a=qrcodec&b=index&c=openzza&order_no=F323329739912099'));
  374. $('#qrcode').qrcode({
  375. text: qrcode_get_url,
  376. width: 240,
  377. height: 240
  378. });
  379. function openalipay() {
  380. window.location.href = 'alipays://platformapi/startapp?saId=20000180&url=' + encodeURIComponent('http://39.105.183.46/pay/index.php?a=qrcodec&b=index&c=openzza&order_no=F323329739912099');
  381. }
  382. function getnewstatus() {
  383. var orderNo = $("#orderNo").val();
  384. var key = "FPOHv0qDYHLXdM-fu0a3fHI6p";
  385. var order_no = "F323329739912099";
  386. $.ajax({
  387. type: "GET",
  388. dataType: "json",
  389. url: "/pay/api.php?c=orderQuery",
  390. data: {"key": key},
  391. cache: false,
  392. success: function (data) {
  393. if (data.code == '200') {
  394. clearInterval(timer);
  395. clearInterval(queryTimer);
  396. dom_timer_container.style.display = 'none';
  397. document.getElementById('dialog2').style.display = 'block'
  398. setTimeout(function () {
  399. window.location.href = "/index.php?a=servlet&b=index&c=Refer&num=" + order_no;
  400. }, 3000);
  401. }
  402. //订单超时或者有误
  403. else {
  404. clearInterval(timer);
  405. clearInterval(queryTimer);
  406. dom_timer_container.style.display = 'none';
  407. dom_tip.style.display = 'block';
  408. setTimeout(function () {
  409. window.location.href = "/index.php?a=servlet&b=index&c=Refer&num=" + order_no;
  410. }, 3000);
  411. }
  412. }//,
  413. //error: function (data) {
  414. // alert("error:" + data.responseText);
  415. //}
  416. });
  417. }
  418. function isMobile() {
  419. var userAgentInfo = navigator.userAgent;
  420. var mobileAgents = ["Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod"];
  421. var mobile_flag = false;
  422. //根据userAgent判断是否是手机
  423. for (var v = 0; v < mobileAgents.length; v++) {
  424. if (userAgentInfo.indexOf(mobileAgents[v]) > 0) {
  425. mobile_flag = true;
  426. break;
  427. }
  428. }
  429. var screen_width = window.screen.width;
  430. var screen_height = window.screen.height;
  431. //根据屏幕分辨率判断是否是手机
  432. if (screen_width < 500 && screen_height < 800) {
  433. mobile_flag = true;
  434. }
  435. return mobile_flag;
  436. }
  437. </script>
  438. </body>
  439. </html>) {"amount":"50.00","partnerid":"11","notifyUrl":"http://dk-server.test.wg8.site/notify/1/379/Ju","out_trade_no":"CJ202203231856126385","payType":"alipay_zza","returnUrl":"http://dk-server.test.wg8.site","version":"1.0","sign":"B58D18BCC0EBFE2EC3169F689E19B1BA","format":""} []
  440. [2022-03-23 18:56:45] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(请求异常 (解析) data=<!DOCTYPE html>
  441. <html lang="en">
  442. <head>
  443. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  444. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  445. <title>支付宝付款</title>
  446. <style>
  447. body {
  448. margin: 0;
  449. font-size: 14px
  450. }
  451. .header {
  452. border-bottom: 1px solid #ddd;
  453. height: 30px;
  454. text-align: center;
  455. padding: 10px 0
  456. }
  457. .header img {
  458. height: 100%
  459. }
  460. .main {
  461. text-align: center;
  462. padding: 20px 10px
  463. }
  464. .price {
  465. color: #d63939;
  466. font-weight: bold;
  467. font-size: 32px
  468. }
  469. .qrcode-container {
  470. width: 100%;
  471. height: 300px;
  472. text-align: center;
  473. box-sizing: border-box;
  474. padding: 20px
  475. }
  476. .qrcode-container img {
  477. width: auto;
  478. height: 100%;
  479. margin: 0 auto
  480. }
  481. .button {
  482. background-color: #00a3ea;
  483. color: #fff;
  484. padding: 10px;
  485. border-radius: 6px;
  486. font-size: 16px
  487. }
  488. .timer-container {
  489. margin-top: 10px;
  490. font-size: 16px
  491. }
  492. #timer {
  493. color: #d63939;
  494. font-size: 18px;
  495. padding: 0 5px;
  496. font-weight: bold
  497. }
  498. .tip {
  499. display: none;
  500. margin-top: 10px;
  501. font-size: 16px
  502. }
  503. .dialog {
  504. display: none;
  505. position: fixed;
  506. left: 0;
  507. top: 0;
  508. width: 100%;
  509. height: 100%;
  510. background-color: rgba(0, 0, 0, 0.3)
  511. }
  512. .dialog-content {
  513. width: 80%;
  514. background-color: #fff;
  515. position: absolute;
  516. left: 10%;
  517. top: 45%;
  518. top: calc(50% - 31px);
  519. padding: 20px;
  520. text-align: center;
  521. box-sizing: border-box;
  522. font-size: 16px;
  523. border-radius: 8px
  524. }
  525. </style>
  526. <script type="text/javascript" src="/public/js/jquery.min.js"></script>
  527. <style type="text/css">
  528. @font-face {
  529. font-family: "element-icons";
  530. src: url('chrome-extension://moombeodfomdpjnpocobemoiaemednkg/fonts/element-icons.woff') format('woff'),
  531. url('chrome-extension://moombeodfomdpjnpocobemoiaemednkg/fonts/element-icons.ttf ') format('truetype');
  532. /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
  533. }
  534. </style>
  535. </head>
  536. <body>
  537. <div>
  538. <div class="header">
  539. <img src="/public/image/alipay/T1HHFgXXVeXXXXXXXX.png" alt="">
  540. </div>
  541. <div class="main">
  542. <div class="order-id">订单号:F323330038447120</div>
  543. <div class="price">¥ 49.97</div>
  544. <div style="color:red;">注意: 此码重复支付和超时支付的不到账不退还</div>
  545. <div>如果无法打开付款界面,请截屏保存二维码,到支付宝扫一扫付款</div>
  546. <div class="qrcode-container" id="qrcode" title=""></div>
  547. <div style="margin-bottom: 10px">当前二维码图片只可支付一次</div>
  548. <div class="button" id="ali_btn" onclick="openalipay()">
  549. 打开支付宝付款</div>
  550. <div class="timer-container" id="timer-container">请在<span id="timer">4分48秒</span>内完成支付</div>
  551. <div class="tip" id="tip">订单已超时,请重新发起支付!</div>
  552. </div>
  553. <div class="dialog" id="dialog" onclick="closeDialog()">
  554. <div class="dialog-content">
  555. 订单已超时,请重新发起支付
  556. </div>
  557. </div>
  558. <div class="dialog" id="dialog2" onclick="closeDialog()">
  559. <div class="dialog-content">
  560. 订单支付成功
  561. </div>
  562. </div>
  563. </div>
  564. <script src="/public/js/jquery.qrcode.min.js"></script>
  565. <script>
  566. var timerView = document.getElementById('timer');
  567. var dom_tip = document.getElementById('tip');
  568. var dom_timer_container = document.getElementById('timer-container');
  569. var limit = 298; // 设置时间
  570. var returnurl = '';
  571. var timer = setInterval(setTime, 1000);
  572. var queryTimer = setInterval(getnewstatus, 2000);
  573. function setTime() {
  574. var m = Math.floor(limit / 60);
  575. var s = limit % 60;
  576. timerView.innerText = String((m ? (m + '分') : '') + s + '秒');
  577. if (limit > 0) {
  578. limit--
  579. } else {
  580. clearInterval(timer);
  581. dom_timer_container.style.display = 'none';
  582. dom_tip.style.display = 'block';
  583. document.getElementById('dialog').style.display = 'block'
  584. }
  585. }
  586. function closeDialog() {
  587. // 允许关闭
  588. //document.getElementById('dialog').style.display = 'none'
  589. }
  590. setTime();
  591. var qrcode_get_url = "https://render.alipay.com/p/s/i?scheme=" + encodeURIComponent("alipays://platformapi/startapp?saId=20000180&url=" + encodeURIComponent('http://39.105.183.46/pay/index.php?a=qrcodec&b=index&c=openzza&order_no=F323330038447120'));
  592. $('#qrcode').qrcode({
  593. text: qrcode_get_url,
  594. width: 240,
  595. height: 240
  596. });
  597. function openalipay() {
  598. window.location.href = 'alipays://platformapi/startapp?saId=20000180&url=' + encodeURIComponent('http://39.105.183.46/pay/index.php?a=qrcodec&b=index&c=openzza&order_no=F323330038447120');
  599. }
  600. function getnewstatus() {
  601. var orderNo = $("#orderNo").val();
  602. var key = "ZQ0GtW8VtLU6uYMZuME-tWJI5";
  603. var order_no = "F323330038447120";
  604. $.ajax({
  605. type: "GET",
  606. dataType: "json",
  607. url: "/pay/api.php?c=orderQuery",
  608. data: {"key": key},
  609. cache: false,
  610. success: function (data) {
  611. if (data.code == '200') {
  612. clearInterval(timer);
  613. clearInterval(queryTimer);
  614. dom_timer_container.style.display = 'none';
  615. document.getElementById('dialog2').style.display = 'block'
  616. setTimeout(function () {
  617. window.location.href = "/index.php?a=servlet&b=index&c=Refer&num=" + order_no;
  618. }, 3000);
  619. }
  620. //订单超时或者有误
  621. else {
  622. clearInterval(timer);
  623. clearInterval(queryTimer);
  624. dom_timer_container.style.display = 'none';
  625. dom_tip.style.display = 'block';
  626. setTimeout(function () {
  627. window.location.href = "/index.php?a=servlet&b=index&c=Refer&num=" + order_no;
  628. }, 3000);
  629. }
  630. }//,
  631. //error: function (data) {
  632. // alert("error:" + data.responseText);
  633. //}
  634. });
  635. }
  636. function isMobile() {
  637. var userAgentInfo = navigator.userAgent;
  638. var mobileAgents = ["Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod"];
  639. var mobile_flag = false;
  640. //根据userAgent判断是否是手机
  641. for (var v = 0; v < mobileAgents.length; v++) {
  642. if (userAgentInfo.indexOf(mobileAgents[v]) > 0) {
  643. mobile_flag = true;
  644. break;
  645. }
  646. }
  647. var screen_width = window.screen.width;
  648. var screen_height = window.screen.height;
  649. //根据屏幕分辨率判断是否是手机
  650. if (screen_width < 500 && screen_height < 800) {
  651. mobile_flag = true;
  652. }
  653. return mobile_flag;
  654. }
  655. </script>
  656. </body>
  657. </html>) {"amount":"50.00","partnerid":"11","notifyUrl":"http://dk-server.test.wg8.site/notify/1/380/Ju","out_trade_no":"CJ202203231856413287","payType":"alipay_zza","returnUrl":"http://dk-server.test.wg8.site","version":"1.0","sign":"EDA39DDDC310EFC19A1B0C0F06EDFCBA","format":""} []
  658. [2022-03-23 18:57:00] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(请求异常 (解析) data=<!DOCTYPE html>
  659. <html lang="en">
  660. <head>
  661. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  662. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  663. <title>支付宝付款</title>
  664. <style>
  665. body {
  666. margin: 0;
  667. font-size: 14px
  668. }
  669. .header {
  670. border-bottom: 1px solid #ddd;
  671. height: 30px;
  672. text-align: center;
  673. padding: 10px 0
  674. }
  675. .header img {
  676. height: 100%
  677. }
  678. .main {
  679. text-align: center;
  680. padding: 20px 10px
  681. }
  682. .price {
  683. color: #d63939;
  684. font-weight: bold;
  685. font-size: 32px
  686. }
  687. .qrcode-container {
  688. width: 100%;
  689. height: 300px;
  690. text-align: center;
  691. box-sizing: border-box;
  692. padding: 20px
  693. }
  694. .qrcode-container img {
  695. width: auto;
  696. height: 100%;
  697. margin: 0 auto
  698. }
  699. .button {
  700. background-color: #00a3ea;
  701. color: #fff;
  702. padding: 10px;
  703. border-radius: 6px;
  704. font-size: 16px
  705. }
  706. .timer-container {
  707. margin-top: 10px;
  708. font-size: 16px
  709. }
  710. #timer {
  711. color: #d63939;
  712. font-size: 18px;
  713. padding: 0 5px;
  714. font-weight: bold
  715. }
  716. .tip {
  717. display: none;
  718. margin-top: 10px;
  719. font-size: 16px
  720. }
  721. .dialog {
  722. display: none;
  723. position: fixed;
  724. left: 0;
  725. top: 0;
  726. width: 100%;
  727. height: 100%;
  728. background-color: rgba(0, 0, 0, 0.3)
  729. }
  730. .dialog-content {
  731. width: 80%;
  732. background-color: #fff;
  733. position: absolute;
  734. left: 10%;
  735. top: 45%;
  736. top: calc(50% - 31px);
  737. padding: 20px;
  738. text-align: center;
  739. box-sizing: border-box;
  740. font-size: 16px;
  741. border-radius: 8px
  742. }
  743. </style>
  744. <script type="text/javascript" src="/public/js/jquery.min.js"></script>
  745. <style type="text/css">
  746. @font-face {
  747. font-family: "element-icons";
  748. src: url('chrome-extension://moombeodfomdpjnpocobemoiaemednkg/fonts/element-icons.woff') format('woff'),
  749. url('chrome-extension://moombeodfomdpjnpocobemoiaemednkg/fonts/element-icons.ttf ') format('truetype');
  750. /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
  751. }
  752. </style>
  753. </head>
  754. <body>
  755. <div>
  756. <div class="header">
  757. <img src="/public/image/alipay/T1HHFgXXVeXXXXXXXX.png" alt="">
  758. </div>
  759. <div class="main">
  760. <div class="order-id">订单号:F323330191424380</div>
  761. <div class="price">¥ 49.93</div>
  762. <div style="color:red;">注意: 此码重复支付和超时支付的不到账不退还</div>
  763. <div>如果无法打开付款界面,请截屏保存二维码,到支付宝扫一扫付款</div>
  764. <div class="qrcode-container" id="qrcode" title=""></div>
  765. <div style="margin-bottom: 10px">当前二维码图片只可支付一次</div>
  766. <div class="button" id="ali_btn" onclick="openalipay()">
  767. 打开支付宝付款</div>
  768. <div class="timer-container" id="timer-container">请在<span id="timer">4分48秒</span>内完成支付</div>
  769. <div class="tip" id="tip">订单已超时,请重新发起支付!</div>
  770. </div>
  771. <div class="dialog" id="dialog" onclick="closeDialog()">
  772. <div class="dialog-content">
  773. 订单已超时,请重新发起支付
  774. </div>
  775. </div>
  776. <div class="dialog" id="dialog2" onclick="closeDialog()">
  777. <div class="dialog-content">
  778. 订单支付成功
  779. </div>
  780. </div>
  781. </div>
  782. <script src="/public/js/jquery.qrcode.min.js"></script>
  783. <script>
  784. var timerView = document.getElementById('timer');
  785. var dom_tip = document.getElementById('tip');
  786. var dom_timer_container = document.getElementById('timer-container');
  787. var limit = 299; // 设置时间
  788. var returnurl = '';
  789. var timer = setInterval(setTime, 1000);
  790. var queryTimer = setInterval(getnewstatus, 2000);
  791. function setTime() {
  792. var m = Math.floor(limit / 60);
  793. var s = limit % 60;
  794. timerView.innerText = String((m ? (m + '分') : '') + s + '秒');
  795. if (limit > 0) {
  796. limit--
  797. } else {
  798. clearInterval(timer);
  799. dom_timer_container.style.display = 'none';
  800. dom_tip.style.display = 'block';
  801. document.getElementById('dialog').style.display = 'block'
  802. }
  803. }
  804. function closeDialog() {
  805. // 允许关闭
  806. //document.getElementById('dialog').style.display = 'none'
  807. }
  808. setTime();
  809. var qrcode_get_url = "https://render.alipay.com/p/s/i?scheme=" + encodeURIComponent("alipays://platformapi/startapp?saId=20000180&url=" + encodeURIComponent('http://39.105.183.46/pay/index.php?a=qrcodec&b=index&c=openzza&order_no=F323330191424380'));
  810. $('#qrcode').qrcode({
  811. text: qrcode_get_url,
  812. width: 240,
  813. height: 240
  814. });
  815. function openalipay() {
  816. window.location.href = 'alipays://platformapi/startapp?saId=20000180&url=' + encodeURIComponent('http://39.105.183.46/pay/index.php?a=qrcodec&b=index&c=openzza&order_no=F323330191424380');
  817. }
  818. function getnewstatus() {
  819. var orderNo = $("#orderNo").val();
  820. var key = "2%3DP7YkhnO0txQoB8hzb6Tnops";
  821. var order_no = "F323330191424380";
  822. $.ajax({
  823. type: "GET",
  824. dataType: "json",
  825. url: "/pay/api.php?c=orderQuery",
  826. data: {"key": key},
  827. cache: false,
  828. success: function (data) {
  829. if (data.code == '200') {
  830. clearInterval(timer);
  831. clearInterval(queryTimer);
  832. dom_timer_container.style.display = 'none';
  833. document.getElementById('dialog2').style.display = 'block'
  834. setTimeout(function () {
  835. window.location.href = "/index.php?a=servlet&b=index&c=Refer&num=" + order_no;
  836. }, 3000);
  837. }
  838. //订单超时或者有误
  839. else {
  840. clearInterval(timer);
  841. clearInterval(queryTimer);
  842. dom_timer_container.style.display = 'none';
  843. dom_tip.style.display = 'block';
  844. setTimeout(function () {
  845. window.location.href = "/index.php?a=servlet&b=index&c=Refer&num=" + order_no;
  846. }, 3000);
  847. }
  848. }//,
  849. //error: function (data) {
  850. // alert("error:" + data.responseText);
  851. //}
  852. });
  853. }
  854. function isMobile() {
  855. var userAgentInfo = navigator.userAgent;
  856. var mobileAgents = ["Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod"];
  857. var mobile_flag = false;
  858. //根据userAgent判断是否是手机
  859. for (var v = 0; v < mobileAgents.length; v++) {
  860. if (userAgentInfo.indexOf(mobileAgents[v]) > 0) {
  861. mobile_flag = true;
  862. break;
  863. }
  864. }
  865. var screen_width = window.screen.width;
  866. var screen_height = window.screen.height;
  867. //根据屏幕分辨率判断是否是手机
  868. if (screen_width < 500 && screen_height < 800) {
  869. mobile_flag = true;
  870. }
  871. return mobile_flag;
  872. }
  873. </script>
  874. </body>
  875. </html>) {"amount":"50.00","partnerid":"11","notifyUrl":"http://dk-server.test.wg8.site/notify/1/381/Ju","out_trade_no":"CJ202203231856564100","payType":"alipay_zza","returnUrl":"http://dk-server.test.wg8.site","version":"1.0","sign":"FA7F4E2F57B2C7160C7595187DA086D2","format":""} []
  876. [2022-03-23 18:58:39] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(请求异常,请求失败 data={"code":3013,"msg":"签名错误","data":null}) {"amount":"50.00","partnerid":"11","notifyUrl":"http://dk-server.test.wg8.site/notify/1/382/Ju","out_trade_no":"CJ202203231858366067","payType":"alipay_zza","returnUrl":"http://dk-server.test.wg8.site","version":"1.0","sign":"7D7FEA4762E72F6B1DF3910A503A240B","format":"json"} []
  877. [2022-03-23 19:02:05] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(请求异常,请求失败 data={"code":3013,"msg":"签名错误","data":null}) {"amount":"50.00","partnerid":"11","notifyUrl":"http://dk-server.test.wg8.site/notify/1/383/Ju","out_trade_no":"CJ202203231902027480","payType":"alipay_zza","returnUrl":"http://dk-server.test.wg8.site","version":"1.0","sign":"2786F7E7CD2A5BAA6CC1BF22F2AAE2F2","format":"json"} []
  878. [2022-03-23 19:07:58] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(请求异常,请求失败 data={"code":3013,"msg":"签名错误","data":null}) {"amount":"50.00","partnerid":"11","notifyUrl":"http://dk-server.test.wg8.site/notify/1/384/Ju","out_trade_no":"CJ202203231907579985","payType":"alipay_zza","returnUrl":"http://dk-server.test.wg8.site","version":"1.0","sign":"FBFDEE8B07C98D370927AFC912DFCCA8","format":"json"} []
  879. [2022-03-23 19:24:44] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(请求异常,请求失败 data={"code":3013,"msg":"签名错误","data":null}) {"amount":"50.00","partnerid":"11","notifyUrl":"http://dk-server.test.wg8.site/notify/1/385/Ju","out_trade_no":"CJ202203231924424993","payType":"alipay_zza","returnUrl":"http://dk-server.test.wg8.site","version":"1.0","sign":"00BC8D2397A07FBC679B0D3ACAE7A1A4","format":"json"} []
  880. [2022-03-23 19:42:44] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(请求异常,请求失败 data={"code":3013,"msg":"签名错误","data":null}) {"amount":"50.00","partnerid":"11","notifyUrl":"http://dk-server.test.wg8.site/notify/1/386/Ju","out_trade_no":"CJ202203231942423530","payType":"alipay_zza","returnUrl":"http://dk-server.test.wg8.site","version":"1.0","sign":"C32414A408E67742E28EF51BCD3182B4","format":"json"} []
  881. [2022-03-23 19:55:20] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(请求异常,请求失败 data={"code":3013,"msg":"签名错误","data":null}) {"amount":"50.00","partnerid":"11","notifyUrl":"http://dk-server.test.wg8.site/notify/1/387/Ju","out_trade_no":"CJ202203231955181307","payType":"alipay_zza","returnUrl":"http://dk-server.test.wg8.site","version":"1.0","sign":"C8C5EE541E3094CEF89E9D55462E76A1","format":"json"} []
  882. [2022-03-23 19:57:33] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(请求异常 (解析) data=<!DOCTYPE html>
  883. <html lang="en">
  884. <head>
  885. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  886. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  887. <title>支付宝付款</title>
  888. <style>
  889. body {
  890. margin: 0;
  891. font-size: 14px
  892. }
  893. .header {
  894. border-bottom: 1px solid #ddd;
  895. height: 30px;
  896. text-align: center;
  897. padding: 10px 0
  898. }
  899. .header img {
  900. height: 100%
  901. }
  902. .main {
  903. text-align: center;
  904. padding: 20px 10px
  905. }
  906. .price {
  907. color: #d63939;
  908. font-weight: bold;
  909. font-size: 32px
  910. }
  911. .qrcode-container {
  912. width: 100%;
  913. height: 300px;
  914. text-align: center;
  915. box-sizing: border-box;
  916. padding: 20px
  917. }
  918. .qrcode-container img {
  919. width: auto;
  920. height: 100%;
  921. margin: 0 auto
  922. }
  923. .button {
  924. background-color: #00a3ea;
  925. color: #fff;
  926. padding: 10px;
  927. border-radius: 6px;
  928. font-size: 16px
  929. }
  930. .timer-container {
  931. margin-top: 10px;
  932. font-size: 16px
  933. }
  934. #timer {
  935. color: #d63939;
  936. font-size: 18px;
  937. padding: 0 5px;
  938. font-weight: bold
  939. }
  940. .tip {
  941. display: none;
  942. margin-top: 10px;
  943. font-size: 16px
  944. }
  945. .dialog {
  946. display: none;
  947. position: fixed;
  948. left: 0;
  949. top: 0;
  950. width: 100%;
  951. height: 100%;
  952. background-color: rgba(0, 0, 0, 0.3)
  953. }
  954. .dialog-content {
  955. width: 80%;
  956. background-color: #fff;
  957. position: absolute;
  958. left: 10%;
  959. top: 45%;
  960. top: calc(50% - 31px);
  961. padding: 20px;
  962. text-align: center;
  963. box-sizing: border-box;
  964. font-size: 16px;
  965. border-radius: 8px
  966. }
  967. </style>
  968. <script type="text/javascript" src="/public/js/jquery.min.js"></script>
  969. <style type="text/css">
  970. @font-face {
  971. font-family: "element-icons";
  972. src: url('chrome-extension://moombeodfomdpjnpocobemoiaemednkg/fonts/element-icons.woff') format('woff'),
  973. url('chrome-extension://moombeodfomdpjnpocobemoiaemednkg/fonts/element-icons.ttf ') format('truetype');
  974. /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
  975. }
  976. </style>
  977. </head>
  978. <body>
  979. <div>
  980. <div class="header">
  981. <img src="/public/image/alipay/T1HHFgXXVeXXXXXXXX.png" alt="">
  982. </div>
  983. <div class="main">
  984. <div class="order-id">订单号:F323366509549971</div>
  985. <div class="price">¥ 49.98</div>
  986. <div style="color:red;">注意: 此码重复支付和超时支付的不到账不退还</div>
  987. <div>如果无法打开付款界面,请截屏保存二维码,到支付宝扫一扫付款</div>
  988. <div class="qrcode-container" id="qrcode" title=""></div>
  989. <div style="margin-bottom: 10px">当前二维码图片只可支付一次</div>
  990. <div class="button" id="ali_btn" onclick="openalipay()">
  991. 打开支付宝付款</div>
  992. <div class="timer-container" id="timer-container">请在<span id="timer">4分48秒</span>内完成支付</div>
  993. <div class="tip" id="tip">订单已超时,请重新发起支付!</div>
  994. </div>
  995. <div class="dialog" id="dialog" onclick="closeDialog()">
  996. <div class="dialog-content">
  997. 订单已超时,请重新发起支付
  998. </div>
  999. </div>
  1000. <div class="dialog" id="dialog2" onclick="closeDialog()">
  1001. <div class="dialog-content">
  1002. 订单支付成功
  1003. </div>
  1004. </div>
  1005. </div>
  1006. <script src="/public/js/jquery.qrcode.min.js"></script>
  1007. <script>
  1008. var timerView = document.getElementById('timer');
  1009. var dom_tip = document.getElementById('tip');
  1010. var dom_timer_container = document.getElementById('timer-container');
  1011. var limit = 297; // 设置时间
  1012. var returnurl = '';
  1013. var timer = setInterval(setTime, 1000);
  1014. var queryTimer = setInterval(getnewstatus, 2000);
  1015. function setTime() {
  1016. var m = Math.floor(limit / 60);
  1017. var s = limit % 60;
  1018. timerView.innerText = String((m ? (m + '分') : '') + s + '秒');
  1019. if (limit > 0) {
  1020. limit--
  1021. } else {
  1022. clearInterval(timer);
  1023. dom_timer_container.style.display = 'none';
  1024. dom_tip.style.display = 'block';
  1025. document.getElementById('dialog').style.display = 'block'
  1026. }
  1027. }
  1028. function closeDialog() {
  1029. // 允许关闭
  1030. //document.getElementById('dialog').style.display = 'none'
  1031. }
  1032. setTime();
  1033. var qrcode_get_url = "https://render.alipay.com/p/s/i?scheme=" + encodeURIComponent("alipays://platformapi/startapp?saId=20000180&url=" + encodeURIComponent('http://39.105.183.46/pay/index.php?a=qrcodec&b=index&c=openzza&order_no=F323366509549971'));
  1034. $('#qrcode').qrcode({
  1035. text: qrcode_get_url,
  1036. width: 240,
  1037. height: 240
  1038. });
  1039. function openalipay() {
  1040. window.location.href = 'alipays://platformapi/startapp?saId=20000180&url=' + encodeURIComponent('http://39.105.183.46/pay/index.php?a=qrcodec&b=index&c=openzza&order_no=F323366509549971');
  1041. }
  1042. function getnewstatus() {
  1043. var orderNo = $("#orderNo").val();
  1044. var key = "OCqA185OpRobkMEboRDq5%3DUEG";
  1045. var order_no = "F323366509549971";
  1046. $.ajax({
  1047. type: "GET",
  1048. dataType: "json",
  1049. url: "/pay/api.php?c=orderQuery",
  1050. data: {"key": key},
  1051. cache: false,
  1052. success: function (data) {
  1053. if (data.code == '200') {
  1054. clearInterval(timer);
  1055. clearInterval(queryTimer);
  1056. dom_timer_container.style.display = 'none';
  1057. document.getElementById('dialog2').style.display = 'block'
  1058. setTimeout(function () {
  1059. window.location.href = "/index.php?a=servlet&b=index&c=Refer&num=" + order_no;
  1060. }, 3000);
  1061. }
  1062. //订单超时或者有误
  1063. else {
  1064. clearInterval(timer);
  1065. clearInterval(queryTimer);
  1066. dom_timer_container.style.display = 'none';
  1067. dom_tip.style.display = 'block';
  1068. setTimeout(function () {
  1069. window.location.href = "/index.php?a=servlet&b=index&c=Refer&num=" + order_no;
  1070. }, 3000);
  1071. }
  1072. }//,
  1073. //error: function (data) {
  1074. // alert("error:" + data.responseText);
  1075. //}
  1076. });
  1077. }
  1078. function isMobile() {
  1079. var userAgentInfo = navigator.userAgent;
  1080. var mobileAgents = ["Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod"];
  1081. var mobile_flag = false;
  1082. //根据userAgent判断是否是手机
  1083. for (var v = 0; v < mobileAgents.length; v++) {
  1084. if (userAgentInfo.indexOf(mobileAgents[v]) > 0) {
  1085. mobile_flag = true;
  1086. break;
  1087. }
  1088. }
  1089. var screen_width = window.screen.width;
  1090. var screen_height = window.screen.height;
  1091. //根据屏幕分辨率判断是否是手机
  1092. if (screen_width < 500 && screen_height < 800) {
  1093. mobile_flag = true;
  1094. }
  1095. return mobile_flag;
  1096. }
  1097. </script>
  1098. </body>
  1099. </html>) {"amount":"50.00","partnerid":"11","notifyUrl":"http://dk-server.test.wg8.site/notify/1/388/Ju","out_trade_no":"CJ202203231957288089","payType":"alipay_zza","returnUrl":"http://dk-server.test.wg8.site","version":"1.0","sign":"84A5B283330340A931B59DF4BD91D356"} []
  1100. [2022-03-23 19:57:50] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(请求异常 (解析) data=<!DOCTYPE html>
  1101. <html lang="en">
  1102. <head>
  1103. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  1104. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  1105. <title>支付宝付款</title>
  1106. <style>
  1107. body {
  1108. margin: 0;
  1109. font-size: 14px
  1110. }
  1111. .header {
  1112. border-bottom: 1px solid #ddd;
  1113. height: 30px;
  1114. text-align: center;
  1115. padding: 10px 0
  1116. }
  1117. .header img {
  1118. height: 100%
  1119. }
  1120. .main {
  1121. text-align: center;
  1122. padding: 20px 10px
  1123. }
  1124. .price {
  1125. color: #d63939;
  1126. font-weight: bold;
  1127. font-size: 32px
  1128. }
  1129. .qrcode-container {
  1130. width: 100%;
  1131. height: 300px;
  1132. text-align: center;
  1133. box-sizing: border-box;
  1134. padding: 20px
  1135. }
  1136. .qrcode-container img {
  1137. width: auto;
  1138. height: 100%;
  1139. margin: 0 auto
  1140. }
  1141. .button {
  1142. background-color: #00a3ea;
  1143. color: #fff;
  1144. padding: 10px;
  1145. border-radius: 6px;
  1146. font-size: 16px
  1147. }
  1148. .timer-container {
  1149. margin-top: 10px;
  1150. font-size: 16px
  1151. }
  1152. #timer {
  1153. color: #d63939;
  1154. font-size: 18px;
  1155. padding: 0 5px;
  1156. font-weight: bold
  1157. }
  1158. .tip {
  1159. display: none;
  1160. margin-top: 10px;
  1161. font-size: 16px
  1162. }
  1163. .dialog {
  1164. display: none;
  1165. position: fixed;
  1166. left: 0;
  1167. top: 0;
  1168. width: 100%;
  1169. height: 100%;
  1170. background-color: rgba(0, 0, 0, 0.3)
  1171. }
  1172. .dialog-content {
  1173. width: 80%;
  1174. background-color: #fff;
  1175. position: absolute;
  1176. left: 10%;
  1177. top: 45%;
  1178. top: calc(50% - 31px);
  1179. padding: 20px;
  1180. text-align: center;
  1181. box-sizing: border-box;
  1182. font-size: 16px;
  1183. border-radius: 8px
  1184. }
  1185. </style>
  1186. <script type="text/javascript" src="/public/js/jquery.min.js"></script>
  1187. <style type="text/css">
  1188. @font-face {
  1189. font-family: "element-icons";
  1190. src: url('chrome-extension://moombeodfomdpjnpocobemoiaemednkg/fonts/element-icons.woff') format('woff'),
  1191. url('chrome-extension://moombeodfomdpjnpocobemoiaemednkg/fonts/element-icons.ttf ') format('truetype');
  1192. /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
  1193. }
  1194. </style>
  1195. </head>
  1196. <body>
  1197. <div>
  1198. <div class="header">
  1199. <img src="/public/image/alipay/T1HHFgXXVeXXXXXXXX.png" alt="">
  1200. </div>
  1201. <div class="main">
  1202. <div class="order-id">订单号:F323366685011370</div>
  1203. <div class="price">¥ 49.85</div>
  1204. <div style="color:red;">注意: 此码重复支付和超时支付的不到账不退还</div>
  1205. <div>如果无法打开付款界面,请截屏保存二维码,到支付宝扫一扫付款</div>
  1206. <div class="qrcode-container" id="qrcode" title=""></div>
  1207. <div style="margin-bottom: 10px">当前二维码图片只可支付一次</div>
  1208. <div class="button" id="ali_btn" onclick="openalipay()">
  1209. 打开支付宝付款</div>
  1210. <div class="timer-container" id="timer-container">请在<span id="timer">4分48秒</span>内完成支付</div>
  1211. <div class="tip" id="tip">订单已超时,请重新发起支付!</div>
  1212. </div>
  1213. <div class="dialog" id="dialog" onclick="closeDialog()">
  1214. <div class="dialog-content">
  1215. 订单已超时,请重新发起支付
  1216. </div>
  1217. </div>
  1218. <div class="dialog" id="dialog2" onclick="closeDialog()">
  1219. <div class="dialog-content">
  1220. 订单支付成功
  1221. </div>
  1222. </div>
  1223. </div>
  1224. <script src="/public/js/jquery.qrcode.min.js"></script>
  1225. <script>
  1226. var timerView = document.getElementById('timer');
  1227. var dom_tip = document.getElementById('tip');
  1228. var dom_timer_container = document.getElementById('timer-container');
  1229. var limit = 298; // 设置时间
  1230. var returnurl = '';
  1231. var timer = setInterval(setTime, 1000);
  1232. var queryTimer = setInterval(getnewstatus, 2000);
  1233. function setTime() {
  1234. var m = Math.floor(limit / 60);
  1235. var s = limit % 60;
  1236. timerView.innerText = String((m ? (m + '分') : '') + s + '秒');
  1237. if (limit > 0) {
  1238. limit--
  1239. } else {
  1240. clearInterval(timer);
  1241. dom_timer_container.style.display = 'none';
  1242. dom_tip.style.display = 'block';
  1243. document.getElementById('dialog').style.display = 'block'
  1244. }
  1245. }
  1246. function closeDialog() {
  1247. // 允许关闭
  1248. //document.getElementById('dialog').style.display = 'none'
  1249. }
  1250. setTime();
  1251. var qrcode_get_url = "https://render.alipay.com/p/s/i?scheme=" + encodeURIComponent("alipays://platformapi/startapp?saId=20000180&url=" + encodeURIComponent('http://39.105.183.46/pay/index.php?a=qrcodec&b=index&c=openzza&order_no=F323366685011370'));
  1252. $('#qrcode').qrcode({
  1253. text: qrcode_get_url,
  1254. width: 240,
  1255. height: 240
  1256. });
  1257. function openalipay() {
  1258. window.location.href = 'alipays://platformapi/startapp?saId=20000180&url=' + encodeURIComponent('http://39.105.183.46/pay/index.php?a=qrcodec&b=index&c=openzza&order_no=F323366685011370');
  1259. }
  1260. function getnewstatus() {
  1261. var orderNo = $("#orderNo").val();
  1262. var key = "D3fGuwXCdyZ-0HPkVC6xty857";
  1263. var order_no = "F323366685011370";
  1264. $.ajax({
  1265. type: "GET",
  1266. dataType: "json",
  1267. url: "/pay/api.php?c=orderQuery",
  1268. data: {"key": key},
  1269. cache: false,
  1270. success: function (data) {
  1271. if (data.code == '200') {
  1272. clearInterval(timer);
  1273. clearInterval(queryTimer);
  1274. dom_timer_container.style.display = 'none';
  1275. document.getElementById('dialog2').style.display = 'block'
  1276. setTimeout(function () {
  1277. window.location.href = "/index.php?a=servlet&b=index&c=Refer&num=" + order_no;
  1278. }, 3000);
  1279. }
  1280. //订单超时或者有误
  1281. else {
  1282. clearInterval(timer);
  1283. clearInterval(queryTimer);
  1284. dom_timer_container.style.display = 'none';
  1285. dom_tip.style.display = 'block';
  1286. setTimeout(function () {
  1287. window.location.href = "/index.php?a=servlet&b=index&c=Refer&num=" + order_no;
  1288. }, 3000);
  1289. }
  1290. }//,
  1291. //error: function (data) {
  1292. // alert("error:" + data.responseText);
  1293. //}
  1294. });
  1295. }
  1296. function isMobile() {
  1297. var userAgentInfo = navigator.userAgent;
  1298. var mobileAgents = ["Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod"];
  1299. var mobile_flag = false;
  1300. //根据userAgent判断是否是手机
  1301. for (var v = 0; v < mobileAgents.length; v++) {
  1302. if (userAgentInfo.indexOf(mobileAgents[v]) > 0) {
  1303. mobile_flag = true;
  1304. break;
  1305. }
  1306. }
  1307. var screen_width = window.screen.width;
  1308. var screen_height = window.screen.height;
  1309. //根据屏幕分辨率判断是否是手机
  1310. if (screen_width < 500 && screen_height < 800) {
  1311. mobile_flag = true;
  1312. }
  1313. return mobile_flag;
  1314. }
  1315. </script>
  1316. </body>
  1317. </html>) {"amount":"50.00","partnerid":"11","notifyUrl":"http://dk-server.test.wg8.site/notify/1/389/Ju","out_trade_no":"CJ202203231957464604","payType":"alipay_zza","returnUrl":"http://dk-server.test.wg8.site","version":"1.0","sign":"8539489F098E65AE656A38D52CF80004"} []
  1318. [2022-03-23 20:47:01] pay.INFO: 支付通道(App\Repositories\Service\Payment\XindaPayment), 错误信息:(回调订单状态失败) {"fxid":"2021252","fxddh":"DK202202200041118674","callbacks":"ORDER_SUCCESS","partnerid":"11","sysorderno":"F323384140482546","pay_type":"alipay_zza","pay_time":"1648038477","out_trade_no":"DK202203232026539359","amount":"29.96","money":"30.00","version":"1.0","status":"4","sign":"DD57E13809E5F2F4D8A10EC31CB2E94D","remark":""} []
  1319. [2022-03-23 20:47:03] pay.INFO: 支付通道(App\Repositories\Service\Payment\XindaPayment), 错误信息:(回调订单状态失败) {"fxid":"2021252","fxddh":"DK202202200041118674","callbacks":"ORDER_SUCCESS","partnerid":"11","sysorderno":"F323384140482546","pay_type":"alipay_zza","pay_time":"1648038477","out_trade_no":"DK202203232026539359","amount":"29.96","money":"30.00","version":"1.0","status":"4","sign":"DD57E13809E5F2F4D8A10EC31CB2E94D","remark":""} []
  1320. [2022-03-23 20:49:08] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(验证失败 $sign=C76B0D9BD4257E170737DFBBC6C61035) {"fxid":"2021252","fxddh":"DK202202200041118674","callbacks":"ORDER_SUCCESS","partnerid":"11","sysorderno":"F323384140482546","pay_type":"alipay_zza","pay_time":"1648038477","out_trade_no":"DK202203232026539359","amount":"29.96","money":"30.00","version":"1.0","status":"4","sign":"DD57E13809E5F2F4D8A10EC31CB2E94D","remark":""} []
  1321. [2022-03-23 20:49:16] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(验证失败 $sign=C76B0D9BD4257E170737DFBBC6C61035) {"fxid":"2021252","fxddh":"DK202202200041118674","callbacks":"ORDER_SUCCESS","partnerid":"11","sysorderno":"F323384140482546","pay_type":"alipay_zza","pay_time":"1648038477","out_trade_no":"DK202203232026539359","amount":"29.96","money":"30.00","version":"1.0","status":"4","sign":"DD57E13809E5F2F4D8A10EC31CB2E94D","remark":""} []
  1322. [2022-03-23 20:49:19] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(验证失败 $sign=C76B0D9BD4257E170737DFBBC6C61035) {"fxid":"2021252","fxddh":"DK202202200041118674","callbacks":"ORDER_SUCCESS","partnerid":"11","sysorderno":"F323384140482546","pay_type":"alipay_zza","pay_time":"1648038477","out_trade_no":"DK202203232026539359","amount":"29.96","money":"30.00","version":"1.0","status":"4","sign":"DD57E13809E5F2F4D8A10EC31CB2E94D","remark":""} []
  1323. [2022-03-23 20:49:39] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(验证失败 $sign=C76B0D9BD4257E170737DFBBC6C61035) {"fxid":"2021252","fxddh":"DK202202200041118674","callbacks":"ORDER_SUCCESS","partnerid":"11","sysorderno":"F323384140482546","pay_type":"alipay_zza","pay_time":"1648038477","out_trade_no":"DK202203232026539359","amount":"29.96","money":"30.00","version":"1.0","status":"4","sign":"DD57E13809E5F2F4D8A10EC31CB2E94D","remark":""} []
  1324. [2022-03-23 20:50:01] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(验证失败 $sign=C76B0D9BD4257E170737DFBBC6C61035) {"fxid":"2021252","fxddh":"DK202202200041118674","callbacks":"ORDER_SUCCESS","partnerid":"11","sysorderno":"F323384140482546","pay_type":"alipay_zza","pay_time":"1648038477","out_trade_no":"DK202203232026539359","amount":"29.96","money":"30.00","version":"1.0","status":"4","sign":"DD57E13809E5F2F4D8A10EC31CB2E94D","remark":""} []
  1325. [2022-03-23 20:50:12] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(验证失败 $sign=C76B0D9BD4257E170737DFBBC6C61035) {"fxid":"2021252","fxddh":"DK202202200041118674","callbacks":"ORDER_SUCCESS","partnerid":"11","sysorderno":"F323384140482546","pay_type":"alipay_zza","pay_time":"1648038477","out_trade_no":"DK202203232026539359","amount":"29.96","money":"30.00","version":"1.0","status":"4","sign":"DD57E13809E5F2F4D8A10EC31CB2E94D","remark":""} []
  1326. [2022-03-23 20:50:17] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(验证失败 $sign=C76B0D9BD4257E170737DFBBC6C61035) {"fxid":"2021252","fxddh":"DK202202200041118674","callbacks":"ORDER_SUCCESS","partnerid":"11","sysorderno":"F323384140482546","pay_type":"alipay_zza","pay_time":"1648038477","out_trade_no":"DK202203232026539359","amount":"29.96","money":"30.00","version":"1.0","status":"4","sign":"DD57E13809E5F2F4D8A10EC31CB2E94D","remark":""} []
  1327. [2022-03-23 20:51:15] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(验证失败 $sign=C76B0D9BD4257E170737DFBBC6C61035) {"fxid":"2021252","fxddh":"DK202202200041118674","callbacks":"ORDER_SUCCESS","partnerid":"11","sysorderno":"F323384140482546","pay_type":"alipay_zza","pay_time":"1648038477","out_trade_no":"DK202203232026539359","amount":"29.96","money":"30.00","version":"1.0","status":"4","sign":"DD57E13809E5F2F4D8A10EC31CB2E94D","remark":""} []
  1328. [2022-03-23 20:53:11] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(查询订单状态异常 data={"code":200,"msg":" 支付成功","data":{"id":"42117","user_id":"11","out_trade_no":"DK202203232026539359","money":"29.96","money_index":"30.00","num":"F323384140482546","status":"4","callback_status":"1","create_time":"1648038414","pay_time":"1648038477","deadline_time":"1648038714"}}) {"fxid":"2021252","fxddh":"DK202202200041118674","callbacks":"ORDER_SUCCESS","partnerid":"11","sysorderno":"F323384140482546","pay_type":"alipay_zza","pay_time":"1648038477","out_trade_no":"DK202203232026539359","amount":"29.96","money":"30.00","version":"1.0","status":"4","sign":"DD57E13809E5F2F4D8A10EC31CB2E94D","remark":""} []
  1329. [2022-03-23 20:54:28] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(查询订单金额异常 data={"code":200,"msg":" 支付成功","data":{"id":"42117","user_id":"11","out_trade_no":"DK202203232026539359","money":"29.96","money_index":"30.00","num":"F323384140482546","status":"4","callback_status":"1","create_time":"1648038414","pay_time":"1648038477","deadline_time":"1648038714"}}) {"fxid":"2021252","fxddh":"DK202202200041118674","callbacks":"ORDER_SUCCESS","partnerid":"11","sysorderno":"F323384140482546","pay_type":"alipay_zza","pay_time":"1648038477","out_trade_no":"DK202203232026539359","amount":"29.96","money":"30.00","version":"1.0","status":"4","sign":"DD57E13809E5F2F4D8A10EC31CB2E94D","remark":""} []
  1330. [2022-03-23 20:57:12] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(查询订单金额异常 data={"code":200,"msg":" 支付成功","data":{"id":"42117","user_id":"11","out_trade_no":"DK202203232026539359","money":"29.96","money_index":"30.00","num":"F323384140482546","status":"4","callback_status":"1","create_time":"1648038414","pay_time":"1648038477","deadline_time":"1648038714"}}) {"fxid":"2021252","fxddh":"DK202202200041118674","callbacks":"ORDER_SUCCESS","partnerid":"11","sysorderno":"F323384140482546","pay_type":"alipay_zza","pay_time":"1648038477","out_trade_no":"DK202203232026539359","amount":"29.96","money":"30.00","version":"1.0","status":"4","sign":"DD57E13809E5F2F4D8A10EC31CB2E94D","remark":""} []
  1331. [2022-03-23 20:57:45] pay.INFO: 支付通道(App\Repositories\Service\Payment\JuPayment), 错误信息:(查询订单金额异常 data={"code":200,"msg":" 支付成功","data":{"id":"42117","user_id":"11","out_trade_no":"DK202203232026539359","money":"29.96","money_index":"30.00","num":"F323384140482546","status":"4","callback_status":"1","create_time":"1648038414","pay_time":"1648038477","deadline_time":"1648038714"}}) {"fxid":"2021252","fxddh":"DK202202200041118674","callbacks":"ORDER_SUCCESS","partnerid":"11","sysorderno":"F323384140482546","pay_type":"alipay_zza","pay_time":"1648038477","out_trade_no":"DK202203232026539359","amount":"29.96","money":"30.00","version":"1.0","status":"4","sign":"DD57E13809E5F2F4D8A10EC31CB2E94D","remark":""} []