This website works better with JavaScript.
Home
Explore
Help
Sign In
EggPlanet
/
egg_mq_consume
Watch
3
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
短信
master
huangjiajun
4 weeks ago
parent
9583265639
commit
ac63d5e3aa
2 changed files
with
4 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
consume/aliyun_sms_record_consume.go
+1
-1
consume/md/consume_key.go
+ 3
- 0
consume/aliyun_sms_record_consume.go
View File
@@ -85,6 +85,9 @@ func handleAliyunSmsRecordConsume(msgData []byte) error {
aliyunSmsSaleCode = msg.Code
aliyunSmsSaleCode = msg.Code
extra = msg.Extra
extra = msg.Extra
}
}
if aliyunSmsSaleCode == "" {
return nil
}
err = aliyun.AliyunSendSms(aliyunSmsId, aliyunSmsSecret, msg.Phone, aliyunSmsSignName, aliyunSmsSaleCode, extra)
err = aliyun.AliyunSendSms(aliyunSmsId, aliyunSmsSecret, msg.Phone, aliyunSmsSignName, aliyunSmsSaleCode, extra)
if err != nil {
if err != nil {
return err
return err
+ 1
- 1
consume/md/consume_key.go
View File
@@ -112,7 +112,7 @@ var RabbitMqQueueKeyList = []*MqQueue{
},
},
{
{
ExchangeName: "egg.aliyun_sms",
ExchangeName: "egg.aliyun_sms",
Name: "egg_aliyun_sms_record_queue",
Name: "egg_aliyun_sms_record_queue
_new
",
Type: DirectQueueType,
Type: DirectQueueType,
IsPersistent: false,
IsPersistent: false,
RoutKey: "aliyun_sms_record",
RoutKey: "aliyun_sms_record",
Write
Preview
Loading…
Cancel
Save