forked from kidgrow-microservices-platform

kidgrow-business/kidgrow-filecenter/kidgrow-filecenter-server/src/main/resources/application.yml
@@ -37,6 +37,7 @@
kidgrow:
  #  fdfs:
  #    web-url: 192.168.28.130
@@ -87,3 +88,38 @@
#  trackerList: ${kidgrow.fdfs.trackerList}
#创蓝
chuanglan:
  sms:
    sendUrl: http://smssh1.253.com/msg/send/json
    account: N2561124
    password: Mguj6qlRWX7b5e
    num: 5
    timeLimit: 720000
#阿里云相关
aliyun:
  sms:
    accessKeyId: LTAIX1whVSBUUKNW
    accessKeySecret: j7UywJDoUkPRvGafKrik1pyYtEC2ys
    signName: 微课堂
    templates:
      ### 模板key
      key1:
        ## 模板code 需要在阿里云控制台设置
        templateCode: SMS_151231928 # 与阿里云设置的保持一致,模板内容需在后面加上,方便使用:****
      key2:
        templateCode: SMS_105665033 # 与阿里云设置的保持一致,模板内容需在后面加上,方便使用:****
  commonRequest:
    domain: dysmsapi.aliyuncs.com
    ## 版本号
    version: 2017-05-25
    ##
    action: SendSms
## 短信验证码过期时间,时间单位/秒
sms:
  verificationCode:
    ## 短信验证码过期时间,时间单位/秒
    timeOut: 120
    ##  缓存手机号key值前缀
    prefix: "sms:aliyun:code:"