Fix http auth and sdk errors

This commit is contained in:
若海
2024-01-10 09:59:47 +08:00
parent f705ee72cc
commit cd19e7d3f8
15 changed files with 195 additions and 252 deletions
+1 -2
View File
@@ -20,11 +20,10 @@ import (
func Server() {
httpd.Engine(args.Debug)
httpd.Use(midware.OutputHandle)
// Api 守卫
api := httpd.Group("/api")
api.Use(midware.ApiGuard)
api.Use(midware.OutputHandle, midware.ApiGuard)
// Wcf 路由
wcfrest.Route(api)