类 GatewayListDirective

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

@Component public class GatewayListDirective extends AbstractTemplateDirective
gatewayList 支付渠道查询指令

参数列表 返回结果

  • list支付渠道名称列表
使用示例

<@oauth.list><#list list as a>${a}<#sep>,</#list></@oauth.list>

 <script>
  $.getJSON('${site.dynamicPath}api/directive/trade/gatewayList', function(data){
    console.log(data);
  });
  </script>
 
  • 字段详细资料

  • 构造器详细资料

    • GatewayListDirective

      public GatewayListDirective()
  • 方法详细资料

    • execute

      public void execute(RenderHandler handler) throws IOException, freemarker.template.TemplateException
      参数:
      handler -
      抛出:
      IOException
      freemarker.template.TemplateException