Example #1
0
 /// <summary>
 /// 用户注册
 /// </summary>
 /// <param name="user"></param>
 /// <returns></returns>
 public int addMail(Client user)
 {
     if (myDAL.mailTest(user) == 1)
     {
         return(2);
     }
     else
     {
         return(myDAL.addMail(user));
     }
 }