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) // 查询上链状态