コード例 #1
0
 /// <summary>
 /// 查询用户的地址数量
 /// </summary>
 /// <param name="userId"></param>
 /// <param name="countryId"></param>
 /// <returns></returns>
 public int GetUserAddressCount(int userId, int countryId)
 {
     try
     {
         return(dal.GetUserAddressCount(userId, countryId));
     }
     catch (Exception ex)
     {
         LogHelper.Error(ex);
     }
     return(0);
 }