1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- server:
- port: 9087
- servlet:
- context-path: /api
-
- spring:
- datasource:
- url: jdbc:mysql://110.40.183.156:3306/civilizedcity?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true
- username: civilizedcity
- password: civilizedcity@ABCD1234
- mvc:
- pathmatch:
- matching-strategy: ANT_PATH_MATCHER
- servlet:
- multipart:
- max-file-size: 1024MB
- max-request-size: 1024MB
- profiles:
- active: @profileActive@
-
- ###
- yz:
- upload:
- path: E:\work\public-upload
- prefix: http://127.0.0.1:8000
- filter:
- annList:
- - "/swagger-ui/**"
- - "/swagger-resources/**"
- - "/v2/**"
- - "/static/**"
- - "/**/login"
- - "/**/signin"
- - "/ma/captcha"
- - "/ma/change-password"
-
- wx:
- miniapp:
- appid: wxe44244d1a5ea3364
- secret: b7dbbb7b51d40aa716115e76721ed3ff
- token:
- aesKey:
-
- ###
- aliyun:
- accessKeyId: LTAI5tGjnZY6k799BHxhmqcm
- accessKeySecret: eU1DmULbgHe2dnIg3P93634PO2vEh5
- oss:
- roleSessionName: shigongli
- accessKeyId: LTAI4G9zCefU1m7sKmmBnzTc
- accessKeySecret: Vaax5O7wTL0KZdSgd8L9cGBf8AgUqJ
- arn: acs:ram::1636896505560465:role/ramosssts
- region: oss-cn-shanghai
- endpoint: oss-accelerate.aliyuncs.com
- bucketName: yz-shigongli
- bucketURL: https://yz-shigongli.oss-accelerate.aliyuncs.com
-
-
- sa-token:
- # jwt秘钥
- jwt-secret-key: d4d778d279cf11ed9b1d525400e8554f
- # token名称 (同时也是cookie名称)
- token-name: Authorization
- # token有效期,单位s 默认30天, -1代表永不过期
- timeout: 2592000
- # token临时有效期 (指定时间内无操作就视为token过期) 单位: 秒
- activity-timeout: -1
- # 是否允许同一账号并发登录 (为true时允许一起登录, 为false时新登录挤掉旧登录)
- is-concurrent: true
- # 在多人登录同一账号时,是否共用一个token (为true时所有登录共用一个token, 为false时每次登录新建一个token)
- is-share: true
- # token风格
- token-style: uuid
- # 是否输出操作日志
- is-log: false
- # 是否尝试从 cookie 里读取 Token
- is-read-cookie: false
-
- ###
- mybatis-plus:
- configuration:
- log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
- call-setters-on-nulls: true
- mapper-locations: classpath:mapper/**/*.xml
-
- ### swagger
- springfox:
- documentation:
- auto-startup: true
|