作者 lyh

gx

... ... @@ -56,7 +56,6 @@ class ProductController extends BaseController
$map[] = ['status', $this->param['status']];
}
$sort = ['id' => 'desc'];
$data = $logic->getList($map, $sort, ['id', 'project_id', 'title', 'thumb', 'product_type' , 'route' ,'category_id', 'keyword_id', 'status', 'created_uid', 'created_at', 'updated_at'],$this->row);
return $this->response('success',Code::SUCCESS,$data);
}
... ...
... ... @@ -36,7 +36,7 @@ class BaseLogic extends Logic
$this->request = request();
$this->requestAll = request()->all();
$this->user = Cache::get(request()->header('token'));
$this->project = (new ProjectLogic())->getProjectInfo($this->user['project_id']);
$this->project = (new ProjectLogic())->getInfo($this->user['project_id']);
}
... ...