| 
															
														 | 
														
															 
														 | 
														
															
														 | 
														
															 
														 | 
													
												
													
														| 
															13
														 | 
														
															  
														 | 
														
															13
														 | 
														
															  
														 | 
													
												
													
														| 
															14
														 | 
														
															 	config.AddAllowMethods(http.MethodDelete, http.MethodOptions, http.MethodPatch) 
														 | 
														
															14
														 | 
														
															 	config.AddAllowMethods(http.MethodDelete, http.MethodOptions, http.MethodPatch) 
														 | 
													
												
													
														| 
															15
														 | 
														
															 	// x-requested-with antd上传组件需要 
														 | 
														
															15
														 | 
														
															 	// x-requested-with antd上传组件需要 
														 | 
													
												
													
														| 
															16
														 | 
														
															-	config.AddAllowHeaders("Authorization", "X-Require-Cookie", "X-Device", "x-requested-with") 
														 | 
														
															
														 | 
														
															 
														 | 
													
												
													
														| 
															
														 | 
														
															 
														 | 
														
															16
														 | 
														
															+	config.AddAllowHeaders("Authorization", "X-Require-Cookie", "X-Device", "x-requested-with", "X-Tourist-Id") 
														 | 
													
												
													
														| 
															17
														 | 
														
															 	config.AllowCredentials = true 
														 | 
														
															17
														 | 
														
															 	config.AllowCredentials = true 
														 | 
													
												
													
														| 
															18
														 | 
														
															 	config.AllowOriginFunc = func(origin string) bool { 
														 | 
														
															18
														 | 
														
															 	config.AllowOriginFunc = func(origin string) bool { 
														 | 
													
												
													
														| 
															19
														 | 
														
															 		if gin.Mode() == gin.DebugMode { 
														 | 
														
															19
														 | 
														
															 		if gin.Mode() == gin.DebugMode { 
														 |