Commit b76e5bb3 by 水库浪子

修改mybatis-plus配置

1 parent f193d03e
...@@ -86,14 +86,19 @@ token: ...@@ -86,14 +86,19 @@ token:
# 令牌有效期(默认30分钟) # 令牌有效期(默认30分钟)
expireTime: 30 expireTime: 30
# MyBatis配置 mybatis-plus:
mybatis: mapper-locations: classpath*:mapper/**/*Mapper.xml
# 搜索指定包别名 type-aliases-package: com.linkwechat.**.domain
typeAliasesPackage: com.linkwechat.**.domain type-handlers-package: com.linkwechat.framework.handler.**
# 配置mapper的扫描,找到所有的mapper.xml映射文件
mapperLocations: classpath*:mapper/**/*Mapper.xml ## MyBatis配置
# 加载全局的配置文件 #mybatis:
configLocation: classpath:mybatis/mybatis-config.xml # # 搜索指定包别名
# typeAliasesPackage: com.linkwechat.**.domain
# # 配置mapper的扫描,找到所有的mapper.xml映射文件
# mapperLocations: classpath*:mapper/**/*Mapper.xml
# # 加载全局的配置文件
# configLocation: classpath:mybatis/mybatis-config.xml
# PageHelper分页插件 # PageHelper分页插件
pagehelper: pagehelper:
...@@ -128,5 +133,5 @@ wecome: ...@@ -128,5 +133,5 @@ wecome:
serverUrl: https://qyapi.weixin.qq.com/ serverUrl: https://qyapi.weixin.qq.com/
weComePrefix: cgi-bin weComePrefix: cgi-bin
noAccessTokenUrl: /gettoken noAccessTokenUrl: /gettoken
needContactTokenUrl: /externalcontact/get_follow_user_list,/externalcontact/add_contact_way needContactTokenUrl: /externalcontact/get_follow_user_list,/externalcontact/add_contact_way,/externalcontact/add_corp_tag,/externalcontact/get_corp_tag_list,/externalcontact/del_corp_tag,/externalcontact/edit_corp_tag,/externalcontact/list,/externalcontact/get
fileUplodUrl: /media/upload,/media/uploadimg fileUplodUrl: /media/upload,/media/uploadimg
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!