瀏覽代碼

短信

master
huangjiajun 4 週之前
父節點
當前提交
ac63d5e3aa
共有 2 個檔案被更改,包括 4 行新增1 行删除
  1. +3
    -0
      consume/aliyun_sms_record_consume.go
  2. +1
    -1
      consume/md/consume_key.go

+ 3
- 0
consume/aliyun_sms_record_consume.go 查看文件

@@ -85,6 +85,9 @@ func handleAliyunSmsRecordConsume(msgData []byte) error {
aliyunSmsSaleCode = msg.Code
extra = msg.Extra
}
if aliyunSmsSaleCode == "" {
return nil
}
err = aliyun.AliyunSendSms(aliyunSmsId, aliyunSmsSecret, msg.Phone, aliyunSmsSignName, aliyunSmsSaleCode, extra)
if err != nil {
return err


+ 1
- 1
consume/md/consume_key.go 查看文件

@@ -112,7 +112,7 @@ var RabbitMqQueueKeyList = []*MqQueue{
},
{
ExchangeName: "egg.aliyun_sms",
Name: "egg_aliyun_sms_record_queue",
Name: "egg_aliyun_sms_record_queue_new",
Type: DirectQueueType,
IsPersistent: false,
RoutKey: "aliyun_sms_record",


Loading…
取消
儲存