接口 RestApiTemplate
public interface RestApiTemplate
Description: 外部 Rest API 集成抽象服务
- 作者:
- : gengwei.zheng
- Date:
- : 2021/4/10 15:33
-
方法概要
修饰符和类型方法说明获取外部Rest API基础地址default cn.zhxu.okhttps.MsgConvertordefault cn.zhxu.okhttps.HTTPhttp()
-
方法详细资料
-
getBaseUrl
String getBaseUrl()获取外部Rest API基础地址- 返回:
- 访问接口的统一BaseURL
-
http
default cn.zhxu.okhttps.HTTP http() -
getMsgConvertor
default cn.zhxu.okhttps.MsgConvertor getMsgConvertor()
-