类 TradePaymentListDirective

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

@Component public class TradePaymentListDirective extends AbstractTemplateDirective
tradePaymentList 支付列表查询指令

参数列表

  • userId 用户id
  • tradeType 支付类型,【recharge:充值,product:产品】
  • serialNumber 流水号
  • accountType 账户类型,【account:账户,alipay:支付宝,wechat:微信】
  • accountSerialNumber 账号流水号
  • status 状态,【0:待支付,1:已支付,2:待退款,3:已退款,4:已关闭】
  • 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.paymentList pageSize=10><#list page.list as a>${a.amount}<#sep>,</#list></@trade.paymentList>

<script>
$.getJSON('${site.dynamicPath}api/directive/trade/paymentList?pageSize=10&authToken=用户登录Token&authUserId=用户id', function(data){    
 console.log(data.page.totalCount);
});
</script>
 
  • 字段详细资料

  • 构造器详细资料

    • TradePaymentListDirective

      public TradePaymentListDirective()
  • 方法详细资料