接口 RestApiTemplate


public interface RestApiTemplate

Description: 外部 Rest API 集成抽象服务

作者:
: gengwei.zheng
Date:
: 2021/4/10 15:33
  • 方法概要

    修饰符和类型
    方法
    说明
    获取外部Rest API基础地址
    default cn.zhxu.okhttps.MsgConvertor
     
    default cn.zhxu.okhttps.HTTP
     
  • 方法详细资料

    • getBaseUrl

      String getBaseUrl()
      获取外部Rest API基础地址
      返回:
      访问接口的统一BaseURL
    • http

      default cn.zhxu.okhttps.HTTP http()
    • getMsgConvertor

      default cn.zhxu.okhttps.MsgConvertor getMsgConvertor()