类 TradeOrderHistoryListDirective

所有已实现的接口:
Directive, HttpDirective, freemarker.template.TemplateDirectiveModel, freemarker.template.TemplateModel

@Component public class TradeOrderHistoryListDirective extends AbstractTemplateDirective
tradeOrderHistoryList 订单历史列表查询指令

参数列表

  • orderId 订单id
  • startCreateDate 起始创建日期,【2020-01-01 23:59:59】,【2020-01-01】
  • endCreateDate 终止创建日期,【2020-01-01 23:59:59】,【2020-01-01】
  • orderType 排序类型,【asc:正序,desc:倒叙】,默认为创建日期倒叙
  • pageIndex 页码
  • pageSize 每页条数

返回结果

使用示例

<@trade.orderHistoryList orderId=1 pageSize=10><#list page.list as a>${a.content}<#sep>,</#list></@trade.orderHistoryList>

<script>
$.getJSON('${site.dynamicPath}api/directive/trade/orderHistoryList?orderId=1&pageSize=10&appToken=接口访问授权Token', function(data){    
 console.log(data.page.totalCount);
});
</script>
 
  • 字段详细资料

  • 构造器详细资料

    • TradeOrderHistoryListDirective

      public TradeOrderHistoryListDirective()
  • 方法详细资料