|  | @@ -1221,11 +1221,9 @@ class WholeController extends Curd
 | 
	
		
			
				|  |  |                      'refund_desc' => '退款',
 | 
	
		
			
				|  |  |                  ];
 | 
	
		
			
				|  |  |                  $res = Pay::wechat(config('payment.wxpay'))->refund($wxRefundData);
 | 
	
		
			
				|  |  | +                dump($res);
 | 
	
		
			
				|  |  |                  file_put_contents(runtime_path('logs/wxpay.log'), $res);
 | 
	
		
			
				|  |  |                  $resArray = json_decode($res, true);
 | 
	
		
			
				|  |  | -                
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -                throw new PayException('退款失败,原因:未完全接入');
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |              } else if ($payDetail->pay_prepayid == 'ALIPAY') {
 | 
	
		
			
				|  |  |                  // 退款
 | 
	
	
		
			
				|  | @@ -1238,8 +1236,6 @@ class WholeController extends Curd
 | 
	
		
			
				|  |  |                  file_put_contents(runtime_path('logs/alipay.log'), $res);
 | 
	
		
			
				|  |  |                  $resArray = json_decode($res, true);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -                throw new PayException('退款失败,原因:未完全接入');
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |              } else if (isset($payType[1]) && $payType[1] == 'CASH') {  // 余额支付
 | 
	
		
			
				|  |  |                  $account = MemberAccount::where('join_account_member_id', $order->join_order_member_id)
 | 
	
		
			
				|  |  |                      ->where('member_account_classify', 'CASH')
 | 
	
	
		
			
				|  | @@ -1346,7 +1342,7 @@ class WholeController extends Curd
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |              dump($e->getMessage());
 | 
	
		
			
				|  |  |              dump($e->getTrace());
 | 
	
		
			
				|  |  | -            
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |              _syslog("退款", "发起退款", $e->getMessage(), $data);
 | 
	
		
			
				|  |  |              return json_fail($e->getMessage());
 | 
	
		
			
				|  |  |          } catch (\Exception $e) {
 |