コード例 #1
0
        public ActionResult Review(int notifyId, int reviewType, int channelType, int mobile, int unicom,
                                   int telecom, int operatorId = 0, string reviewDesc = "")
        {
            int status = SmsList.SetReviewSms(notifyId, reviewType, channelType, mobile, unicom, telecom, operatorId,
                                              reviewDesc);

            if (status != 0)
            {
                Response.Write("<script>alert('审核成功!')</script>");
                return(RedirectToAction("SmsReview"));
            }
            else
            {
                Response.Write("<script>alert('审核失败!')</script>");
                return(RedirectToAction("SmsReview"));
            }
        }
コード例 #2
0
        public string IndexReview(int notifyId, int reviewType, int channelType, int mobile, int unicom,
                                  int telecom, string reviewDesc = "")
        {
            ManageUserModel uM = (ManageUserModel)Session["logUser"];

            int status = SmsList.SetReviewSms(notifyId, reviewType, channelType, mobile, unicom, telecom, uM.UserID,
                                              reviewDesc);

            if (status != 0)
            {
                return("1");
            }
            else
            {
                return("2");
            }
        }