From e834029f6a65ea6ad15cc9fa2495ba03e2feec0d Mon Sep 17 00:00:00 2001 From: zerosaturation Date: Wed, 8 Apr 2026 00:06:04 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B3=A8=E5=86=8C=E5=9B=BE=E7=94=9F?= =?UTF-8?q?=E5=9B=BE=20API=20=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/gateway/router/router.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/gateway/router/router.go b/backend/gateway/router/router.go index c98a5ea..38bce1e 100644 --- a/backend/gateway/router/router.go +++ b/backend/gateway/router/router.go @@ -173,6 +173,8 @@ func SetupRouter(userClient *client.Client, socialClient *client.Client, assetCl assets.POST("/mints", assetCtrl.CreateMintOrder) // 创建铸造订单 assets.GET("/mints/:order_id", assetCtrl.GetMintOrder) // 查询铸造订单状态 assets.DELETE("/mints/:order_id", assetCtrl.CancelMintOrder) // 取消铸造订单 + assets.POST("/mints/image/generation", assetCtrl.ImageGeneration) // 图生图 + assets.GET("/mints/image/generation/:job_id", assetCtrl.GetImageJob) // 查询任务 assets.GET("/me/items", assetCtrl.GetMyAssets) // 获取我的藏品列表 assets.GET("/:asset_id", assetCtrl.GetAsset) // 获取资产详情 assets.GET("/:asset_id/status", assetCtrl.GetAssetStatus) // 查询上链状态