Example #1
0
        /// <summary>
        /// 催乳师认证
        /// </summary>
        private void User2Credit()
        {
            int id   = CRequest.GetInt("id", 0);
            int type = CRequest.GetInt("num", 0);
            int num  = UserInfoService.CreditUser(id, type);

            if (num > 0)
            {
                Response.Write("success");
            }
            else
            {
                Response.Write("fail");
            }
        }