示例#1
0
        /// <summary>
        /// 直接充值订单
        /// </summary>
        public bool Recharge(Model.user_recharge model)
        {
            bool result = dal.Recharge(model);

            //冲值,自动升级级别
            if (result)
            {
                new BLL.users().Upgrade(model.user_id, model.amount);
            }
            return(result);
        }
示例#2
0
 /// <summary>
 /// 直接充值订单
 /// </summary>
 public bool Recharge(Model.user_recharge model)
 {
     return(dal.Recharge(model));
 }