|
|
|
|
@ -41,7 +41,7 @@ class Refund extends SoftDeletesModel
|
|
|
|
|
|
|
|
|
|
public function order()
|
|
|
|
|
{
|
|
|
|
|
return $this->belongsTo(Orders::class);
|
|
|
|
|
return $this->belongsTo(Orders::class)->withTrashed();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function patient()
|
|
|
|
|
@ -96,7 +96,6 @@ class Refund extends SoftDeletesModel
|
|
|
|
|
public function weixinRefund()
|
|
|
|
|
{
|
|
|
|
|
$order = $this->order;
|
|
|
|
|
dump($this);
|
|
|
|
|
$url = "https://api.mch.weixin.qq.com/secapi/pay/refund";
|
|
|
|
|
$CommonUtilPub = new \CommonUtilPub($order->project_id);
|
|
|
|
|
$WxPayConfPub = new \WxPayConfPub($order->project_id);
|
|
|
|
|
|