提交 164d5c81 authored 作者: chengye's avatar chengye

test

上级 e778f374
...@@ -120,7 +120,6 @@ class Payment ...@@ -120,7 +120,6 @@ class Payment
$res = (new Invoice())->writeOffFromPayment($account_id, $payment_id); $res = (new Invoice())->writeOffFromPayment($account_id, $payment_id);
} catch (\Exception $e){ } catch (\Exception $e){
$res = $e->getMessage(); $res = $e->getMessage();
Log::error('##res##:'.$res);
} }
return $res; return $res;
} }
......
...@@ -327,6 +327,7 @@ class Invoice extends Base ...@@ -327,6 +327,7 @@ class Invoice extends Base
//从缴费单消账单 //从缴费单消账单
public function writeOffFromPayment($account_id,$payment_id){ public function writeOffFromPayment($account_id,$payment_id){
return 'aaaaaaa';
Log::info('触发销账:'.$account_id.' | '.$payment_id); Log::info('触发销账:'.$account_id.' | '.$payment_id);
//获取缴费单对象 //获取缴费单对象
$payment = EmPayment::where('payment_id','=',$payment_id)->find(); $payment = EmPayment::where('payment_id','=',$payment_id)->find();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论