K&
摘要: method := c.Request.Method if method != "" { c.Header("Access-Control-Allow-Origin", "*") // 可将将 * 替换为指定的域名 c.Header("Access-Control-Allow-Methods", " 阅读全文
posted @ 2022-01-24 17:29 K& 阅读(71) 评论(0) 推荐(0) 编辑