@@ -21,7 +21,7 @@ class NoticeController extends webApp
public function info()
{
$id = request()->post('id', 0);
- $info = NoticeModel::getInfo($id);
+ $info = $this->model->getInfo($id);
return message(1010, true, $info);
}
@@ -33,7 +33,6 @@ class NoticeModel extends BaseModel
public function getInfo($id)
$info = parent::getInfo($id); // TODO: Change the autogenerated stub
-
return $info;