$userRepo $userRepo : \Core\Repositories\Admin\UserRepository Type \Core\Repositories\Admin\UserRepository
$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
index() index() : \Psr\Http\Message\ResponseInterface index 用户列表,用户管理 User:YM Date:2020/2/5 Time:下午4:05 Returns \Psr\Http\Message\ResponseInterface
store() store() : \Psr\Http\Message\ResponseInterface store 保存,新建、编辑都用该方法,区别是否有主键id User:YM Date:2020/2/5 Time:下午5:01 Throws \Exception Returns \Psr\Http\Message\ResponseInterface
getInfo() getInfo() : \Psr\Http\Message\ResponseInterface getInfo 根据id获取单条记录信息 User:YM Date:2020/2/5 Time:下午4:25 Returns \Psr\Http\Message\ResponseInterface
destroy() destroy() : \Psr\Http\Message\ResponseInterface destroy 删除用户 User:YM Date:2020/2/5 Time:下午4:26 Returns \Psr\Http\Message\ResponseInterface
getRoles() getRoles() : \Psr\Http\Message\ResponseInterface getRoles 获取绑定角色信息 User:YM Date:2020/2/5 Time:下午4:26 Returns \Psr\Http\Message\ResponseInterface
getModuleName() getModuleName() : string getModuleName 获取所属模块 User:YM Date:2019/11/21 Time:上午9:32 Returns string