作者 lyh

gx

... ... @@ -94,7 +94,7 @@ class CategoryController extends BaseController
],[
'id.required' => 'ID不能为空'
]);
$data = $logic->getInfo($this->param['id']);
$data = $logic->getCateInfo($this->param['id']);
return $this->success($data);
}
... ...
... ... @@ -47,7 +47,7 @@ class CategoryLogic extends BaseLogic
* @method :post
* @time :2023/8/21 17:14
*/
public function getInfo($id)
public function getCateInfo($id)
{
$info = $this->model->read(['id'=>$id]);
$info['url'] = $this->user['domain'] . $info['route'];
... ...