类 OauthListDirective

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

@Component public class OauthListDirective extends AbstractTemplateDirective
oauthList 第三方登录查询指令

参数列表 返回结果

  • list登录渠道名称列表
使用示例

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

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

  • 构造器详细资料

    • OauthListDirective

      public OauthListDirective()
  • 方法详细资料

    • execute

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