示例#1
0
 public ActionResult ApplyChangeGood(dm_intergralchangerecordEntity dm_IntergralchangerecordEntity)
 {
     try
     {
         dm_userEntity dm_UserEntity = dm_userIBLL.GetEntityByCache(dm_IntergralchangerecordEntity.user_id.ToInt());
         if (dm_UserEntity == null)
         {
             return(Fail("用户信息异常!"));
         }
         dM_IntergralChangeRecordIBLL.ApplyChangeGood(dm_IntergralchangerecordEntity, dm_UserEntity);
         return(Success("商品兑换成功,我们将会在7个工作日内发货!", new
         {
         }));
     }
     catch (Exception ex)
     {
         return(FailException(ex));
     }
 }
 public ActionResult SaveForm(int keyValue, dm_intergralchangerecordEntity entity)
 {
     dM_IntergralChangeRecordIBLL.SaveEntity(keyValue, entity);
     return(Success("保存成功!"));
 }
        public ActionResult GetFormData(int keyValue)
        {
            dm_intergralchangerecordEntity data = dM_IntergralChangeRecordIBLL.GetEntity(keyValue);

            return(Success(data));
        }