{"id":26395926,"url":"https://github.com/poboll/cai-api","last_synced_at":"2026-04-08T18:01:53.330Z","repository":{"id":259226353,"uuid":"871067528","full_name":"poboll/cai-api","owner":"poboll","description":"Cai-API 接口开放平台","archived":false,"fork":false,"pushed_at":"2025-01-11T11:36:42.000Z","size":367,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-11T13:19:04.138Z","etag":null,"topics":["apache-commons","dubbo","gson","hutool","java","knife4j","lombok","mail","maven","mybatis","mybatis-plus","mysql","payment","redis","spring-boot","swagger"],"latest_commit_sha":null,"homepage":"https://api.caiths.com","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/poboll.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-10-11T07:54:03.000Z","updated_at":"2025-08-18T02:48:05.000Z","dependencies_parsed_at":"2024-11-05T11:32:30.259Z","dependency_job_id":"fb67404e-f16a-4794-94d0-28156519ec04","html_url":"https://github.com/poboll/cai-api","commit_stats":null,"previous_names":["poboll/cai-api"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/poboll/cai-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poboll%2Fcai-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poboll%2Fcai-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poboll%2Fcai-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poboll%2Fcai-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/poboll","download_url":"https://codeload.github.com/poboll/cai-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poboll%2Fcai-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31567227,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["apache-commons","dubbo","gson","hutool","java","knife4j","lombok","mail","maven","mybatis","mybatis-plus","mysql","payment","redis","spring-boot","swagger"],"created_at":"2025-03-17T11:20:03.806Z","updated_at":"2026-04-08T18:01:53.311Z","avatar_url":"https://github.com/poboll.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=https://github.com/user-attachments/assets/f7c5f6bb-164d-4ec5-8e35-720e5076a50c width=188/\u003e\n\u003c/p\u003e\n\u003ch1 align=\"center\"\u003eCai-API 接口开放平台\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\u003cstrong\u003eCai-API 接口开放平台是一个为用户和开发者提供全面API接口调用服务的平台 🛠\u003c/strong\u003e\u003c/p\u003e\n\u003cdiv align=\"center\"\u003e\n\u003ca target=\"_blank\" href=\"https://github.com/poboll/cai-api\"\u003e\n    \u003cimg alt=\"\" src=\"https://github.com/poboll/cai-api/badge/star.svg?theme=gvp\"/\u003e\n\u003c/a\u003e\n    \u003cimg alt=\"Maven\" src=\"https://raster.shields.io/badge/Maven-3.8.1-red.svg\"/\u003e\n\u003ca target=\"_blank\" href=\"https://www.oracle.com/technetwork/java/javase/downloads/index.html\"\u003e\n        \u003cimg alt=\"\" src=\"https://img.shields.io/badge/JDK-1.8+-green.svg\"/\u003e\n\u003c/a\u003e\n    \u003cimg alt=\"SpringBoot\" src=\"https://raster.shields.io/badge/SpringBoot-2.7+-green.svg\"/\u003e\n\u003ca href=\"https://github.com/poboll/cai-api\" target=\"_blank\"\u003e\n    \u003cimg src='https://img.shields.io/github/forks/poboll/cai-api' alt='GitHub forks' class=\"no-zoom\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://github.com/poboll/cai-api\" target=\"_blank\"\u003e\u003cimg src='https://img.shields.io/github/stars/poboll/cai-api' alt='GitHub stars' class=\"no-zoom\"\u003e\n\u003c/a\u003e\n\u003c/div\u003e\n\n## 项目介绍 🙋\n\n**😀 作为用户您可以通过注册登录账户，获取接口调用权限，并根据自己的需求浏览和选择适合的接口。您可以在线进行接口调试，快速验证接口的功能和效果。**\n\n**💻 作为开发者 我们提供了[客户端SDK: Cai-API-SDK](https://github.com/poboll/cai-api-sdk)， 通过[开发者凭证](https://api.caiths.com/account/center)即可将轻松集成接口到您的项目中，实现更高效的开发和调用。**\n\n**🤝 您可以将自己的接口接入到Cai-API 接口开放平台平台上，并发布给其他用户使用。 您可以管理和各个接口，以便更好地分析和优化接口性能。**\n\n**👌 我们还提供了[开发者在线文档](https://api-docs.caiths.com)和技术支持，帮助您快速接入和发布接口。**\n\n**🏁 无论您是用户还是开发者，Cai-API 接口开放平台都致力于提供稳定、安全、高效的接口调用服务，帮助您实现更快速、便捷的开发和调用体验。**\n\n## 网站导航 🧭\n\n- [**Cai-API 后端 🏘️**](https://github.com/poboll/cai-api)\n- [**Cai-API 前端 🏘**️](https://github.com/poboll/cai-api-frontend)\n\n-  **[Cai-API-SDK](https://github.com/poboll/cai-api-sdk)** 🛠\n\n-  **[Cai-API 接口开放平台 🔗](https://api.caiths.com/)**\n\n-  **[Cai-API-DOC 开发者文档 📖](https://api-docs.caiths.com)**\n-  **[Cai-API-SDK-demo ✔️](https://github.com/poboll/cai-api-sdk-demo/blob/main/src/main/java/com/caiths/caiapisdkdemo/controller/InvokeController.java)**\n\n\n## 目录结构 📑\n\n| 目录                                                                                                                                                       | 描述            |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------|---------------|\n| **🏘️ [cai-api-backend](https://github.com/poboll/cai-api/cai-api-backend)**                                                                             | Cai-API后端服务模块 |\n| **🏘️ [cai-api-common](https://github.com/poboll/cai-api/cai-api-common)**                                                                               | 公共服务模块        |\n| **🕸️ [cai-api-gateway](https://github.com/poboll/cai-api/cai-api-gateway)**                                                                             | 网关模块          |\n| **🔗 [cai-api-interface](https://github.com/poboll/cai-api/cai-api-interface)**                                                                          | 接口模块          |\n| **🛠 [cai-api-sdk](https://github.com/poboll/cai-api-sdk)**                                                                                              | 开发者调用sdk      |\n| **📘 [cai-api-doc](https://api-docs.caiths.com)**                                                                                                        | 接口在线文档        |\n| **✔️ [cai-api-sdk-demo](https://github.com/poboll/cai-api-sdk-demo/blob/1.0.0/src/main/java/com/caiths/caiapisdkdemo/controller/InvokeController.java)** | SDK调用Demo     |\n\n## 项目流程 🗺️\n\n![项目流程](https://github.com/user-attachments/assets/1ad04133-1625-478b-bbe5-30bd9f0ab8cb)\n\n## 快速启动 🚀\n\n### 前端\n\n环境要求：Node.js \u003e= 16\n\n安装依赖：\n\n```bash\nyarn or npm install\n```\n\n启动：\n\n```bash\nyarn run dev or npm run start:dev\n```\n\n部署：\n\n```bash\nyarn build or npm run build\n```\n\n### 后端\n\n执行sql目录下ddl.sql\n\n## 项目选型 🎯\n\n### **后端**\n\n- Spring Boot 2.7.0\n- Spring MVC\n- MySQL 数据库\n- 腾讯云COS存储\n- Dubbo 分布式（RPC、Nacos）\n- Spring Cloud Gateway 微服务网关\n- API 签名认证（Http 调用）\n- IJPay-AliPay  支付宝支付\n- WeiXin-Java-Pay  微信支付\n- Swagger + Knife4j 接口文档\n- Spring Boot Starter（SDK 开发）\n- Jakarta.Mail 邮箱通知、验证码\n- Spring Session Redis 分布式登录\n- Apache Commons Lang3 工具类\n- MyBatis-Plus 及 MyBatis X 自动生成\n- Hutool、Apache Common Utils、Gson 等工具库\n\n### 前端\n\n- React 18\n\n- Ant Design Pro 5.x 脚手架\n\n- Ant Design \u0026 Procomponents 组件库\n\n- Umi 4 前端框架\n\n- OpenAPI 前端代码生成\n\n\n## 功能介绍 📋\n\n`坤币`即积分，用于平台接口调用。\n\n| **功能**                                                     | 游客 | **普通用户** | **管理员** |\n|------------------------------------------------------------|----|----------|---------|\n| [**Cai-API-SDK**](https://github.com/poboll/cai-api-sdk)使用 | ✅  | ✅        | ✅       |\n| **[开发者API在线文档](http://api-docs.caiths.com)**               | ✅  | ✅        | ✅       |\n| 邀请好友注册得坤币                                                  | ❌  | ✅        | ✅       |\n| 切换主题、深色、暗色                                                 | ✅  | ✅        | ✅       |\n| 微信支付宝付款                                                    | ❌  | ✅        | ✅       |\n| 在线调试接口                                                     | ❌  | ✅        | ✅       |\n| 每日签到得坤币                                                    | ❌  | ✅        | ✅       |\n| 接口大厅搜索接口、浏览接口                                              | ✅  | ❌        | ✅       |\n| 邮箱验证码登录注册                                                  | ✅  | ✅        | ✅       |\n| 钱包充值                                                       | ❌  | ❌        | ✅       |\n| 支付成功邮箱通知(需要绑定邮箱)                                           | ❌  | ✅        | ✅       |\n| 更新头像                                                       | ❌  | ✅        | ✅       |\n| 绑定、换绑、解绑邮箱                                                 | ❌  | ✅        | ✅       |\n| 取消订单、删除订单                                                  | ❌  | ✅        | ✅       |\n| 商品管理、上线、下架                                                 | ❌  | ❌        | ✅       |\n| 用户管理、封号解封等                                                 | ❌  | ❌        | ✅       |\n| 接口管理、接口发布审核、下架                                             | ❌  | ❌        | ✅       |\n| 退款                                                         | ❌  | ❌        | ❌       |\n\n## 功能展示 ✨\n\n### 首页\n\n![1 首页-日间](https://github.com/user-attachments/assets/a2ee1065-da5a-4645-9ab9-1a9f0a9d7c85)\n\n### 接口广场\n\n![2 接口广场](https://github.com/user-attachments/assets/f30e722e-a745-4e80-85f9-d789986a5afb)\n\n### 开发者在线文档\n\n#### 首页\n![3 开发者在线文档-首页](https://github.com/user-attachments/assets/b5a1213c-dfac-4c3a-b42f-98f159c4acf8)\n\n#### 接口介绍\n![4 开发者在线文档-接口介绍](https://github.com/user-attachments/assets/1c039e74-c7e4-437f-81b3-cd7935af6eed)\n\n### 接口描述\n\n#### **在线API**\n![5 接口描述-在线api](https://github.com/user-attachments/assets/d76cd126-7c61-44b3-a34a-257028d5e383)\n\n#### 在线调试工具\n![6 接口描述-在线调试工具](https://github.com/user-attachments/assets/769c06c6-5574-45cb-8e70-9077dc3d3e33)\n\n#### **错误码参考**\n![7 接口描述-错误码参照](https://github.com/user-attachments/assets/6eacce15-cb9b-42de-aa3f-feb3fb2fc304)\n\n#### **接口调用代码示例**\n![8 接口描述-接口调用代码示例](https://github.com/user-attachments/assets/c1537e54-67c9-4d45-9654-026a0931e994)\n\n### 管理页\n\n#### 用户管理\n![9 接口管理-用户管理](https://github.com/user-attachments/assets/384e32c1-fd16-4edf-834c-41d617fdb266)\n\n#### 商品管理\n![10 接口管理-商品管理](https://github.com/user-attachments/assets/a903a5b3-4fac-44a3-bc63-87d7399e0c2f)\n\n#### 接口管理\n![11 管理页-接口管理](https://github.com/user-attachments/assets/b5f859d1-4b6a-459c-a637-2d7e63c1dd67)\n\n#### 动态更新请求响应参数\n![12 管理页-接口管理-动态更新请求响应参数](https://github.com/user-attachments/assets/bf6c1529-0f07-4e81-a859-74bf5bb81f84)\n\n### 积分商城\n![13 积分商城](https://github.com/user-attachments/assets/9c7458fc-a917-416b-8d1d-f28f55ce87ab)\n\n#### 支付宝支付\n![15 订单支付-支付宝支付](https://github.com/user-attachments/assets/27df24dc-ecf4-46a6-a02a-738fd5e8fc65)\n\n#### 支付宝支付成功\n![16 订单支付-支付宝支付成功](https://github.com/user-attachments/assets/c0d1f12d-3887-44a4-849a-e7bd0a576f57)\n\n### 订单支付\n![14 订单支付](https://github.com/user-attachments/assets/04cbd202-5573-4262-9357-977d87f5b0ab)\n\n### 个人信息\n\n#### 每日签到\n##### 签到成功\n![19 每日签到-签到成功](https://github.com/user-attachments/assets/b91faa70-241e-42f9-9050-11b9723a4222)\n\n##### 签到失败\n![20 每日签到-签到失败](https://github.com/user-attachments/assets/0fdad81e-8354-4471-b46b-bb1694db4f30)\n\n### 好友邀请\n\n#### **发送邀请**\n![21 好友邀请-发送邀请](https://github.com/user-attachments/assets/15aa0b4a-6698-4827-acde-785ee648d3c3)\n\n#### **接受邀请**\n![22 好友邀请-接受邀请](https://github.com/user-attachments/assets/aa74fffd-54e0-4f4d-bbc8-4f2898bbd67c)\n\n### 登录/注册\n#### 登录\n![23 登录:注册-登录](https://github.com/user-attachments/assets/68acb5e5-6ab6-4133-a0cc-d7a50f5bfd98)\n\n#### 注册\n![24 登录:注册-注册](https://github.com/user-attachments/assets/690a1f84-bdd7-44e1-8d92-1dac72ade9ba)\n\n### 订单管理\n\n- **我的订单**![17 订单管理-我的订单](https://github.com/user-attachments/assets/dd8337f6-8cf3-4c39-ae7d-0d2852b827c6)\n\n- **详细订单**![18 订单管理-详细订单](https://github.com/user-attachments/assets/1618fe73-8c8d-4c51-977b-02094bec450a)\n\n### 主题切换\n\n#### 浅色主题![1 首页-日间](https://github.com/user-attachments/assets/6c78f283-5711-4694-95a6-def446f51531)\n\n#### 深色主题![2 首页-夜间](https://github.com/user-attachments/assets/586c2055-9eef-41af-b2e1-96264c8d732f)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoboll%2Fcai-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpoboll%2Fcai-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoboll%2Fcai-api/lists"}