{"id":22760775,"url":"https://github.com/yaoshanliang/ucenter","last_synced_at":"2025-04-14T19:20:22.331Z","repository":{"id":34257275,"uuid":"38141849","full_name":"yaoshanliang/ucenter","owner":"yaoshanliang","description":"用户中心 统一身份认证","archived":false,"fork":false,"pushed_at":"2018-12-15T06:10:43.000Z","size":21713,"stargazers_count":81,"open_issues_count":1,"forks_count":27,"subscribers_count":12,"default_branch":"dev","last_synced_at":"2025-03-28T07:41:23.909Z","etag":null,"topics":["laravel","php","ucenter"],"latest_commit_sha":null,"homepage":"http://ucenter.iat.net.cn","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yaoshanliang.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-27T01:26:30.000Z","updated_at":"2024-12-03T06:58:06.000Z","dependencies_parsed_at":"2022-08-19T01:20:54.414Z","dependency_job_id":null,"html_url":"https://github.com/yaoshanliang/ucenter","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaoshanliang%2Fucenter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaoshanliang%2Fucenter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaoshanliang%2Fucenter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaoshanliang%2Fucenter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yaoshanliang","download_url":"https://codeload.github.com/yaoshanliang/ucenter/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248943428,"owners_count":21186958,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["laravel","php","ucenter"],"created_at":"2024-12-11T09:08:27.811Z","updated_at":"2025-04-14T19:20:22.308Z","avatar_url":"https://github.com/yaoshanliang.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 用户中心\n\n#### ——“统一身份认证服务”、“用户系统”、“权限系统”、“日志系统”、“文件系统”、“邮件服务”、“短信服务”\n\n*地址: [http://ucenter.iat.net.cn](http://ucenter.iat.net.cn)*\n\n* 用户名：admin 密码：123456\n\n*开放平台: [http://yaoshanliang.github.io/ucenter-open](http://yaoshanliang.github.io/ucenter-open)*\n\n* [Laravel](http://laravel.com)\n* [Bootstrap](http://getbootstrap.com)\n* [Redis](http://redis.io)\n* [DataTables](http://datatables.net)\n* [phpsms](https://github.com/yaoshanliang/phpsms)\n* [dingo/api](https://github.com/dingo/api)\n\n## 安装配置\n\n1、下载源码\n```\ngit clone https://github.com/yaoshanliang/ucenter.git\n```\n或者\n```\ncomposer require yaoshanliang/ucenter\n```\n\n2、一些权限\n```\nchmod -R 777 storage\nchmod -R 777 bootstrap/cache\n```\n\n3、安装依赖\n```\ncomposer install\n```\n\n4、配置\n```\ncp .env.example .env\n```\n修改为自己的配置\n\n5、执行数据库迁移\n```\nphp artisan migrate\n```\n\n6、导入数据\n```\nphp artisan db:seed\n```\n\n7、cache写入\n\n访问/api/sys/cache\n\n8、登录\n\n用户名：admin 密码：123456\n\n## Q\u0026A\n\n#### 1、开发者开发的流程？\n\n* （1）创建应用\n* （2）调用API进行开发\n* （3）用户分配\n* （4）权限分配\n* （5）应用上线\n\n\n#### 2、应用中的用户怎么来？\n\n* 自行注册，申请某个应用的访问权限，待应用管理员允许后方可登陆访问；\n* 应用管理员从用户库中选择可以访问的用户，用户库中不存在时可添加(导入)用户；\n\n\n#### 3、应用中的用户权限怎么管理？\n\n* 应用管理员在用户中心的后台管理中选择可访问的用户，分配相应的角色。\n\n#### 4、一个用户可以多个角色吗？\n\n* 可以。可以在应用中进行角色的切换，应用管理员需设置用户的默认角色；如：应用开发者也是应用管理员的角色。\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyaoshanliang%2Fucenter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyaoshanliang%2Fucenter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyaoshanliang%2Fucenter/lists"}