refactor(api): 更新 API调用以使用新的请求工具- 将所有 API 调用中的 request-legacy 替换为 request

- 优化部分 API 调用的参数传递方式
- 统一导入 ApiResult 和 PageResult 类型的路径
This commit is contained in:
2025-08-18 20:39:31 +08:00
parent ef134316b0
commit 06a3b15842
128 changed files with 494 additions and 693 deletions

View File

@@ -80,7 +80,7 @@ const GiftCardExample: React.FC = () => {
onDetail={handleDetail}
onClick={handleClick}
/>
{/* 简化版本示例 */}
<GiftCard
id={2}
@@ -118,7 +118,7 @@ const GiftCardExample: React.FC = () => {
faceValue="200"
type={30}
useStatus={1}
useTime="2024-08-15 19:30:00"
takeTime="2024-08-15 19:30:00"
useLocation="海底捞王府井店"
goodsInfo={{
brand: '海底捞',