server:
  port: 8687
  servlet:
    context-path: /alumni

spring:
  profiles:
      active: prod
  main:
    allow-circular-references: true
  servlet:
    multipart:
      max-file-size: 100MB
      max-request-size: 150MB
  datasource:
    username: root
    password: Chuanghai2024.
    url: jdbc:mysql://172.16.40.122:3306/alumni_manage?useUnicode=tru&characterEncoding=UTF-8&useSSL=false&useAffectedRows=true&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true&serverTimezone=Asia/Shanghai
    driver-class-name: com.mysql.cj.jdbc.Driver
    cache:
      type: redis
      redis:
        # \u7F13\u5B58\u65F6\u95F4 600s
        time-to-live: 600000
        key-prefix: SPRING_CACHE_
        use-key-prefix: true
        cache-null-values: true
  redis:
    host: localhost
    port: 6379
    #    password: chuanghai.redis
    password: redis.root
    jedis:
      pool:
        max-active: 100
        max-idle: 100
        min-idle: 100
        max-wait: 60000s
# mybatis-plus不属于spring
mybatis-plus:
  mapper-locations: classpath:/mapper/template/*.xml
  global-config:
    db-config:
      logic-delete-value: 1
      logic-not-delete-value: 0
#腾讯云
tencentcloud:
  secretID: AKIDDPo13qZCZqtgJsGQL7AyYu1wc7QVMyLl  #签名
  secretKey: JPGrELFySiv0pOrKOPEwSnulOq9IPPDr     #密钥
  sdkAppId: 1400813506   #短信应用ID
  signName: 华仁享学教育   #短信签名内容
  templateId: 1770016  #模板 ID
  smsMin: 1

# 项目公钥私钥
my-security:
  privateKey: MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBAMw5w8HTq7nIrJCw+N9VaJaBsQit3XiSJc02KFyJpUpvoeeRC+rvOlC5nzRYRf3iymdQwjeI4CX8aYi8eukbBxsHiElvOeb49qOLCdRI+4IJcDrxgkXrjRwkpv/wp4ztZXPr04WQgQ8eFXE7LgUUXlBZ7+S3rM5nX0eYT5qT7nH9AgMBAAECgYEAktdN68XYicLCYV798wckJmOl+QmaXqEm0QCJ0M+fq3/MuAXQveG42mY9FJQL71rsEZE9tFSUZnuxHgH3ljg6yGfMvrgQ5Nwsoj5eG52mYXw9JYJHA5JOC7eoZ0HxcMuDOJtuGWDQcm9/UHUKkLnTFwX8R9VqDL7Wn+R5RrTjmAECQQD+uX2K9u4g49j342IQzrnGYlSjpwXPhy+P/q/UTJHhTE3L0AKeZ/C5ZfEzc57vwwbDzTXRaFtr9DcYV8rODoUBAkEAzT+LRUfuuPfuAyjpp0NPm+iAkwtoIWdSU3bezeoH2jcMxcMCkN1PBvY79Nluj8Ml5gsjipXtkl0sqv0bhpUA/QJBANcRemRolSqD9l9mRxh10vkjcN80WH2eYJQtr/uKIumc6VqaaHuiuuduoTaV+q3pdr6/dx82A2qkqhgNmBhevgECQBCR/8FxJEHEqm+Q3wRE9+ljZPX6JscDm27nmudO7KFebmaM7ukZJOcv+/kxkK6El8uxvIXUwuBdK10GoDFGWFUCQEhiWAd+RB+tI0ndG4+i+CWIBaxArbOr5eaC0PJCu7GxRZtcxzyittv5u6jMiKYhnJatOLVGpo043NXj/QxI2lY=
  publicKey: MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMOcPB06u5yKyQsPjfVWiWgbEIrd14kiXNNihciaVKb6HnkQvq7zpQuZ80WEX94spnUMI3iOAl/GmIvHrpGwcbB4hJbznm+PajiwnUSPuCCXA68YJF640cJKb/8KeM7WVz69OFkIEPHhVxOy4FFF5QWe/kt6zOZ19HmE+ak+5x/QIDAQAB

#cos存储对象
cos:
  secretId: AKIDCPVZdcWIxgHpy5FYxVyPiqkZGrhdXUBg
  secretKey: NkyCN3cz97qKaeXLvHOGxOcdS8f184pL
  region: ap-shanghai
  bucketName: wanzai-1306339220
  path: https://wanzai-1306339220.cos.ap-shanghai.myqcloud.com

#烟感
smong:
  masterKey: 6c499012b8cf421389aa87d09392ad10
  productId: 17156238
  appKey: ZryBw7U3Nyl
  appSecret: atI3h6deMM

#摄像头
video:
  addDevice: https://www.aiot-y.com/api/device-service/lapp/v1/device/add
  deleteDevice: https://www.aiot-y.com/api/device-service/lapp/v1/device/delete
  updateDevice: https://www.aiot-y.com/api/device-service/lapp/v1/device/name/update
  getDevice: https://www.aiot-y.com/api/user-service/lapp/v1/token/get
  infoDevice: https://www.aiot-y.com/api/device-service/lapp/v1/device/info
  appKey: 7c8af91778d14861b2bd2b385a5cbe82
  secret: 1d20979db6314df088710596713aeabd

dingtalk:
  robot:
    prefix: https://oapi.dingtalk.com/robot/send
    access-token: fe3fc38ed07ec1f0ebf14e3cb48732d840c22ce97432fd0f729c90c9b3bc5f63
    secret:
      secret-enabled: true
      secret-token: SEC0b1b9eff7c698bc7d7abd7c4b5172f12e7c898b461c244891518898db8e649c6

#微校和小程序
openid:
  appid: 0697FA3D7F88C96D #3183DC96A6DABA8D
  appkey: 77A4D9508EE25F6507282CB176763AE1 #05742955578EC5BD29B7BC4CAC5AFACA
  ip: http://192.168.161.218:5173
  granttype: authorization_code
  ipconfig: 172.16.20.93
  ocode: 1015730314
  xappid: wxd6f090391d410534
  xsecret: a7e349716b116792d79c779bb7216153
  shappid: 1653095601
  shsecret: KReLfbAgGZKc3slfEW9Jnhn7RLKqyrGF
  returnUrl: https://chtech.ncjti.edu.cn/campusMaintenance/repair-api/repair/api/repairRecord/returnPay
