public RestfulResult Refresh(GetPromotionListForRefresh request) { return new RestfulResult { Data = this._promotionDataService.GetPromotionListForRefresh(request) }; }
/// <summary> /// 刷新接口 /// </summary> /// <param name="request"></param> /// <returns></returns> public ExecuteResult<PromotionCollectionResponse> GetPromotionListForRefresh(GetPromotionListForRefresh request) { var timestamp = new Timestamp { TsType = TimestampType.New, Ts = DateTime.Parse(request.RefreshTs) }; var response = GetList(request.PagerRequest, timestamp, request.SortOrder, request.CoordinateInfo); var result = new ExecuteResult<PromotionCollectionResponse> { Data = response }; return result; }