content: package com.cf.ad.admin.swagger;
  
  import com.cf.ad.domain.request.CfAdForm;
  import com.cf.ad.domain.request.CfAdQuery;
  import com.cf.framework.domain.response.ResponseResult;
  import io.swagger.annotations.Api;
  import io.swagger.annotations.ApiImplicitParam;
  import io.swagger.annotations.ApiImplicitParams;
  import io.swagger.annotations.ApiOperation;
  
  @Api(tags = {"广告接口"})
  public interface CfAdSwagger {
  
      @ApiOperation(value = "根据id获取广告详情")
      @ApiImplicitParams({
              @ApiImplicitParam(name="lang",value = "语言(zh-中文[默认]/en-英文...更多见官网文档)",required=false,paramType="header",dataType="string"),
              @ApiImplicitParam(name="id",value = "广告id",required=true,paramType="query",dataType="string")
      })
      ResponseResult findById(String id) throws Exception;
  
      @ApiOperation(value = "添加")
      @ApiImplicitParams({
              @ApiImplicitParam(name="authorization",value = "jwt串(请加\"Bearer \"前缀，注意有空格)",required=true,paramType="header",dataType="string"),
              @ApiImplicitParam(name="lang",value = "语言(zh-中文[默认]/en-英文...更多见官网文档)",required=false,paramType="header",dataType="string")
      })
      ResponseResult add(CfAdForm cfAdForm) throws Exception;
  
      @ApiOperation(value = "更新")
      @ApiImplicitParams({
              @ApiImplicitParam(name="authorization",value = "jwt串(请加\"Bearer \"前缀，注意有空格)",required=true,paramType="header",dataType="string"),
              @ApiImplicitParam(name="lang",value = "语言(zh-中文[默认]/en-英文...更多见官网文档)",required=false,paramType="header",dataType="string")
      })
      ResponseResult update(CfAdForm cfAdForm) throws Exception;
  
      @ApiOperation(value = "删除")
      @ApiImplicitParams({
              @ApiImplicitParam(name="authorization",value = "jwt串(请加\"Bearer \"前缀，注意有空格)",required=true,paramType="header",dataType="string"),
              @ApiImplicitParam(name="lang",value = "语言(zh-中文[默认]/en-英文...更多见官网文档)",required=false,paramType="header",dataType="string"),
              @ApiImplicitParam(name="id",value = "广告id",required=true,paramType="query",dataType="string")
      })
      ResponseResult delete(String id) throws Exception;
  
      @ApiOperation(value = "根据Query条件获取数据")
      @ApiImplicitParams({
              @ApiImplicitParam(name="authorization",value = "jwt串(请加\"Bearer \"前缀，注意有空格)",required=true,paramType="header",dataType="string"),
              @ApiImplicitParam(name="lang",value = "语言(zh-中文[默认]/en-英文...更多见官网文档)",required=false,paramType="header",dataType="string")
      })
      ResponseResult getListByQuery(CfAdQuery cfAdQuery) throws Exception;
  }
  