@chengly/request-plugin-tenant
v1.0.0
Published
@chengly/request插件,用于处理micro-app下发的租户信息,并将此信息放到header中
Downloads
6
Readme
REQUEST-PLUGIN-TENANT
@cip/request的插件,用于自动从micro-app基座获取租户id后添加在headers的Team-Id中
Install
yarn add @cip/request-plugin-tenant
Usage
import request from '@cip/request'
import requestPluginTenant from '@cip/request-plugin-tenant'
request.use(requestPluginTenant)