Commit Graph

36 Commits

Author SHA1 Message Date
f0843e0f12 Merge branch 'aigc' of https://git.nianxx.cn/zoujing/YGChatCS into home3.0
# Conflicts:
#	src/pages-aigc/recharge/components/CustomAmountCard/index.vue
#	src/pages-aigc/recharge/components/RechargeFooter/index.vue
#	src/pages-aigc/recharge/components/RechargePackageList/index.vue
#	src/pages-aigc/recharge/recharge.vue
#	src/pages-aigc/useTemplate/useTemplate.vue
2026-07-22 16:48:21 +08:00
duanshuwen
14defcc5b7 feat(recharge): add full virtual recharge flow for aigc credits
- Replace legacy recharge API endpoints with new dedicated VirtualRechargeApi with sensitive request logging
- Implement pending order tracking, automatic payment reconciliation, and recovery for interrupted payments
- Overhaul recharge component logic to support both pre-defined package and custom amount recharge
- Fix currency price formatting to consistently display 2 decimal places for all monetary values
- Remove unused xiaoqi-avatar asset and related component imports
- Simplify Vite build asset naming configuration
- Switch application to test development mode
2026-07-22 16:17:16 +08:00
duanshuwen
bfebed44b0 chore: remove recharge and switch to test mode
Remove all recharge-related pages, components, and API endpoints.
Update developVersion flag to enable test environment with 400 free credits for all users.
Revise PointInsufficientDialog to reflect closed recharge channel, update button text and actions.
Remove recharge actions from all top bars and generate confirmation panels.
Add new user agreement page for service terms, update related API calls.
Restyle AigcConsentDialog to use sectioned content layout.
Fix visibility timing logic in GiftPointsToast component.
2026-07-20 14:50:14 +08:00
duanshuwen
99151bca58 feat(recharge): add points recharge agreement flow
- add new API request for fetching points top up agreement content
- update recharge footer with agreement checkbox and protocol link
- add agreement popup modal to display full agreement text
- add payment pre-validation to enforce agreement acceptance before payment
- handle loading and error states for agreement retrieval
- adjust recharge footer layout to accommodate new UI elements
2026-07-16 20:34:01 +08:00
duanshuwen
67b1b78f1f feat(aigc): add shared work page and AIGC sharing
- add new shared work page to view shared AIGC generated images and videos
- add createAigcGeneratorTaskShare and getAigcGeneratorTaskShareDetail APIs
- update ResultActions component to add share preparation state and native share support
- remove deprecated SharePreviewPopup component and its associated styles
- update AIGC detail page to generate share keys and adjust native share metadata
- register the new shared work page in pages.json
2026-07-16 13:28:46 +08:00
duanshuwen
ada88d7b20 feat(aigc): replace mock credit data with backend api fetch
add getCreditLedgerPage API function to fetch credit ledger records
remove local mock ledger data file
update LedgerCard component to adapt to new API response structure
rewrite points details page to use z-paging with empty and error handling
2026-07-16 09:04:04 +08:00
duanshuwen
efe97452e0 feat(aigc): add task detail and image save flow
- Replace global AigcRecord store with task ID URL parameters instead of store state
- Integrate real task detail API to replace static mock result data
- Update ResultActions component with loading state, disabled styles, and native uni-app share support
- Add full image save flow with album permission checking and error handling
- Clean up unused files including the aigcRecord store and static result data
- Adjust RecordList padding and paging component text for better UX
2026-07-13 22:14:50 +08:00
duanshuwen
29bf6afe55 feat(recharge): add recharge package selection flow
- add new getRechargeOptions API endpoint in AigcApi
- replace CustomAmountCard with RechargePackageList component
- implement fetching and selection logic for recharge packages
- update UI to use correct recharge data fields
- add validation for selected recharge option
2026-07-13 10:27:03 +08:00
duanshuwen
cadddb5c3f feat(aigc): fully integrate backend API and replace mock data
- Replace all static mock data with real backend API calls for templates, generation tasks, credit balance and recharge
- Remove deprecated mock data files including templates.js, versionOptions.js, records.js and packages.js
- Add useCurrentCredit composable for fetching and managing user credit balance
- Update all components to align with new backend data shapes (e.g. templateItemId instead of id)
- Add loading and disabled states for interactive UI elements
- Implement full WeChat mini-program payment flow for credit recharge
- Fix template and record card UI styling and media handling
- Set developVersion flag to true for testing environment
2026-07-12 21:14:22 +08:00
c9ed0d280b feat: 新版本的提交改了环境的配置 2026-06-17 18:24:18 +08:00
0f6d8f7ff1 feat: 调整了登录的逻辑 2026-05-12 21:17:11 +08:00
25c8a3570d feat: 增加获取位置的方法 2026-05-08 14:58:13 +08:00
42e0e4920f feat; 消息与天气接口对接 2026-05-07 17:16:45 +08:00
3fe099c3b0 feat: 版本管理接口改动 2026-04-30 11:09:09 +08:00
2cbfae6833 feat: 更换了版本管理的接口 2026-04-30 10:50:40 +08:00
3b0fb23a5c feat: 对接了首页的接口 2026-04-28 22:47:10 +08:00
17c5296e56 feat: 获取商品类型列表 2026-03-11 23:42:42 +08:00
ff9227c3b8 feat: 环境地址配置 2026-01-16 10:25:55 +08:00
0351bd8dc6 feat: 更新版本号 2026-01-16 09:36:21 +08:00
9c658e9f9f feat: 优化登录逻辑 2026-01-06 19:42:10 +08:00
972c777177 feat: 修复环境的问题 2026-01-06 11:46:15 +08:00
duanshuwen
56ad450731 feat: 登录逻辑调整 2025-12-27 22:49:14 +08:00
296781c506 feat: 优化登录流程 2025-12-15 22:33:22 +08:00
a3c363cbc9 feat: 区别不同的小程序的缓存问题 2025-12-15 16:26:45 +08:00
duanshuwen
47d1c5ab6f feat: 服务地址动态获取 2025-11-13 21:22:37 +08:00
duanshuwen
1028e20d42 feat: 服务接口地址动态获取 2025-11-13 19:43:03 +08:00
a53df50140 feat: 工单接口拆分 2025-10-28 18:09:48 +08:00
655547c57a feat: 问题反馈接口改造 2025-10-28 18:07:54 +08:00
055423fc32 feat: 拆分工单的api 2025-10-28 18:07:26 +08:00
d7aea9cf55 feat: 工单列表的接口调试 2025-10-27 21:17:43 +08:00
d0711c7f12 feat: 工单图片上传与样式的调整 2025-10-27 20:05:35 +08:00
duanshuwen
697785f30c Merge branch 'main' of https://git.nianxx.cn/zoujing/YGChatCS into fix-109 2025-10-23 17:46:20 +08:00
duanshuwen
a9f103dffa feat: 快速预定接口调整 2025-10-22 21:37:31 +08:00
a3aabc2752 feat: 上传图片的逻辑处理 2025-10-21 18:59:53 +08:00
duanshuwen
500c44ebea fix: 待支付|再次预定交互逻辑调整 2025-10-07 16:31:35 +08:00
duanshuwen
9f23854ad5 feat: 调整项目结构 2025-09-21 17:25:09 +08:00