You've already forked qlg.tsgz.moe
							
							同意退款逻辑
This commit is contained in:
		@@ -220,6 +220,7 @@ class OrderRefunds extends Base{
 | 
			
		||||
				        WSTWxMessage(['CODE'=>'WX_ORDER_REFUND_FAIL','userId'=>$order['userId'],'URL'=>Url('wechat/orders/index','',true,true),'params'=>$params]);
 | 
			
		||||
					}  
 | 
			
		||||
            	}else{
 | 
			
		||||
                    Db::name('orders')->where('orderId',$object->orderId)->update(['isRefund'=>1]);
 | 
			
		||||
            		//判断是否需要发送管理员短信
 | 
			
		||||
					$tpl = WSTMsgTemplates('PHONE_ADMIN_REFUND_ORDER');
 | 
			
		||||
					if((int)WSTConf('CONF.smsOpen')==1 && (int)WSTConf('CONF.smsRefundOrderTip')==1 &&  $tpl['tplContent']!='' && $tpl['status']=='1'){
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user