38 lines
806 B
Java
38 lines
806 B
Java
|
package com.cm.common.service;
|
|||
|
|
|||
|
import freemarker.template.TemplateException;
|
|||
|
|
|||
|
import javax.servlet.http.HttpServletRequest;
|
|||
|
import javax.servlet.http.HttpServletResponse;
|
|||
|
import java.io.IOException;
|
|||
|
import java.util.Map;
|
|||
|
|
|||
|
/**
|
|||
|
* When you feel like quitting. Think about why you started
|
|||
|
* 当你想要放弃的时候,想想当初你为何开始
|
|||
|
*
|
|||
|
* @ClassName: IApiDocService
|
|||
|
* @Description: api文档
|
|||
|
* @Author: WangGeng
|
|||
|
* @Date: 2021/8/14 10:57
|
|||
|
* @Version: 1.0
|
|||
|
**/
|
|||
|
public interface IApiDocService {
|
|||
|
|
|||
|
/**
|
|||
|
* 获取接口
|
|||
|
*
|
|||
|
* @return
|
|||
|
*/
|
|||
|
Map<String, Object> getApi();
|
|||
|
|
|||
|
/**
|
|||
|
* 获取文档
|
|||
|
*
|
|||
|
* @param request
|
|||
|
* @param response
|
|||
|
*/
|
|||
|
void get(HttpServletRequest request, HttpServletResponse response) throws IOException, TemplateException;
|
|||
|
|
|||
|
}
|