request->post('type/a'); $data = getdictionarylist($type); return $this->responseSuccess($data,true); } /** * @api {get} admin/Dictionary/cleanDictionary 清除数据字典 */ public function cleanDictionary() { cache('dic_list', ''); return $this->buildSuccess(); } }