mirror of
				https://gitee.com/zoujingli/ThinkAdmin.git
				synced 2025-10-31 04:02:07 +08:00 
			
		
		
		
	[更新]修改微信支付测试退款操作
This commit is contained in:
		
							parent
							
								
									55a01718c4
								
							
						
					
					
						commit
						75b2bc83e8
					
				| @ -98,7 +98,7 @@ | ||||
| 
 | ||||
|         var isShow = false; | ||||
|         var timer = null; | ||||
| 
 | ||||
|         var layIndex =0; | ||||
|         /*! 支付测试动作 */ | ||||
|         function payTest() { | ||||
|             $.form.load('{:url("pay")}?action=payqrc', {}, 'get', function (ret) { | ||||
| @ -121,6 +121,7 @@ | ||||
|                             }, | ||||
|                             success: function (layero, index) { | ||||
|                                 isShow = true; | ||||
|                                 layIndex = index; | ||||
|                                 timer = setInterval(payTest, 3000); | ||||
|                             } | ||||
|                         }); | ||||
| @ -137,6 +138,7 @@ | ||||
|             $.form.load('{:url("pay")}?action=refund', {}, 'get', function (ret) { | ||||
|                 if (ret.code === 1) { | ||||
|                     timer && window.clearInterval(timer), timer = null; | ||||
|                     $.msg.close(layIndex); | ||||
|                     return $.msg.success(ret.msg, 3), false; | ||||
|                 } | ||||
|             }); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user