CreatePlatformSearchProviderOptions
createPlatformSearchProvider 的材料:平台基址、app_user 令牌与可选 fetch 注入
baseUrl
Section titled “baseUrl”baseUrl: string;平台 API 基址(令牌档会话档;/t1 前缀由本 provider 追加)。
fetchImpl?
Section titled “fetchImpl?”optional fetchImpl?: any;fetch 注入缝(测试桩网关;缺省全局 fetch)。
token: string;app_user 短期令牌(只活在本闭包,恒不进工具定义/日志)。
本文是否有帮助?
感谢反馈,我们会持续改进这篇文章。