Esempio n. 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            tempBll = EyouSoft.BLL.SMSStructure.Template.CreateInstance();
            string method = Utils.GetQueryStringValue("method");

            if (method == "")
            {
                method = Utils.GetFormValue("method");
            }
            if (method == "addClass")
            {
                AddClass();//添加类
                return;
            }
            if (method == "update" || method == "add")
            {
                AddOrUpdatePhrase(method);//添加或修改客户
                return;
            }
            if (method == "delClass")
            {
                DeleteClass();//删除类
                return;
            }
            LoadData();//初始化数据
        }
Esempio n. 2
0
 /// <summary>
 /// 创建短信中心-常用短语及常用短语类型业务逻辑接口的实例
 /// </summary>
 /// <returns></returns>
 public static EyouSoft.IBLL.SMSStructure.ITemplate CreateInstance()
 {
     EyouSoft.IBLL.SMSStructure.ITemplate op1 = null;
     if (op1 == null)
     {
         op1 = ComponentFactory.Create <EyouSoft.IBLL.SMSStructure.ITemplate>();
     }
     return(op1);
 }
Esempio n. 3
0
        protected void Page_Load(object sender, EventArgs e)
        {
            tempBll = EyouSoft.BLL.SMSStructure.Template.CreateInstance();
            string method = Utils.GetFormValue("method");

            if (method == "delete")
            {
                if (!IsCompanyCheck)//是否审核通过
                {
                    Utils.ResponseMeg(false, "");
                    return;
                }
                DelPhrase(); //删除短语
            }
            GetPhraseList(); //获取短语
        }