Web/Mobile/MobileSmsAdd.aspx.cs
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class Mobile_MobileSmsAdd : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
ZWL.Common.PublicMethod.CheckSession();
try
{
this.TextBox1.Text = Request.QueryString["ShouJilist"].ToString();
}
catch
{ }
}
}
protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
{
ZWL.BLL.ERPMobile MyModel = new ZWL.BLL.ERPMobile();
MyModel.ToUserList = this.TextBox1.Text;
MyModel.ContentStr = this.TextBox2.Text;
MyModel.FaSongUser = ZWL.Common.PublicMethod.GetSessionValue("UserName");
Mobile.SendSMS(MyModel.FaSongUser, MyModel.ToUserList, MyModel.ContentStr);
MyModel.ToUserList ="内部人员:"+ this.TextBox1.Text;
MyModel.Add();
//写系统日志
ZWL.BLL.ERPRiZhi MyRiZhi = new ZWL.BLL.ERPRiZhi();
MyRiZhi.UserName = ZWL.Common.PublicMethod.GetSessionValue("UserName");
MyRiZhi.DoSomething = "用户添加新内部手机短信(" + this.TextBox2.Text + ")";
MyRiZhi.IpStr = System.Web.HttpContext.Current.Request.UserHostAddress.ToString();
MyRiZhi.Add();
ZWL.Common.MessageBox.ShowAndRedirect(this, "手机短信发送成功!", "MobileSms.aspx");
}
protected void ImageButton2_Click(object sender, ImageClickEventArgs e)
{
ZWL.BLL.ERPMobile MyModel = new ZWL.BLL.ERPMobile();
MyModel.ToUserList = this.TextBox3.Text;
MyModel.ContentStr = this.TextBox4.Text;
MyModel.FaSongUser = ZWL.Common.PublicMethod.GetSessionValue("UserName");
Mobile.SendSMS2(MyModel.FaSongUser, MyModel.ToUserList, MyModel.ContentStr);
MyModel.ToUserList = "外部人员:" + this.TextBox3.Text;
后面还有 14 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。