|
...
|
...
|
@@ -60,10 +60,10 @@ class TaskLogic extends BaseLogic |
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public function getInfo($id)
|
|
|
|
public function getTaskInfo($id)
|
|
|
|
{
|
|
|
|
parent::setWith(['owner', 'follow']); //删除缓存要添加带with的cache_key
|
|
|
|
return parent::getInfo($id);
|
|
|
|
$info = $this->model->where(['id'=>$id])->with('owner')->with('follow')->first();
|
|
|
|
return $this->success($info);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function save($param){
|
...
|
...
|
|