示例#1
0
        /// <summary>
        /// 增加机器人出价
        /// </summary>
        /// <param name="bm"></param>
        /// <returns></returns>
        public string AddBidRobot(BidRebotModel bm)
        {
            AuctionMainFormBiz biz = new AuctionMainFormBiz();

            if (!biz.HasMoneySetRebot(bm.PublishId, bm.MaxPrice, bm.BuyTvaId))
            {
                return("02");
            }
            if (biz.AddBidRobot(bm))
            {
                return("00");
            }
            else
            {
                return("01");
            }
        }