diff --git a/src/glcc/help/index.jsx b/src/glcc/help/index.jsx index f135501e..9a9d3aa8 100644 --- a/src/glcc/help/index.jsx +++ b/src/glcc/help/index.jsx @@ -14,9 +14,9 @@ function Help(props) { // 获取仓库wiki列表 useEffect(()=>{ wikiPages({ - owner: locationStatus ? 'GLCC' : 'forgetest2', - repo: locationStatus ? 'glcc2022' : 'wiki1', - projectId: locationStatus ? '1403785' : '546103' + owner: locationStatus ? 'CCF-GLCC' : 'forgetest2', + repo: locationStatus ? 'glcc-help' : 'wiki1', + projectId: locationStatus ? '1403908' : '546103' }).then(res => { if (res && res.message === "200" && Array.isArray(res.data)) { setFileArrInit(res.data); @@ -32,10 +32,10 @@ function Help(props) { // 获取选择wiki详情 useEffect(() => { checkItem.name && getWiki({ - owner: locationStatus ? 'GLCC' : 'forgetest2', - repo: locationStatus ? 'glcc2022' : 'wiki1', + owner: locationStatus ? 'CCF-GLCC' : 'forgetest2', + repo: locationStatus ? 'glcc-help' : 'wiki1', pagename: checkItem.name, - projectId: locationStatus ? '1403785' : '546103' + projectId: locationStatus ? '1403908' : '546103' }).then(res => { if (res && res.message === "200") { setItemDetail(res.data);