refactor: 重构项目的数据获取方法 #72

Manually merged
remilia merged 13 commits from refactor/graphql into master 2025-11-11 17:07:41 +08:00
Owner

关联Issue

No response

更改内容/What Changed

  • 将相关数据获取由REST转为GraphQL
  • 声明GraphQL模块
  • 修改相关的Mapper与测试方法

测试步骤/How To Test

No response

检查表/Checklist

  • 代码格式符合团队规范
  • 已添加或更新单元测试/集成测试
  • 文档/README 已更新(如有必要)
  • 所有测试通过
  • 分支命名正确(feature/xxx或fix/xxx 等)
  • 回归风险已评估

影响评估/Risk & Rollback

No response

可选:截图或 Demo(如界面/UI 有变化)

No response

### 关联Issue _No response_ ### 更改内容/What Changed - 将相关数据获取由REST转为GraphQL - 声明GraphQL模块 - 修改相关的Mapper与测试方法 ### 测试步骤/How To Test _No response_ ### 检查表/Checklist - [x] 代码格式符合团队规范 - [x] 已添加或更新单元测试/集成测试 - [x] 文档/README 已更新(如有必要) - [x] 所有测试通过 - [x] 分支命名正确(feature/xxx或fix/xxx 等) - [x] 回归风险已评估 ### 影响评估/Risk & Rollback _No response_ ### 可选:截图或 Demo(如界面/UI 有变化) _No response_
remilia added the
Kind/Feature
Compat/Breaking
labels 2025-11-11 17:03:39 +08:00
remilia added 13 commits 2025-11-11 17:03:40 +08:00
- 在Nuxt中引入GraphQL加载模块
- 为Directus引入GraphQl, Query
- 将产品页与产品列表的API由REST重构为GraphQL
- 修改Mapper与单元测试
- 以纯文本形式导入
- 将首页的数据获取由REST重构为GraphQL
refactor: 关于我们页的API重构
Some checks failed
deploy to server / build-and-deploy (push) Has been cancelled
8213eec217
chore: 删除无用代码
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m30s
81caa02d11
remilia manually merged commit 726c38a75d into master 2025-11-11 17:07:41 +08:00
remilia deleted branch refactor/graphql 2025-11-11 17:07:45 +08:00
Sign in to join this conversation.
No description provided.