diff --git a/Cunkebao/src/pages/mobile/scenarios/plan/list/planApi.tsx b/Cunkebao/src/pages/mobile/scenarios/plan/list/planApi.tsx index b365abce..f2f84642 100644 --- a/Cunkebao/src/pages/mobile/scenarios/plan/list/planApi.tsx +++ b/Cunkebao/src/pages/mobile/scenarios/plan/list/planApi.tsx @@ -271,19 +271,42 @@ const PlanApi: React.FC = ({ ); }; - const renderDocsTab = () => ( -
-
- -
- -
-

对外获客线索上报接口文档(V1)

-

-
+ const renderDocsTab = () => { + const docUrl = `${import.meta.env.VITE_API_BASE_URL}/doc/api_v1.md`; + + return ( +
+
+ +
+ +
+

对外获客线索上报接口文档(V1)

+

点击下方按钮可直接在浏览器中打开最新的远程文档。

+
+ + +
+
+
-
- ); + ); + }; const renderCodeTab = () => { const codeExamples = {