Commit Graph

12 Commits

Author SHA1 Message Date
Utopia
234dc829c9 fix: openapi-ts-request 生成的代码,options 类型定义不对 2025-10-31 16:36:11 +08:00
Utopia
3d8cd1509e feat: 更新 openapi-ts-request 1.6.7 -> 1.10.0 2025-10-28 13:34:35 +08:00
feige996
fee5f23d37 feat(service): openapi 适配 2025-09-23 18:09:45 +08:00
feige996
3b14ab942f Revert "Merge branch 'openapi'"
This reverts commit 9a6f0acdf0, reversing
changes made to 08a81e433b.
2025-09-23 18:01:20 +08:00
feige996
5b78b0ef63 refactor(service): 重构服务层代码并更新API配置
移除旧的pet、store、user相关API代码
新增listAll和info接口
更新openapi配置指向新API地址
在about页面添加openapi请求示例组件
2025-09-23 15:54:35 +08:00
feige996
938a9dc43e refactor: 移除vue-query相关代码及依赖
移除所有与vue-query相关的代码文件、依赖项和配置
清理不再需要的类型定义和导出
更新openapi生成配置禁用reactQuery模式
2025-09-17 13:57:36 +08:00
Utopia
3402624002 chore: 优化代码结构,将 CustomRequestOptions 定义到 http/types.ts 下 2025-08-11 16:33:15 +08:00
feige996
96abac9c21 feat(service): 添加PetStore API服务层实现
实现PetStore API的所有服务接口,包括用户、宠物和商店相关操作
添加类型定义、基础API请求和Vue Query封装
配置openapi-ts-request生成器路径
2025-08-05 17:52:54 +08:00
feige996
17e5030dfe refactor(http): 重构http模块结构,优化文件组织
- 将alova和vue-query相关文件移动到http目录下
- 统一工具类文件到http/tools目录
- 删除冗余的service/app目录
- 更新相关引用路径
- 添加新的vue-query实现文件
2025-08-05 17:49:33 +08:00
feige996
d65376ae84 fix: 请求拦截器 路径错误。 2025-07-11 11:37:53 +08:00
luochao
0949922ed6 feat: support generate vue-query hook 2025-01-14 21:45:01 +08:00
luochao
f382a522ce feat: 集成 openapi-ts-request 用于根据 openapi/swagger 生成 ts、uni.request 代码 2025-01-09 15:29:27 +08:00