Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b76e5bb3
authored
Oct 20, 2020
by
水库浪子
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改mybatis-plus配置
1 parent
f193d03e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
11 deletions
linkwe-admin/src/main/resources/application.yml
linkwe-admin/src/main/resources/application.yml
View file @
b76e5bb
...
...
@@ -85,15 +85,20 @@ token:
secret
:
abcdefghijklmnopqrstuvwxyz
# 令牌有效期(默认30分钟)
expireTime
:
30
# MyBatis配置
mybatis
:
# 搜索指定包别名
typeAliasesPackage
:
com.linkwechat.**.domain
# 配置mapper的扫描,找到所有的mapper.xml映射文件
mapperLocations
:
classpath*:mapper/**/*Mapper.xml
# 加载全局的配置文件
configLocation
:
classpath:mybatis/mybatis-config.xml
mybatis-plus
:
mapper-locations
:
classpath*:mapper/**/*Mapper.xml
type-aliases-package
:
com.linkwechat.**.domain
type-handlers-package
:
com.linkwechat.framework.handler.**
## MyBatis配置
#mybatis:
# # 搜索指定包别名
# typeAliasesPackage: com.linkwechat.**.domain
# # 配置mapper的扫描,找到所有的mapper.xml映射文件
# mapperLocations: classpath*:mapper/**/*Mapper.xml
# # 加载全局的配置文件
# configLocation: classpath:mybatis/mybatis-config.xml
# PageHelper分页插件
pagehelper
:
...
...
@@ -128,5 +133,5 @@ wecome:
serverUrl
:
https://qyapi.weixin.qq.com/
weComePrefix
:
cgi-bin
noAccessTokenUrl
:
/gettoken
needContactTokenUrl
:
/externalcontact/get_follow_user_list,/externalcontact/add_contact_way
fileUplodUrl
:
/media/upload,/media/uploadimg
\ No newline at end of file
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
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment