Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

配置文件和数据文件都没有 #1

Open
ldboyghg opened this issue Mar 22, 2018 · 6 comments
Open

配置文件和数据文件都没有 #1

ldboyghg opened this issue Mar 22, 2018 · 6 comments

Comments

@ldboyghg
Copy link

配置文件和数据文件都没有

@zhsh39
Copy link

zhsh39 commented May 22, 2018

配置文件和数据文件都没有

@hsbt2333
Copy link

配置文件和数据文件都没有+3

@yangyuscript
Copy link
Owner

###application.properties放在resource文件夹下

spring.datasource.url=jdbc:mysql://localhost:3306/db_appapidemo
spring.datasource.username=root
spring.datasource.password=root
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
#实体类扫描包
mybatis.type-aliases-package=com.lin.appapidemo.model
#Mapper.xml文件扫描目录
mybatis.mapper-locations=classpath:mapper/*.xml
#驼峰命名
mybatis.configuration.map-underscore-to-camel-case=true
#tkmapper工具类
mapper.mappers=com.lin.appapidemo.util.MyMapper
mapper.not-empty=false
mapper.identity=MYSQL
#pagehelper.helperDialect=mysql
#pagehelper.reasonable=true
#pagehelper.support-methods-arguments=true
#pagehelper.params=count=countSql
#spring-boot连接单机版Redis的配置如下:
#REDIS(RedisProperties)
#Redis数据库索引(默认为0)
spring.redis.database=0
#Redis服务器地址
spring.redis.host=your ip
#Redis服务器连接端口
spring.redis.port=6379
#Redis服务器连接密码(默认为空)
spring.redis.password=123456
#连接池最大连接数(使用负值表示没有限制)
spring.redis.pool.max-active=8
#连接池最大阻塞等待时间(使用负值表示没有限制)
spring.redis.pool.max-wait=-1
#连接池中的最大空闲连接
spring.redis.pool.max-idle=8
#连接池中的最小空闲连接
spring.redis.pool.min-idle=0
#连接超时时间(毫秒)
spring.redis.timeout=0

#页面热部署
spring.thymeleaf.cache=false

#发送邮件配置
spring.mail.host=smtp.163.com
spring.mail.username=your email
spring.mail.password=you auth code
spring.mail.default-encoding=UTF-8

@yangyuscript
Copy link
Owner

配置文件和数据文件都没有

有啦

@yangyuscript
Copy link
Owner

配置文件和数据文件都没有+3

有啦

@yangyuscript
Copy link
Owner

配置文件和数据文件都没有

有啦

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants