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
This commit is contained in:
duanshuwen
2026-07-13 22:14:50 +08:00
parent 10638e0806
commit efe97452e0
9 changed files with 239 additions and 107 deletions

View File

@@ -12,6 +12,10 @@ function getAigcGeneratorTaskList(args) {
return request.post("/hotelBiz/aigcGeneratorTask/aigcGeneratorTaskList", args);
}
function getAigcGeneratorTaskDetail(args) {
return request.post("/hotelBiz/aigcGeneratorTask/aigcGeneratorTaskDetail", args);
}
function createAigcGeneratorTask(args) {
return request.post("/hotelBiz/aigcGeneratorTask/createAigcGeneratorTask", args);
}
@@ -32,6 +36,7 @@ export {
getAigcTemplateList,
getAigcTemplateItemList,
getAigcGeneratorTaskList,
getAigcGeneratorTaskDetail,
createAigcGeneratorTask,
getCurrentCredit,
getRechargeOptions,