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
This commit is contained in:
@@ -36,6 +36,14 @@ function getCreditLedgerPage(args) {
|
||||
return request.post("/hotelBiz/credit/ledger/page", args);
|
||||
}
|
||||
|
||||
function createAigcGeneratorTaskShare(args) {
|
||||
return request.post("/hotelBiz/aigcGeneratorTask/share/create", args);
|
||||
}
|
||||
|
||||
function getAigcGeneratorTaskShareDetail(args) {
|
||||
return request.post("/hotelBiz/aigcGeneratorTask/share/detail", args, { noToken: true });
|
||||
}
|
||||
|
||||
export {
|
||||
getAigcTemplateList,
|
||||
getAigcTemplateItemList,
|
||||
@@ -46,4 +54,6 @@ export {
|
||||
getRechargeOptions,
|
||||
rechargeCredit,
|
||||
getCreditLedgerPage,
|
||||
createAigcGeneratorTaskShare,
|
||||
getAigcGeneratorTaskShareDetail,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user