mirror of
				https://gitee.com/xiangheng/x_admin.git
				synced 2025-10-31 19:43:50 +08:00 
			
		
		
		
	调整路径
This commit is contained in:
		
							
								
								
									
										33
									
								
								server/util/aj-captcha-go/constant/const.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								server/util/aj-captcha-go/constant/const.go
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,33 @@ | ||||
| package constant | ||||
|  | ||||
| const ( | ||||
| 	// CodeKeyPrefix 缓存key前缀 | ||||
| 	CodeKeyPrefix = "RUNNING:CAPTCHA:%s" | ||||
|  | ||||
| 	// BlockPuzzleCaptcha 滑动验证码服务标识 | ||||
| 	BlockPuzzleCaptcha = "blockPuzzle" | ||||
|  | ||||
| 	// ClickWordCaptcha 点击验证码服务标识 | ||||
| 	ClickWordCaptcha = "clickWord" | ||||
|  | ||||
| 	// MemCacheKey 内存缓存标识 | ||||
| 	MemCacheKey = "mem" | ||||
| 	// RedisCacheKey redis缓存标识 | ||||
| 	RedisCacheKey = "redis" | ||||
|  | ||||
| 	// DefaultResourceRoot 默认根目录 | ||||
| 	DefaultResourceRoot = "./public/" | ||||
| 	// DefaultText 默认水印显示文字 | ||||
| 	DefaultText = "我的水印" | ||||
| ) | ||||
|  | ||||
| const ( | ||||
| 	// DefaultTemplateImageDirectory 滑动模板图文件目录地址 | ||||
| 	DefaultTemplateImageDirectory = "resources/defaultImages/jigsaw/slidingBlock" | ||||
| 	// DefaultBackgroundImageDirectory 背景图片目录地址 | ||||
| 	DefaultBackgroundImageDirectory = "resources/defaultImages/jigsaw/original" | ||||
| 	// DefaultClickBackgroundImageDirectory 点击背景图默认地址 | ||||
| 	DefaultClickBackgroundImageDirectory = "resources/defaultImages/pic-click" | ||||
| 	// DefaultFont 字体文件地址 | ||||
| 	DefaultFont = "resources/fonts/WenQuanZhengHei.ttf" | ||||
| ) | ||||
		Reference in New Issue
	
	Block a user
	 xh
					xh