예제 #1
0
 public JsonResult AppSlideImageChangeSequence(int oriRowNumber, int newRowNumber)
 {
     _iSlideAdsService.UpdateWeixinSlideSequence(0, oriRowNumber, newRowNumber, Entities.SlideAdInfo.SlideAdType.AppGifts);
     return(Json(new Result {
         success = true
     }));
 }
예제 #2
0
 public JsonResult SlideImageChangeSequence(int oriRowNumber, int newRowNumber)
 {
     _iSlideAdsService.UpdateWeixinSlideSequence(CurrentSellerManager.ShopId, oriRowNumber, newRowNumber, SlideAdInfo.SlideAdType.VShopHome);
     return(Json(new { success = true }));
 }
예제 #3
0
 /// <summary>
 /// 排序上下移
 /// </summary>
 /// <param name="sourceSequence"></param>
 /// <param name="destiSequence"></param>
 public static void UpdateWeixinSlideSequence(long shopId, long sourceSequence, long destiSequence, SlideAdInfo.SlideAdType type)
 {
     _iSlideAdsService.UpdateWeixinSlideSequence(shopId, sourceSequence, destiSequence, type);
 }
 public JsonResult SlideImageChangeSequence(int oriRowNumber, int newRowNumber)
 {
     _iSlideAdsService.UpdateWeixinSlideSequence(0, oriRowNumber, newRowNumber, SlideAdInfo.SlideAdType.DistributionHome);
     return(Json(new { success = true }));
 }