$menuRepo $menuRepo : \Core\Repositories\Admin\MenuRepository Type \Core\Repositories\Admin\MenuRepository
$request $request : \Hyperf\HttpServer\Contract\RequestInterface Type \Hyperf\HttpServer\Contract\RequestInterface
$validation $validation : \Hyperf\Validation\Contract\ValidatorFactoryInterface Type \Hyperf\Validation\Contract\ValidatorFactoryInterface
__get() __get( $key) : \Psr\Container\ContainerInterface|void __get 隐式注入仓库类 User:YM Date:2019/11/21 Time:上午9:27 Parameters $key Returns \Psr\Container\ContainerInterface|void
getRepositoriesInstance() getRepositoriesInstance( $key) : mixed getRepositoriesInstance 获取仓库类实例 User:YM Date:2019/11/21 Time:上午10:30 Parameters $key Returns mixed
success() success(array $data = array(), null $msg = null) : \Psr\Http\Message\ResponseInterface success 成功返回请求结果 User:YM Date:2019/11/20 Time:下午3:56 Parameters array $data null $msg Returns \Psr\Http\Message\ResponseInterface
error() error(integer $code = \App\Constants\StatusCode::ERR_EXCEPTION, null $msg = null) : \Psr\Http\Message\ResponseInterface error 业务相关错误结果返回 User:YM Date:2019/11/20 Time:下午3:56 Parameters integer $code null $msg Returns \Psr\Http\Message\ResponseInterface
getUserMenu() getUserMenu() : \Psr\Http\Message\ResponseInterface getUserMenu 获取用户权限对应的菜单 User:YM Date:2020/1/11 Time:下午2:47 Returns \Psr\Http\Message\ResponseInterface
index() index() : \Psr\Http\Message\ResponseInterface index 函数的含义说明 User:YM Date:2020/2/3 Time:下午12:20 Returns \Psr\Http\Message\ResponseInterface
getPermissions() getPermissions() : \Psr\Http\Message\ResponseInterface getPermissions 获取权限列表,创建菜单需要配置权限 User:YM Date:2020/2/3 Time:下午4:04 Returns \Psr\Http\Message\ResponseInterface
store() store() : \Psr\Http\Message\ResponseInterface store 菜单保存,新建、编辑都用该方法,区别是否有主键id User:YM Date:2020/2/3 Time:下午4:46 Returns \Psr\Http\Message\ResponseInterface
getInfo() getInfo() : \Psr\Http\Message\ResponseInterface getInfo 根据id获取单条记录信息 User:YM Date:2020/2/3 Time:下午4:47 Returns \Psr\Http\Message\ResponseInterface
orderMenu() orderMenu() : \Psr\Http\Message\ResponseInterface orderMenu 菜单的拖拽排序 User:YM Date:2020/2/3 Time:下午6:05 Returns \Psr\Http\Message\ResponseInterface
destroy() destroy() : \Psr\Http\Message\ResponseInterface destroy 删除菜单 User:YM Date:2020/2/3 Time:下午6:06 Returns \Psr\Http\Message\ResponseInterface
getModuleName() getModuleName() : string getModuleName 获取所属模块 User:YM Date:2019/11/21 Time:上午9:32 Returns string