From 847660b8169e4ffd6bb0381e4e13ff85a16cf4f4 Mon Sep 17 00:00:00 2001 From: tassadarliu Date: Sat, 1 Jul 2017 13:39:02 +0800 Subject: [PATCH] fix send sms bug --- ts/Topic.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/Topic.ts b/ts/Topic.ts index 1239613..a95f997 100644 --- a/ts/Topic.ts +++ b/ts/Topic.ts @@ -80,7 +80,7 @@ module AliMNS{ }; if(tag) msgBlock.MessageTag = tag; - if(attrs) msgBlock.MessageAttributes = attrs; + if(attrs) msgBlock.MessageAttributes = { DirectSMS: attrs }; var body = { Message: msgBlock