| 
					
				 | 
			
			
				@@ -9,8 +9,7 @@ purchase: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   # 实例演示开关 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   demoEnabled: true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   # 文件路径 示例( Windows配置D:/purchase/uploadPath,Linux配置 /home/purchase/uploadPath) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  profile: C:/purchase/uploadPath 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-#  profile: /Users/sunhuanhuan/Documents/project/106/文档/purchase/uploadPath 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  profile: /home/purchase/uploadPath 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   # 获取ip地址开关 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   addressEnabled: false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   # 验证码类型 math 数组计算 char 字符验证 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -20,11 +19,6 @@ purchase: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 # 开发环境配置 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 server: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  # 服务器的HTTP端口,默认为8080 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  port: 8080 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  servlet: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    # 应用的访问路径 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    context-path: / 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   tomcat: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     # tomcat的URI编码 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     uri-encoding: UTF-8 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -56,15 +50,13 @@ spring: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   messages: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     # 国际化资源文件路径 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     basename: i18n/messages 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  profiles: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    active: druid 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   # 文件上传 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   servlet: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     multipart: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       # 单个文件大小 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       max-file-size:  10MB 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       # 设置总上传的文件大小 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       max-request-size:  20MB 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    multipart: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      # 单个文件大小 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      max-file-size:  10MB 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      # 设置总上传的文件大小 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      max-request-size:  20MB 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   # 服务模块 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   devtools: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     restart: 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -73,14 +65,15 @@ spring: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   # redis 配置 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   redis: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     # 地址 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    host: 124.70.58.209 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    host: 127.0.0.1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     # 端口,默认为6379 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     port: 7001 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     # 数据库索引 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     database: 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     # 密码 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     password: 106@qwe123 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    # 连接超时时间    timeout: 100s 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    # 连接超时时间 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    timeout: 100s 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     lettuce: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       pool: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         # 连接池中的最小空闲连接 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -94,21 +87,21 @@ spring: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 # token配置 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 token: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    # 令牌自定义标识 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    header: Authorization 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    # 令牌密钥 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    secret: abcdefghijklmnopqrstuvwxyz 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    # 令牌有效期(默认30分钟) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    expireTime: 30 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  # 令牌自定义标识 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  header: Authorization 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  # 令牌密钥 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  secret: abcdefghijklmnopqrstuvwxyz 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  # 令牌有效期(默认30分钟) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  expireTime: 30 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 # MyBatis配置 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 mybatis: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    # 搜索指定包别名 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    typeAliasesPackage: com.ozs.**.domain 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    # 配置mapper的扫描,找到所有的mapper.xml映射文件 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    mapperLocations: classpath*:mapper/**/*Mapper.xml 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    # 加载全局的配置文件 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    configLocation: classpath:mybatis/mybatis-config.xml 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  # 搜索指定包别名 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  typeAliasesPackage: com.ozs.**.domain 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  # 配置mapper的扫描,找到所有的mapper.xml映射文件 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  mapperLocations: classpath*:mapper/**/*Mapper.xml 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  # 加载全局的配置文件 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  configLocation: classpath:mybatis/mybatis-config.xml 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 # MyBatis-plus配置 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 mybatis-plus: 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -127,7 +120,7 @@ swagger: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   # 是否开启swagger 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   enabled: true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   # 请求前缀 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-#  pathMapping: /dev-api 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  #  pathMapping: /dev-api 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   pathMapping: / 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 # 防止XSS攻击 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -141,7 +134,7 @@ xss: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 elasticsearch: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  host: 124.70.58.209 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  host: 127.0.0.1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   port: 9121 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 #  host: 127.0.0.1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 #  port: 9200 
			 |