Esempio n. 1
0
    /// <summary>
    /// 发送短信
    /// </summary>
    static void testSendSms()
    {
        var content = new Hashtable();

        content.Add("username", "测试用户");

        SendSms.query(new SendSmsReq()
        {
            content = JsonConvert.SerializeObject(content),
            phone   = "xxx",
            seller  = "测试",
            userid  = config.userid,
            tid     = config.tid,
            sign    = SignUtils.GetMD5(config.key + config.userid)
        });
    }