/// <summary>
 /// 添加商品
 /// </summary>
 /// <param name="model"></param>
 /// <returns></returns>
 public static bool AddByActivityProduct(UserPermissionActivityProduct model)
 {
     if (model.PKID == 0)
     {
         return(DALUserPermission.AddByActivityProduct(model));
     }
     else
     {
         return(DALUserPermission.UpdateByActivityProduct(model));
     }
 }