Esempio n. 1
0
        public ActionResult GetAmountimp()
        {
            string appid  = this.Request["appid"];
            string appkey = this.Request["appkey"];
            string apiurl = this.Request["apiurl"];
            string ret    = IkyunApiHelper.GetSmsAmount(apiurl, appid, appkey);

            return(Content(ret));
        }
Esempio n. 2
0
        protected void Button1_Click(object sender, EventArgs e)
        {
            string varappid  = this.appid.Text.Trim();
            string varappkey = this.appkey.Text.Trim();
            string apiurlx   = this.apiurl.Text.Trim();
            string ret       = IkyunApiHelper.GetReplyMsg(apiurlx, varappid, varappkey);

            this.TextBox1.Text = ret;
        }
Esempio n. 3
0
        public ActionResult SendSmsMsgimp()
        {
            string appid  = this.Request["appid"];
            string appkey = this.Request["appkey"];
            string mobile = this.Request["mobile"];
            string extno  = this.Request["extno"];
            string msgx   = this.Request["msg"];
            string apiurl = this.Request["apiurl"];
            string ret    = IkyunApiHelper.SendMsg(apiurl, appid, appkey, mobile, extno, msgx);

            return(Content(ret));
        }
Esempio n. 4
0
        protected void Button1_Click(object sender, EventArgs e)
        {
            string varappid  = this.appid.Text.Trim();
            string varappkey = this.appkey.Text.Trim();
            string varmobile = this.mobile.Text.Trim();
            string varextno  = this.extno.Text.Trim();
            string varmsg    = this.msg.Text.Trim();
            string apiurlx   = this.apiurl.Text.Trim();
            string ret       = IkyunApiHelper.SendMsg(apiurlx, varappid, varappkey, varmobile, varextno, varmsg);

            this.TextBox1.Text = ret;
        }