public ActionResult GetOtherReceive(long id)
        {
            List <ShopBonusOtherReceiveModel> shopBonusOtherReceiveModels = new List <ShopBonusOtherReceiveModel>();
            List <ShopBonusReceiveInfo>       detailByGrantId             = _bonusService.GetDetailByGrantId(id);
            int num = 0;

            foreach (ShopBonusReceiveInfo shopBonusReceiveInfo in detailByGrantId)
            {
                ShopBonusOtherReceiveModel shopBonusOtherReceiveModel = new ShopBonusOtherReceiveModel()
                {
                    Name        = shopBonusReceiveInfo.WXName,
                    HeadImg     = shopBonusReceiveInfo.WXHead,
                    Copywriter  = RandomStr(num),
                    Price       = shopBonusReceiveInfo.Price.Value,
                    ReceiveTime = shopBonusReceiveInfo.ReceiveTime.Value.ToString("yyyy-MM-dd HH:mm")
                };
                shopBonusOtherReceiveModels.Add(shopBonusOtherReceiveModel);
                num++;
                if (num <= 4)
                {
                    continue;
                }
                num = 0;
            }
            return(Json(shopBonusOtherReceiveModels));
        }
 public static List <ShopBonusReceiveInfo> GetDetailByGrantId(long grantid)
 {
     return(_iShopBonusService.GetDetailByGrantId(grantid));
 }