Junling Bu 6 years ago
parent
commit
09bd27226c
1 changed files with 11 additions and 2 deletions
  1. 11 2
      deploy/litemall/application.yml

+ 11 - 2
deploy/litemall/application.yml

@@ -61,8 +61,10 @@ litemall:
     # 短信息用于通知客户,例如发货短信通知,注意配置格式;template-name,template-templateId 请参考 NotifyType 枚举值
     sms:
       enable: false
-      appid: 111111111
-      appkey: xxxxxxxxxxxxxx
+      # 如果是腾讯云短信,则设置active的值tencent
+      # 如果是阿里云短信,则设置active的值aliyun
+      active: tencent
+      sign: litemall
       template:
         - name: paySucceed
           templateId: 156349
@@ -72,6 +74,13 @@ litemall:
           templateId: 158002
         - name: refund
           templateId: 159447
+      tencent:
+        appid: 111111111
+        appkey: xxxxxxxxxxxxxx
+      aliyun:
+        regionId: xxx
+        accessKeyId: xxx
+        accessKeySecret: xxx
 
     # 微信模版通知配置
     # 微信模版用于通知客户或者运营者,注意配置格式;template-name,template-templateId 请参考 NotifyType 枚举值