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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user