Browse Source

修改拼团

dongxiaoqin 1 year ago
parent
commit
ef9049eb2c
1 changed files with 2 additions and 1 deletions
  1. 2 1
      app/adminapi/logic/works/GroupServiceWorkLogic.php

+ 2 - 1
app/adminapi/logic/works/GroupServiceWorkLogic.php

@@ -97,7 +97,7 @@ class GroupServiceWorkLogic extends BaseLogic
 
             //给客户发送工单验证码
             event('Notice',  [
-                'scene_id' => 105,
+                'scene_id' => 128,
                 'params' => [
                     'user_id' => 0,
                     'mobile' => $work->mobile,
@@ -132,6 +132,7 @@ class GroupServiceWorkLogic extends BaseLogic
                 throw new Exception('请勿重复操作');
             }
 
+            $work->finished_time = time();//完成时间
             $work->finished_images = $params['finished_images'];
             $work->user_confirm_status = 5;//用户确认完成
             $work->work_status = 7;//服务工单已完结