當前位置:名人名言大全網 - 短信平臺 - 短信接口 如何調用

短信接口 如何調用

這個是webservice啊,妳在妳的項目上點擊鼠標右鍵,然後選擇添加服務引用-高級-添加web引用,把妳的webservice地址寫在URL地址欄裏,然後按右邊的添加引用就OK了。。

然後妳接直接調用例如

String smsValue =“ [#username]admin[/#username] [#password]123[/#password] [#content]內容[/#content] [#numbers]13456866483@接收人姓名1,13456833454@接收人姓名2[/#numbers] [#planTime]2010-11-1214:13:17[/#planTime] ”

string msg=XX.sendSms(smsValue);