{"id":25046117,"url":"https://github.com/digi1874/api.ys1994-user","last_synced_at":"2025-09-04T03:33:40.077Z","repository":{"id":97327031,"uuid":"267491289","full_name":"digi1874/api.ys1994-user","owner":"digi1874","description":"用户接口","archived":false,"fork":false,"pushed_at":"2020-05-28T06:13:20.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-31T01:24:47.881Z","etag":null,"topics":["user-api"],"latest_commit_sha":null,"homepage":"https://www.ys1994.nl/","language":"Go","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/digi1874.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-28T04:16:42.000Z","updated_at":"2020-05-28T06:14:43.000Z","dependencies_parsed_at":"2023-04-14T06:16:39.315Z","dependency_job_id":null,"html_url":"https://github.com/digi1874/api.ys1994-user","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/digi1874/api.ys1994-user","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digi1874%2Fapi.ys1994-user","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digi1874%2Fapi.ys1994-user/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digi1874%2Fapi.ys1994-user/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digi1874%2Fapi.ys1994-user/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/digi1874","download_url":"https://codeload.github.com/digi1874/api.ys1994-user/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digi1874%2Fapi.ys1994-user/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273547560,"owners_count":25125088,"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","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["user-api"],"created_at":"2025-02-06T06:35:16.486Z","updated_at":"2025-09-04T03:33:40.046Z","avatar_url":"https://github.com/digi1874.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 用户接口\n* [前端网站](https://account.ys1994.nl/)\n* [前端项目](https://github.com/digi1874/account.ys1994)\n\n## 构建\n\u003e 依赖\n\u003e 1. go 1.13+\n\u003e 2. mysql (4.1+，本项目开发时使用5.7；库需要设置为utf8mb4)\n\u003e 3. 项目根目录下创建文件db.json连接mysql数据库\n\u003e\u003e ./db.json\n\u003e\u003e ```\n\u003e\u003e {\n\u003e\u003e   \"user\": \"用户名\",\n\u003e\u003e   \"password\": \"密码\",\n\u003e\u003e   \"localhost\": \"地址\",\n\u003e\u003e   \"databaseName\": \"库名\"\n\u003e\u003e }\n\u003e\u003e ```\n\u003e\u003e #\n\u003e ```\n\u003e # 开发，开启http://localhost:8031/\n\u003e $ go run main.go -env=dev\n\u003e\n\u003e # 生产程序\n\u003e $ go build\n\u003e ```\n\u003e #\n\n## 接口说明\n\u003e * response status code:\n\u003e\u003e 1. 200: 确定\n\u003e\u003e 2. 400: 错误\n\u003e\u003e 3. 401: 无权限，token无效\n\u003e\u003e 4. 404: 不存在\n\u003e * response data msg: 回应说明\n\u003e #\n\u003e 1. 获取\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigi1874%2Fapi.ys1994-user","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdigi1874%2Fapi.ys1994-user","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigi1874%2Fapi.ys1994-user/lists"}