diff --git a/components/AddWeChat/index.js b/components/AddWeChat/index.js index 1b5c4a1..1e711d8 100644 --- a/components/AddWeChat/index.js +++ b/components/AddWeChat/index.js @@ -71,7 +71,11 @@ export default function AddWeChat({ }); return; } - if (userResponse?.data.account?.gold_num >= price) { + if ( + userResponse?.data.account?.gold_num >= price || + (streamerDetailData?.is_unlock_wechat === 1 && + streamerDetailData?.wechat_order_status === 2) + ) { // console.log("余额足够"); if (type) { if (!userWechat) { @@ -293,7 +297,7 @@ export default function AddWeChat({