更新
This commit is contained in:
parent
227468a8f8
commit
9122fa5e32
@ -90,6 +90,7 @@ class InformationController extends BaseApiController
|
||||
$extend=$task['extend'];
|
||||
$extend['informationg_demand']=$res['id'];
|
||||
$task->extend=json_encode($extend);
|
||||
$task->status=3;
|
||||
$task->save();
|
||||
}
|
||||
|
||||
|
@ -13,6 +13,7 @@ class TaskController extends BaseApiController{
|
||||
$where[]=['company_id','=',$this->userInfo['company_id']];
|
||||
}else{
|
||||
$where[]=['director_uid','=',$this->userId];
|
||||
$where[]=['status','=',1];
|
||||
}
|
||||
$res=Task::where($where)
|
||||
->field(['id', 'title','money','template_id','director_uid', 'company_id', 'start_time', 'end_time', 'director_uid', 'type', 'status', 'content','extend'])
|
||||
|
Loading…
x
Reference in New Issue
Block a user