whitefang 1 éve
szülő
commit
a88754e901

+ 1 - 0
app/common/model/works/ServiceWork.php

@@ -67,6 +67,7 @@ class ServiceWork extends BaseModel
 
     public function getUserServiceStatusAttr($value,$work)
     {
+
         $user_status = 0;
         //用户订单状态
         if($work['work_status']>=2 && $work['work_status']<4){

+ 3 - 0
app/workerapi/lists/ServiceWorkLists.php

@@ -64,6 +64,9 @@ class ServiceWorkLists extends BaseWorkerDataLists
             case 3:
                 $where['approval'] = 0;
                 break;
+            case 4:
+                $where['work_status'] = 7;
+                break;
         }
 
         $list = ServiceWork::where($where)