xiebaomin 1 year ago
parent
commit
55d9e2d774
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Hooks/useWeChatShare.ts

+ 1 - 1
src/Hooks/useWeChatShare.ts

@@ -66,7 +66,7 @@ const useWeChatShare = async (params: shareParams) => {
 		import.meta.env.VITE_HTTP_URL +
 		(Number(params.type) === 7 ? '/encyclopedia/detail-' : '/info/detail-') +
 		params.id +
-		'.html'
+		(Number(params.type) === 6 ? "-1.html" : ".html");
 	if (sessionStorage.getItem('isDetailRefresh')) {
 		sessionStorage.removeItem('isDetailRefresh')
 	}