Commit Graph

676 Commits

Author SHA1 Message Date
danial
d89dfea58b refactor(account): remove token check from button rendering
The `checkTokenFromLogin` function was removed from the button rendering logic and its import, as it was deemed unnecessary for the component's functionality. This simplifies the code and reduces redundancy.
2025-04-07 20:35:18 +08:00
danial
6d5d2e21f1 refactor(api): update JD cookie management and related components
This commit refactors the JD cookie management API and associated components to improve maintainability and consistency. Key changes include:
- Updated API client to include `CkApi` for JD cookie operations.
- Added new models and updated existing ones for JD cookie management.
- Refactored components to use the updated API and models.
- Removed unused code and streamlined the logic for adding, updating, and deleting JD cookies.
2025-04-05 17:36:53 +08:00
danial
e8810af15f feat(api): add ck-api and related models for JD cookie management
This commit introduces a new API endpoint `ck-api` for managing JD cookies, including operations for adding, updating, deleting, and listing JD cookies. Additionally, several new models have been added to support these operations. The package manager version in `package.json` has also been updated to ensure compatibility.
2025-04-05 16:35:20 +08:00
danial
66caa6b214 build: 更新 TypeScript 编译器配置
- 将 lib 选项从 "ES2020" 修改为 "ES2022",以支持最新的 ECMAScript 特性
2025-03-31 23:36:31 +08:00
danial
ad92b36d2d refactor(views): 修改卡片兑换订单页面加载状态
- 将 useLoading 函数的初始加载状态从 true 修改为 false
- 优化页面加载逻辑,提高用户体验
2025-03-31 23:21:33 +08:00
danial
62a03edc50 refactor(card-jd-ck): 优化账户列表页面
- 注释掉 SummaryCard 组件
- 调整 useLoading 的初始加载状态为 false
2025-03-31 23:15:56 +08:00
danial
a25c44310a refactor(card-jd-ck): 重构京东CK管理页面
- 修改页面标题为"京东CK管理"
- 移除不必要的按钮和功能
- 更新表格列显示内容
- 注释掉部分API调用
- 优化页面布局和样式
2025-03-31 23:06:52 +08:00
danial
f6c40dffed refactor(card-jd-ck): 注释掉账户详情组件
在 card-jd-ck 账户页面中,注释掉了账户详情组件的引用和使用。保留了组件的定义,但暂时不再页面中渲染。
2025-03-31 22:30:05 +08:00
danial
71c78c83be feat(iframe): add AdminJdAccount and AdminJdOrder routes
Add new routes for managing JD accounts and orders in the admin interface. This includes the addition of new components for handling account details, order history, and summary views. The changes enable administrators to view and manage JD account and order data more effectively.
2025-03-31 12:28:54 +08:00
danial
d3237e9350 refactor(card-walmart-info): replace radio group with tabs for group selection
- Remove radio group component from account and order views
- Add tabs component for group selection
- Update layout and styling for better user experience
2025-03-31 00:06:28 +08:00
danial
d161cee9f7 feat(card-walmart-info): add redeem strategy selection
- Add a new form item for selecting redeem strategy
- Implement a dropdown with options for 'ck轮训' and '随机' strategies
- Import necessary components and enums for the new feature
2025-03-30 22:49:32 +08:00
danial
a06ee91c69 refactor(card): enhance type safety and add configuration option
- Improve type safety by using specific enum types for account status updates in Card C Trip Info and Card JD Info
- Add redeemOrderScheduleStrategy configuration option in Card Walmart Info
2025-03-30 22:40:20 +08:00
danial
091bc39fe3 build(api): update API client to use eslint
- Replace tslint with eslint for code linting
- Update file header comments to disable eslint instead of tslint
- Add blank lines for better readability
2025-03-30 22:38:02 +08:00
danial
d3b99f74b8 refactor(api): 更新 API 模型文件格式
- 将属性名称从驼峰式命名改为下划线命名
- 添加必要的 eslint-disable 注释
- 调整代码缩进和格式
2025-03-30 22:14:01 +08:00
danial
f03ca80132 style(api): 更新 API 生成代码
- 将 tslint 替换为 eslint
- 添加 TOTP API 的导入
- 更新文件头部注释
2025-03-30 20:40:41 +08:00
danial
6a2cef6c2e fix(order): add conditional rendering for refresh schedule tooltip
The tooltip for refreshing the schedule was being displayed for all records, regardless of their status.
2025-03-30 18:51:31 +08:00
danial
72e30c9dab refactor(card-walmart-info): 优化订单状态重置功能
- 修改了 API 调用路径,从 account 状态重置改为 order 状态重置
- 简化了重置状态方法的实现,去除了多余的嵌套
2025-03-30 16:29:44 +08:00
danial
89e6efb95d build: 添加 Java 和 OpenAPI 工具版本
- 在 .tool-versions 文件中添加 Java OpenJDK 21.0.2
- 在 package.json 中添加 @openapitools/openapi-generator-cli 2.18.4
2025-03-30 16:29:27 +08:00
danial
2833217835 chore(vscode): 移除 VSCode 配置文件
- 删除了 .vscode/settings.json 文件
- 清除了 TypeScript SDK、Vue3 Snippets、终端图片显示和差异编辑器代码透镜的设置
2025-03-30 16:06:57 +08:00
danial
fa8e3b149e ci: 添加 commitlint 校验
- 在 commit-msg 钩子中添加 pnpm commitlint --edit $1 命令- 确保每次提交都符合 commitlint 规则
2025-03-30 15:36:21 +08:00
danial
0ef83a6e62 build(deps): 更新依赖并调整项目配置
- 更新 @arco-design/web-vue 到 2.57.0
- 更新 axios 到 1.8.4
- 更新 echarts 到 5.6.0
- 更新 pinia 到 2.3.1
- 更新 rollup 到 4.38.0
- 更新 TypeScript 相关依赖
- 更新 ESLint 和 Stylelint 相关依赖
- 更新 Vite 到 5.4.15
- 添加 pnpm-workspace.yaml 配置
- 调整 .gitignore 和 .husky/pre-commit
- 修改 tsconfig.json 和 stylelint.config.js
2025-03-30 15:31:53 +08:00
danial
fe1c0d69ff fix(deploy): update healthcheck URL to use localhost
The healthcheck URL was updated from using the environment variable NGINX_CONFIG_URL to using 127.0.0.1 to ensure the healthcheck works correctly in the local environment. This change avoids potential issues with the environment variable not being properly resolved.
2025-03-30 00:36:11 +08:00
sunxiaolong
3d13780d46 style(api.md): standardize field names to use camel case
The field names in the API documentation were updated to follow camel case convention for consistency across the codebase. This change improves readability and aligns with the project's coding standards.
2025-03-29 23:54:31 +08:00
danial
f3f3b44125 feat(card-walmart-info): 添加订单刷新调度功能
- 在订单列表的操作列中添加刷新调度按钮
- 实现重置订单状态的功能
- 调用接口成功后显示成功消息并重新获取数据
2025-03-29 00:05:04 +08:00
danial
72a5b63c5f build(api): 生成 API 客户端代码
- 更新 API 模型,新增 account-status-reset-req.ts 文件
- 修改 API 导出,添加 totpapi 导出
- 更新 ESLint 注释,移除 TSLint 注释
2025-03-28 23:53:24 +08:00
danial
37cea9524f build(api): 生成 API 代码更新
- 新增 account-load-req 模型文件
- 更新 API 代码,添加新的请求模型
- 调整 ESLint 设置,优化代码风格
2025-03-22 18:50:26 +08:00
danial
50cefe0fbf feat(walmart-account): add group management and UI enhancements
- Added a new route for Walmart group management
- Replaced radio buttons with tabs for better UI experience in account and order views
- Updated form handling and API calls to reflect group changes
- Improved layout and styling in the group management view
2025-03-20 23:26:23 +08:00
danial
f6c21be39f style(api): 更新 API 代码生成
- 将 tslint 替换为 eslint
- 调整文件头部注释格式
- 添加空行以改善代码可读性
2025-03-20 00:09:50 +08:00
danial
1fcac472d9 feat: 添加分组接口 2025-03-19 00:27:36 +08:00
danial
0f209814f9 feat: 添加删除删除账号功能 2025-03-18 22:48:24 +08:00
danial
ef90865aa2 Merge branch 'develop' into production 2025-03-17 23:26:39 +08:00
danial
ebe00b1b55 feat: 修改部分接口 2025-03-17 23:08:43 +08:00
danial
66f88357ab Merge branch 'develop' into production 2025-03-16 02:07:21 +08:00
danial
72d79477e3 fix: 修复布局问题 2025-03-16 00:19:36 +08:00
danial
837062f3fd feat: 修改订单关联 2025-03-16 00:12:34 +08:00
danial
b3c3d57f5c feat: 修改订单关联 2025-03-16 00:11:03 +08:00
danial
44bcc35eaa feat: 修改接口 2025-03-15 23:25:45 +08:00
danial
8cc1f104f3 fix: 修复布局问题 2025-03-15 23:22:04 +08:00
danial
c2e6d77fd7 fix: 修复其他问题 2025-03-15 23:13:06 +08:00
danial
d8dfeab571 fix: 修复宽度问题 2025-03-15 23:06:50 +08:00
danial
89aa1a869d fix: 修复充值账户的问题 2025-03-15 23:01:15 +08:00
danial
ee8e154177 fix: 修复文件导入问题 2025-03-15 23:00:09 +08:00
danial
485d20977e feat: 添加统计页面 2025-03-15 22:57:21 +08:00
danial
1dade7005f feat: 添加账户统计 2025-03-15 22:42:41 +08:00
danial
4ee0b09781 feat: 添加账户统计 2025-03-15 22:41:06 +08:00
danial
32b799a42d feat: 添加接口 2025-03-15 21:55:33 +08:00
danial
aa0d15b30f feat: 修改接口 2025-03-15 17:40:20 +08:00
danial
3dcff74ee8 feat(card-walmart-account): 添加创建者用户名字段
- 在沃尔玛卡添加记录接口中增加 createdUserName 字段
- 更新 API 文档注释
2025-03-13 00:25:48 +08:00
danial
85b44c5a0d feat(card-walmart-info): 添加账户最大充值次数限制
- 在配置表单中添加"账户最大充值次数"字段
- 使用 InputNumber 组件来设置最大充值次数
- 默认值设置为 20 次
2025-03-13 00:13:25 +08:00
danial
f997c992c6 style(api): 更新 API 生成代码
- 将 tslint 替换为 eslint
- 更新文件头部注释
- 添加空行以提高代码可读性
2025-03-12 23:02:03 +08:00