Header.Get("Origin") //請求頭部 if origin != ... Set("Access-Control-Allow-Origin", origin) //伺服器支援的所有跨域請求的方法 ... JSON(http.
確定! 回上一頁