新闻资讯

点击排行

您现在的位置:首页 > 新闻资讯 > 二次开发

【解决方案】安信商城订单下达时买卖双方接收手机短信通知的代码

来源:安信科技    浏览: 次    日期:2015年11月25日

 <%

 

If isEmpty(anxinMall_sms) Then

set anxinMall_sms = new Sms

End If

dim buyerMobile : buyerMobile =anxinMall.db("select mobile from [anxinMall_shouhuoaddress] where userid="&c_userid,2)(0)

 

dim shjiaid_dd : shjiaid_dd =anxinMall.db("select shjiaid from [anxinMall_dingdan] where zongdingdanhao='"&dingdanhao&"'",2)(0)

call anxinMall_sms.SendSms(buyerMobile,"【安信科技】提醒您的订单号:" &dingdanhao& "已经下达,等待商家发货。")

dim shjiaMobile

if anxinMall.db("select mobile from [anxinMall_shjia] where userid="&shjiaid_dd,2)(0)<>"" then

shjiaMobile=anxinMall.db("select mobile from [anxinMall_shjia] where userid="&shjiaid_dd,2)(0)

call anxinMall_sms.SendSms(shjiaMobile,"【安信科技】提醒店内有新订单:" &dingdanhao& "请尽快确认发货。")

%>

亲,试试微信扫码分享本页! *^_^*

精彩推荐