dataLists(new infoLists()); } /** * @notes 宣传分类列表 * @return \think\response\Json * @author Tab * @date 2021/7/14 14:57 */ public function getInfoCategoryList() { return $this->dataLists(new InfoCategoryLists()); } /** * @notes 交通信息列表 * @return \think\response\Json * @author Tab * @date 2021/7/14 14:57 */ public function trafficInfoList() { return $this->dataLists(new TrafficInfoLists()); } /** * @notes 信息详情 * @return \think\response\Json * @author Tab * @date 2021/7/14 15:06 */ public function detail() { $params = $this->request->get(); $result = InfoLogic::detail($params); return $this->data($result); } }