This commit is contained in:
vipg
2025-11-15 17:55:43 +08:00
parent 396f03964a
commit 03f14394e5
2 changed files with 173 additions and 96 deletions

View File

@@ -54,14 +54,14 @@ func main() {
zap.L().Info("✅ 配置跨域中间件完成")
// 注册品种接口
variety := r.Group("/api/variety")
variety := r.Group("/variety")
{
variety.POST("/create", logic4variety.CreateVarietyHandler)
}
zap.L().Info("✅ 品种接口注册完成")
// 注册交易所接口
exchangeGroup := r.Group("/api/exchange")
exchangeGroup := r.Group("/exchange")
{
exchangeGroup.POST("/create", logic4exchange.CreateExchangeHandler)
}