~~~ <?php return [ '__pattern__' => [ 'id' => '\d+', 'cityid' => '\d+', 'name'=>'[A-Za-z0-9]+', ], //信息查询接口 "[search]"=>[ 'help'=>['api/search/superHelp'], '/:name'=>['api/search/superSearchByName?name=:name'], ], //获取字段参数信息接口 "[getOptions]"=>[ 'help'=>['api/search/superHelp'], '/:name'=>['api/search/getSearchOptionsByName?name=:name'], ], //获取简单字段信息接口 "[getField]"=>[ 'help'=>['api/search/superHelp'], '/:name'=>['api/search/getSearchFieldByName?name=:name'], ], //详情接口 "[detail]"=>[ 'help'=>['api/search/superHelp'], 'info/:id'=>['api/search/superInfo'], 'mini/:id'=>['api/search/superInfoMini'], ], // 发布接口 "[publish]"=>[ 'help'=>['api/search/superHelp'], '/:name'=>['api/search/superPublishByName?name=:name'], ], // 获取发布字段 "[getPublishField]"=>[ 'help'=>['api/search/superHelp'], '/:name'=>['api/search/superPublishFieldByName?name=:name'], ], // 获取子栏目接口 "[childCategoryList]"=>[ 'help'=>['api/search/superHelp'], '/:name'=>['api/search/superChildCategoryListByName?name=:name'], ], '[system]'=>[ 'clearCache'=>'api/search/clearCache', ], ] } ~~~