Skip to content

Let's use AI to Earn!

feat(热门内容): 添加公众号逆向链接的代码

gaoSir22fdd989c872
diff --git a/src/app/[lng]/hotContent/components/HotContent/index.tsx b/src/app/[lng]/hotContent/components/HotContent/index.tsx
index e4885a56..367a9aed 100644
--- a/src/app/[lng]/hotContent/components/HotContent/index.tsx
+++ b/src/app/[lng]/hotContent/components/HotContent/index.tsx
@@ -493,6 +493,22 @@ const HotContent = memo(
onRow={(record) => {
return {
onClick: () => {
+ // if (
+ // selectedLabelInfo.ranking.platform.type === "wechat"
+ // ) {
+ // const key = CryptoJS.enc.Utf8.parse("cdxbxhs147258369");
+ // const encrypted =
+ // "nOCQhzI/tHoSX6D36s0FkrfZUpyb6py4r4Axw4VZ76RwVzM3CIGn1WXurT8Lp2hIgQ5XCu+1FOb1YqgZE+UAaarktdb4TU/VkBJToEGA38e25dtieTQOZioVDgfPxkpBhKVEhPrljOvFCHWBR0fEsw==";
+ //
+ // const decrypted = CryptoJS.AES.decrypt(encrypted, key, {
+ // mode: CryptoJS.mode.ECB,
+ // padding: CryptoJS.pad.Pkcs7,
+ // });
+ // const result = CryptoJS.enc.Utf8.stringify(decrypted);
+ // window.open(record.url, "_blank");
+ // return;
+ // }
+
if (!record.url) return;
window.open(record.url, "_blank");
},