Beispiel #1
0
        public ActionResult Audit(TelphoneCertificationEntity entity)
        {
            entity.createId   = CurrentWxUser.OpenId;
            entity.createName = CurrentWxUser.NickName;
            //插入实名认证表
            string responseText = telphonecertificationbll.SaveForm("", entity);

            if (responseText.IndexOf("OK") >= 0)
            {
                //微信提醒
                WechatHelper.SendWX(entity.mobileNumber, entity.custName, entity.custCertCode, entity.custCertAddress);
                //订单提醒
                WechatHelper.SendToTemplate(entity.createId);
            }

            return(Content(responseText));
        }
 public ActionResult SaveForm(string keyValue, TelphoneCertificationEntity entity)
 {
     telphonecertificationbll.SaveForm(keyValue, entity);
     return(Success("操作成功。"));
 }