{"id":16742058,"url":"https://github.com/fengwenyi/api-result","last_synced_at":"2025-09-11T02:15:32.875Z","repository":{"id":48786404,"uuid":"200633982","full_name":"fengwenyi/api-result","owner":"fengwenyi","description":"一套API接口响应参数规范化解决方案","archived":false,"fork":false,"pushed_at":"2024-09-02T13:02:03.000Z","size":215,"stargazers_count":24,"open_issues_count":0,"forks_count":14,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-27T16:22:32.281Z","etag":null,"topics":["api","api-result","spring-boot"],"latest_commit_sha":null,"homepage":"https://www.yuque.com/fengwenyi/quick-forge/ukdeao","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fengwenyi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2019-08-05T10:27:30.000Z","updated_at":"2024-08-11T11:26:12.000Z","dependencies_parsed_at":"2024-10-27T11:52:00.784Z","dependency_job_id":"1fe11c43-0d53-4acf-b50d-2f3f975572cb","html_url":"https://github.com/fengwenyi/api-result","commit_stats":null,"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fengwenyi%2Fapi-result","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fengwenyi%2Fapi-result/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fengwenyi%2Fapi-result/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fengwenyi%2Fapi-result/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fengwenyi","download_url":"https://codeload.github.com/fengwenyi/api-result/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243836015,"owners_count":20355615,"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":["api","api-result","spring-boot"],"created_at":"2024-10-13T01:08:40.506Z","updated_at":"2025-03-17T01:32:07.319Z","avatar_url":"https://github.com/fengwenyi.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n    api-result\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003cstrong\u003e一套RESTful风格API接口响应参数规范化的解决方案。\u003c/strong\u003e\n\u003c/p\u003e\n\n\n## 特性\n\n- 规范化。\n- 统一化。\n- 标准化。\n\n\n## 快速开始\n\n### Maven\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.fengwenyi\u003c/groupId\u003e\n    \u003cartifactId\u003eapi-result\u003c/artifactId\u003e\n    \u003cversion\u003e3.0.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n### 代码示例\n\n```java\n@RestController\n@RequestMapping(\"/api\")\npublic class ApiController {\n\n    @RequestMapping(\"/demo\")\n    public ResultTemplate\u003cVoid\u003e demo() {\n        return ResultTemplate.success();\n    }\n\n}\n```\n\n### 请求\n\n```shell\ncurl http://localhost:8080/api/demo\n```\n\n### 响应示例\n```json\n{\n  \"code\":\"SUCCESS\",\n  \"message\":\"Success\",\n  \"success\":true,\n  \"header\":null, \n  \"body\":null, \n  \"date\":\"2022-07-16T20:21:23.017\"\n}\n```\n\n## 其他\n\n- [文档](https://www.yuque.com/fengwenyi/api-result)\n- [Maven仓库](https://mvnrepository.com/artifact/com.fengwenyi/api-result) \n- [更新日志](LOG.md) \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffengwenyi%2Fapi-result","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffengwenyi%2Fapi-result","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffengwenyi%2Fapi-result/lists"}