初始化提交
This commit is contained in:
		
							
								
								
									
										45
									
								
								tulingmall-member/src/main/resources/application.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										45
									
								
								tulingmall-member/src/main/resources/application.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,45 @@
 | 
			
		||||
server:
 | 
			
		||||
  port: 8877
 | 
			
		||||
#spring:
 | 
			
		||||
#  rabbitmq:
 | 
			
		||||
#    host: 192.168.159.8
 | 
			
		||||
#    port: 5672
 | 
			
		||||
#    virtual-host: tulingmall
 | 
			
		||||
#    username: smlz
 | 
			
		||||
#    password: smlz
 | 
			
		||||
#    publisher-confirms: true #如果对异步消息需要回调必须设置为true
 | 
			
		||||
mybatis:
 | 
			
		||||
  mapper-locations:
 | 
			
		||||
    - classpath:dao/*.xml
 | 
			
		||||
    - classpath*:com/**/mapper/*.xml
 | 
			
		||||
#jwt:
 | 
			
		||||
#  tokenHeader: Authorization #JWT存储的请求头
 | 
			
		||||
#  secret: mall-portal-secret #JWT加解密使用的密钥
 | 
			
		||||
#  expiration: 604800 #JWT的超期限时间(60*60*24)
 | 
			
		||||
#  tokenHead: bearer #JWT负载中拿到开头
 | 
			
		||||
 | 
			
		||||
# 自定义redis键值
 | 
			
		||||
#redis:
 | 
			
		||||
#  key:
 | 
			
		||||
#    prefix:
 | 
			
		||||
#      authCode: "portal:authCode:"
 | 
			
		||||
#      orderId: "portal:orderId:"
 | 
			
		||||
#    expire:
 | 
			
		||||
#      authCode: 90 # 验证码超期时间
 | 
			
		||||
 | 
			
		||||
spring:
 | 
			
		||||
  # 选择redis为session存储
 | 
			
		||||
  session:
 | 
			
		||||
    store-type: redis
 | 
			
		||||
#  redis:
 | 
			
		||||
#    host: 218.76.8.107
 | 
			
		||||
#    port: 6379
 | 
			
		||||
#    database: 0
 | 
			
		||||
#    lettuce:
 | 
			
		||||
#      pool:
 | 
			
		||||
#        max-active: 8 # 连接池最大连接数(使用负值表示没有限制)
 | 
			
		||||
#        max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
 | 
			
		||||
#        max-idle: 8 # 连接池中的最大空闲连接
 | 
			
		||||
#        min-idle: 0 # 连接池中的最小空闲连接
 | 
			
		||||
#      timeout: 3000ms # 连接超时时间(毫秒)
 | 
			
		||||
#    password: 123456
 | 
			
		||||
		Reference in New Issue
	
	Block a user