"use client"; import React, { useState, useEffect, useMemo, Fragment } from "react"; import { Switch, Space, Checkbox, Button, Toast, TextArea } from "antd-mobile"; import { useRouter, useSearchParams } from "next/navigation"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faAngleLeft, faSquareCheck } from "@fortawesome/free-solid-svg-icons"; import requireAPI from "@/utils/requireAPI"; export default function AfterSubmitStreamerVerification() { const router = useRouter(); const [wechatList, setWechatList] = useState([]); useEffect(() => { const getWechat = async () => { try { const data = await requireAPI("POST", "/api/support_wx_id/list", null); if (data.ret === -1) { Toast.show({ icon: "fail", content: data.msg, position: "top", }); return; } const temWechat = Object.entries(data.data); const temWechatList = temWechat.map((item) => item[1]); setWechatList(temWechatList); } catch (error) { console.error(error); } }; getWechat(); }, []); return (
{/* 头部标题 */}
{ router.back(); }} />

空间付费设置

{/* 内容 */}
提交成功

请添加工作人员 微信:{wechatList[0]} 直接商讨合作事宜,如未添加可能影响审核进度,请及时添加。您可以选择继续完善资料,这将加快您的审核进度。

{wechatList.map((item, index) => { if (index === 0) return; return ( 备用微信{index}:{item} ); })}
); }