|
|
@@ -502,7 +502,7 @@ class ServiceWorkLogic extends BaseLogic
|
|
|
ServiceWorkLogLogic::add($work_log);
|
|
|
Db::commit();
|
|
|
|
|
|
- $rechargeOrder = \app\common\model\orders\RechargeOrder::where('work_id',$work->id)
|
|
|
+ /*$rechargeOrder = \app\common\model\orders\RechargeOrder::where('work_id',$work->id)
|
|
|
->where('payment_type',0)
|
|
|
->where('pay_status',1)
|
|
|
->findOrEmpty();
|
|
|
@@ -514,7 +514,15 @@ class ServiceWorkLogic extends BaseLogic
|
|
|
'real_name'=>$work->real_name,
|
|
|
]
|
|
|
]);
|
|
|
- }
|
|
|
+ }*/
|
|
|
+
|
|
|
+ ServiceOrderLogic::confirmServiceFinish([
|
|
|
+ 'user_id'=>$work->user_id,
|
|
|
+ 'sn'=>$rechargeOrder->sn,
|
|
|
+ 'user_info'=>[
|
|
|
+ 'real_name'=>$work->real_name,
|
|
|
+ ]
|
|
|
+ ]);
|
|
|
|
|
|
// 外部平台工单 - 通知外边平台
|
|
|
if($work->external_platform_id > 0){
|