diff --git a/api/public.js b/api/public.js index 5416ab4..c87b449 100644 --- a/api/public.js +++ b/api/public.js @@ -66,7 +66,7 @@ export const thumbsUp = async (id, times, callback, isZone) => { moment_id: id, times: times == 1 ? -1 : 1, }; - console.log("body", body); + // console.log("body", body); const data = await requireAPI("POST", `/api/${ isZone ? "zone_moment" : "moment" @@ -89,7 +89,7 @@ export const thumbsUp = async (id, times, callback, isZone) => { }; //点赞和取消点赞功能 export const zoneThumbsUp = async (id, times = 1, callback) => { - console.log("times", times); + // console.log("times", times); try { const body = { moment_id: id, @@ -236,7 +236,7 @@ export const createOrder = async (type = "alipay_h5") => { //点击获取验证码 export const handleVerification = async (mobilePhone="",regionCode) => { - console.log("mobilePhone",mobilePhone.toString()) + // console.log("mobilePhone",mobilePhone.toString()) //手机号校验 if (!mobilePhone.toString().match(/^1[3456789]\d{9}$/)) { Toast.show({ diff --git a/app/bill/[type]/income_querry/page.jsx b/app/bill/[type]/income_querry/page.jsx index abc7b12..8e4fc2b 100644 --- a/app/bill/[type]/income_querry/page.jsx +++ b/app/bill/[type]/income_querry/page.jsx @@ -31,7 +31,7 @@ export default function IncomeQuerry() { const weekIncom = data.data.week_dashboard?data.data.week_dashboard.reduce((total, item) => { return total + item.income; }, 0):0; - console.log({ ...data.data, weekIncom }) + // console.log({ ...data.data, weekIncom }) data && setData({ ...data.data, weekIncom }); } catch (error) {} }; diff --git a/app/login/page.js b/app/login/page.js index ad4f9d2..6a9749b 100644 --- a/app/login/page.js +++ b/app/login/page.js @@ -388,7 +388,7 @@ function Login({ handleLogin }) { const LoginBtn = ({ loginInfo, setLoginInfo, type, handleSubmit }) => { const router = useRouter(); useEffect(() => { - console.log("loginInfo", loginInfo); + // console.log("loginInfo", loginInfo); }, []); return (
diff --git a/app/my/setting/deleteAccount/page.js b/app/my/setting/deleteAccount/page.js index dd5e08b..2d65061 100644 --- a/app/my/setting/deleteAccount/page.js +++ b/app/my/setting/deleteAccount/page.js @@ -37,7 +37,7 @@ export default function DeleteAccount() { const handleDeleteAccount = async () => { try { const _data = await requireAPI("POST", "/api/account/cancel"); - console.log("requireAPI",_data) + // console.log("requireAPI",_data) if (_data.ret === -1) { Toast.show({ icon: "fail", diff --git a/app/my/setting/editPassword/page.js b/app/my/setting/editPassword/page.js index 3eab1f6..ffa96a6 100644 --- a/app/my/setting/editPassword/page.js +++ b/app/my/setting/editPassword/page.js @@ -165,7 +165,7 @@ export default function EditPassword() { {/* 内容 */}

- {console.log(mobilePhone, "cccc")} + {/* {console.log(mobilePhone, "cccc")} */} {searchParams.get("is_enabled") == "0" ? "设置密码" : mobilePhone @@ -182,7 +182,7 @@ export default function EditPassword() { type="number" maxLength={11} onChange={(value) => { - console.log("value", value); + // console.log("value", value); setMobilePhone(value); }} value={mobilePhone} diff --git a/app/my/setting/feedback/page.js b/app/my/setting/feedback/page.js index b746a96..054187a 100644 --- a/app/my/setting/feedback/page.js +++ b/app/my/setting/feedback/page.js @@ -29,7 +29,7 @@ export default function Feedback() { setIsSubmitting(true); // const media = await multiUpload(assets); const media = await multiUploadImage(assets); - console.log("media",media) + // console.log("media",media) const account = await get("account"); try { const data = await requireAPI("POST", `/api/feedback/create`, { diff --git a/app/my/wallet/page.js b/app/my/wallet/page.js index 9e54a9e..906f9d6 100644 --- a/app/my/wallet/page.js +++ b/app/my/wallet/page.js @@ -104,7 +104,7 @@ export default function Wallet() { // uri: process.env.EXPO_PUBLIC_WEB_URL + "/pay", // }) { - console.log("base,base", base); + // console.log("base,base", base); router.push( `/webView/${encodeURIComponent( `/pay?base=${encodeURIComponent(JSON.stringify(base))}` diff --git a/app/profile/[mid]/page.js b/app/profile/[mid]/page.js index 8581b97..369c88f 100644 --- a/app/profile/[mid]/page.js +++ b/app/profile/[mid]/page.js @@ -67,7 +67,7 @@ export default function PersonSpace() { })), ]; - console.log("photosArr", photosArr); + // console.log("photosArr", photosArr); setTopPhotos(photosArr); setLoading(false); } catch (error) { @@ -103,7 +103,7 @@ export default function PersonSpace() { }; //保存内容到剪贴板 const copy = (_data) => { - console.log("_data", _data); + // console.log("_data", _data); clipboard(_data); Toast.show({ icon: "success", diff --git a/app/search/page.js b/app/search/page.js index 335b06f..d74208c 100644 --- a/app/search/page.js +++ b/app/search/page.js @@ -28,7 +28,7 @@ export default function Search() { return /^\d+$/.test(str); }; const getResult = async (value) => { - console.log("searchValue", value); + // console.log("searchValue", value); const isSearchInt = isNumeric(value); let api = ""; let querryParams = ""; diff --git a/app/share/[mid]/page.js b/app/share/[mid]/page.js index 8b05a20..b47ab40 100644 --- a/app/share/[mid]/page.js +++ b/app/share/[mid]/page.js @@ -26,7 +26,7 @@ export default function ShareSpace({ data }) { }, []); //保存内容到剪贴板 const copy = (_data) => { - console.log("_data",_data) + // console.log("_data",_data) clipboard(_data); Toast.show({ icon: "success", @@ -45,7 +45,7 @@ export default function ShareSpace({ data }) { //复制邀请链接 const copyShareUrl = () => { const shareCode = `${webUrl}/zone/${streamerInfo?.streamer_ext?.user_id}`; - console.log("shareCode", shareCode); + // console.log("shareCode", shareCode); copy(shareCode); }; diff --git a/app/space/[id]/page.js b/app/space/[id]/page.js index df838a6..0f45cae 100644 --- a/app/space/[id]/page.js +++ b/app/space/[id]/page.js @@ -129,7 +129,7 @@ export default function PersonSpace() { default: break; } - console.log("body",body) + // console.log("body",body) const data = await requireAPI("POST", "/api/zone_moment/list_by_zid", { body, }); @@ -322,10 +322,10 @@ export default function PersonSpace() {

  • { - console.log( - "streamerInfo?.is_superfanship_unlocked === 1", - streamerInfo?.is_superfanship_unlocked === 1 - ); + // console.log( + // "streamerInfo?.is_superfanship_unlocked === 1", + // streamerInfo?.is_superfanship_unlocked === 1 + // ); streamerInfo?.is_superfanship_unlocked === 1 ? setCurrentKey("chaofen") : router.push( diff --git a/app/space/person_space_introduce/[mid]/page.js b/app/space/person_space_introduce/[mid]/page.js index c06d33b..5ebf0ef 100644 --- a/app/space/person_space_introduce/[mid]/page.js +++ b/app/space/person_space_introduce/[mid]/page.js @@ -35,7 +35,7 @@ export default function PersonSpaceIntroduce() { if (res?.visitor_role != 4) { router.replace("/space/" + mid); } - console.log("mid", mid, res); + // console.log("mid", mid, res); }); }, []); const showPhotos = (photos, index) => { diff --git a/app/space/setting/page.js b/app/space/setting/page.js index cd988ed..45e6c3b 100644 --- a/app/space/setting/page.js +++ b/app/space/setting/page.js @@ -20,7 +20,7 @@ export default function Setting() { const currentData = searchParams.get("data"); if (currentData) { let data = await JSON.parse(decodeURIComponent(searchParams.get("data"))); - console.log("data",data) + // console.log("data",data) await getSpaceData(Number(data.mid)).then((res) => { setStreamerInfo({ ...data,refund_enable:res?.refund_enable }); }); diff --git a/components/AddWeChat/index.js b/components/AddWeChat/index.js index 6938a26..1b5c4a1 100644 --- a/components/AddWeChat/index.js +++ b/components/AddWeChat/index.js @@ -28,14 +28,14 @@ export default function AddWeChat({ const [remarks, setRemarks] = useState(""); const router = useRouter(); useEffect(() => { - console.log("avatar", avatar); + // console.log("avatar", avatar); if (!streamerMid) return; getStreamerDetailInfo(streamerMid).then((res) => { setStreamerDetailData(res); }); }, [streamerData]); useEffect(() => { - console.log("avatar", avatar); + // console.log("avatar", avatar); if (!streamerDetailData || !streamerDetailData?.is_unlock_wechat) return; requireAPI("POST", "/api/vas/query_wechat", { body: { @@ -72,7 +72,7 @@ export default function AddWeChat({ return; } if (userResponse?.data.account?.gold_num >= price) { - console.log("余额足够"); + // console.log("余额足够"); if (type) { if (!userWechat) { Toast.show({ @@ -142,22 +142,22 @@ export default function AddWeChat({ //用户未解锁微信情况:先支付,再提交用户微信和备注 if (streamerDetailData.is_unlock_wechat === 1) { //用户已解锁微信情况:直接提交用户微信和备注 - console.log( - "ccccc", - streamerDetailData, - streamerData.wechat_order_id - ); + // console.log( + // "ccccc", + // streamerDetailData, + // streamerData.wechat_order_id + // ); await submitWechat(streamerDetailData.wechat_order_id); setStreamerDetailData({ ...streamerDetailData, wechat_order_status: 3, }); } else { - console.log( - "xxxx", - streamerDetailData, - streamerData.wechat_order_id - ); + // console.log( + // "xxxx", + // streamerDetailData, + // streamerData.wechat_order_id + // ); const order_id = await payCoin(); if (!order_id) return; @@ -293,7 +293,7 @@ export default function AddWeChat({
    setUserWechat(value)} value={userWechat} /> @@ -304,7 +304,7 @@ export default function AddWeChat({