This commit is contained in:
Yun
2024-06-25 19:13:10 +08:00
parent 9a2daa7ff7
commit 083271585e
6 changed files with 148 additions and 146 deletions
+2
View File
@@ -6,6 +6,8 @@ import (
"github.com/gin-gonic/gin"
)
// 跨域
func Cors() gin.HandlerFunc {
return func(ctx *gin.Context) {