Compare commits

...

11 Commits

Author SHA1 Message Date
yezian b7623dc916 Merge pull request '增加备用支付渠道;提现增加窗口期' (#108) from main into space_domain
Reviewed-on: https://git.wishpal.cn/wishpal_ironfan/tiefen_space_web/pulls/108
2025-02-14 16:27:25 +08:00
yezian c5352f984e 修改活动域名 2025-02-10 14:35:02 +08:00
yezian 160bd8e7cd Merge pull request '增加元宵活动页面;card组件从cdn获取图片;活动结束后增加下载app按钮' (#107) from main into space_domain
Reviewed-on: https://git.wishpal.cn/wishpal_ironfan/tiefen_space_web/pulls/107
2025-02-10 14:27:50 +08:00
yezian 0a4e9b9ab8 修改活动域名 2025-01-26 13:40:18 +08:00
yezian 6494f9b0d0 Merge pull request 'newyear_activity (#105)' (#106) from main into space_domain
Reviewed-on: https://git.wishpal.cn/wishpal_ironfan/tiefen_space_web/pulls/106
2025-01-26 13:38:45 +08:00
yezian 4442102afe Merge pull request 'main' (#104) from main into space_domain
Reviewed-on: https://git.wishpal.cn/wishpal_ironfan/tiefen_space_web/pulls/104
2025-01-23 17:52:37 +08:00
yezian 12910e4ef2 Merge pull request 'anln (#101)' (#102) from main into space_domain
Reviewed-on: https://git.wishpal.cn/wishpal_ironfan/tiefen_space_web/pulls/102
2025-01-21 18:25:03 +08:00
yezian 75f1db79de Merge pull request 'main' (#100) from main into space_domain
Reviewed-on: https://git.wishpal.cn/wishpal_ironfan/tiefen_space_web/pulls/100
2025-01-20 15:15:59 +08:00
yezian e690ee53a7 Merge pull request 'revert 6710fd8c4fcb0aa6bff558cd31026f75ff02c43b' (#97) from main into space_domain
Reviewed-on: https://git.wishpal.cn/wishpal_ironfan/tiefen_space_web/pulls/97
2024-12-24 20:06:59 +08:00
yezian f8048cc30a 继续修改域名 2024-12-19 14:33:53 +08:00
yezian e6a2690d76 更改域名为tiefen.space 2024-12-19 13:53:12 +08:00
20 changed files with 26 additions and 26 deletions

View File

@ -68,9 +68,9 @@ export default function WechatBar({ price, streamerMid, onClickDownloadApp }) {
break;
case "wxpay_h5":
router.push(
`https://shop.tiefen.fun/pay/wxpay_h5/${encodeURIComponent(
`https://shop.tiefen.space/pay/wxpay_h5/${encodeURIComponent(
temData.data.wxpay_h5_param_str +
"&redirect_url=https%3A%2F%2Fshop.tiefen.fun%2Fpurchased"
"&redirect_url=https%3A%2F%2Fshop.tiefen.space%2Fpurchased"
)}`
);
break;

View File

@ -158,7 +158,7 @@ export default function Download({ params }) {
{deviceType === "pc" && (
<div className="flex flex-row gap-20">
<a
href="https://filecdntx01.tiefen.fun/appdownload/ironfans1.5.2.apk"
href="https://filecdntx01.tiefen.space/appdownload/ironfans1.5.2.apk"
className="group relative cursor-pointer w-20 h-20 rounded-full bg-[#FFFFFF1A]"
>
<p className="group-hover:opacity-100 opacity-0 transition-all duration-300 absolute flex w-full h-full items-center justify-center text-white text-xs">

View File

@ -109,7 +109,7 @@ export default function LanternFestival() {
const webviewBase = webviewBaseRequest();
let base = getBase(webviewBase);
if (base?.b_token !== undefined) {
window.top.location.href = `https://app.tiefen.fun/space/person_space_introduce/${item?.mid}`;
window.top.location.href = `https://app.tiefen.space/space/person_space_introduce/${item?.mid}`;
return;
}
//

View File

@ -109,7 +109,7 @@ export default function SpringFestival() {
const webviewBase = webviewBaseRequest();
let base = getBase(webviewBase);
if (base?.b_token !== undefined) {
window.top.location.href = `https://app.tiefen.fun/space/person_space_introduce/${item?.mid}`;
window.top.location.href = `https://app.tiefen.space/space/person_space_introduce/${item?.mid}`;
return;
}
//

View File

@ -13,7 +13,7 @@ export default function GenerateLink({ params }) {
useEffect(() => {
var QRCode = require("qrcode");
QRCode.toDataURL(
`https://tiefen.fun/${params.user_id}`,
`https://tiefen.space/${params.user_id}`,
function (err, url) {
setQrcodeUrl(url);
}
@ -91,7 +91,7 @@ export default function GenerateLink({ params }) {
window.ReactNativeWebView.postMessage(
JSON.stringify({
type: "COPY_URL",
data: `https://tiefen.fun/${params.user_id}`,
data: `https://tiefen.space/${params.user_id}`,
})
);
};

View File

@ -87,7 +87,7 @@ export default function Invite({ params }) {
};
getData();
var QRCode = require("qrcode");
QRCode.toDataURL("https://tiefen.fun", function (err, url) {
QRCode.toDataURL("https://tiefen.space", function (err, url) {
setQrcodeUrl(url);
});
}, []);
@ -170,7 +170,7 @@ export default function Invite({ params }) {
window.ReactNativeWebView.postMessage(
JSON.stringify({
type: "COPY_URL",
data: `https://tiefen.fun/${params.user_id}`,
data: `https://tiefen.space/${params.user_id}`,
})
);
};

View File

@ -195,7 +195,7 @@ export default function Home() {
className={`btn bg-gradient-to-r from-[#FF668B] to-[#FF66F0] rounded-full text-white text-lg font-medium w-64 h-14`}
onClick={() => {
const inviter = getCookie("inviter");
const url = `https://app.tiefen.fun?inviter=${inviter}`;
const url = `https://app.tiefen.space?inviter=${inviter}`;
window.location.href = url;
}}
>

View File

@ -12,7 +12,7 @@ export default function Weixin({ params }) {
useEffect(() => {
var QRCode = require("qrcode");
QRCode.toDataURL(
`https://tiefen.fun/pay/jsapi/${params.weixin}`,
`https://tiefen.space/pay/jsapi/${params.weixin}`,
function (err, url) {
setQrcodeUrl(url);
}

View File

@ -6,7 +6,7 @@ import { useRouter } from "next/navigation";
export default function JsApi({ params }) {
const router = useRouter();
useEffect(() => {
const redirect_uri = `https://tiefen.fun/pay/inweixin/${params.body}`;
const redirect_uri = `https://tiefen.space/pay/inweixin/${params.body}`;
router.replace(
`https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxc28fd8aaf31984b6&redirect_uri=${redirect_uri}&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect`
);

View File

@ -163,7 +163,7 @@ export default function Pay() {
break;
case "wxpay_h5":
router.push(
`https://shop.tiefen.fun/pay/wxpay_h5/${encodeURIComponent(
`https://shop.tiefen.space/pay/wxpay_h5/${encodeURIComponent(
data.data.wxpay_h5_param_str
)}`
);

View File

@ -13,8 +13,8 @@ export default function Purchased() {
const router = useRouter();
useEffect(() => {
const prepare = async () => {
if (window.location.origin === "https://shop.tiefen.fun") {
router.replace("https://tiefen.fun/purchased");
if (window.location.origin === "https://shop.tiefen.space") {
router.replace("https://tiefen.space/purchased");
return;
}
const isLogined = await checkAuth();

View File

@ -17,6 +17,6 @@ export default function robots() {
"/withdrawal/",
],
},
sitemap: "https://tiefen.fun/sitemap.xml",
sitemap: "https://tiefen.space/sitemap.xml",
};
}

View File

@ -1,7 +1,7 @@
export default function sitemap() {
return [
{
url: "https://tiefen.fun",
url: "https://tiefen.space",
lastModified: new Date(),
changeFrequency: "weekly",
priority: 1,

View File

@ -14,7 +14,7 @@ export default function StreamerDetail({ params }) {
useEffect(() => {
var QRCode = require("qrcode");
QRCode.toDataURL(
`https://tiefen.fun/${params.user_id}`,
`https://tiefen.space/${params.user_id}`,
function (err, url) {
setQrcodeUrl(url);
}

View File

@ -133,7 +133,7 @@ export default function Vip() {
break;
case "wxpay_h5":
router.push(
`https://shop.tiefen.fun/pay/wxpay_h5/${encodeURIComponent(
`https://shop.tiefen.space/pay/wxpay_h5/${encodeURIComponent(
data.data.wxpay_h5_param_str
)}`
);

View File

@ -84,7 +84,7 @@ export default function Zone({ params }) {
text: "手机网页版",
onClick: () =>
router.push(
`https://app.tiefen.fun?inviter=${data?.streamer_ext?.user_id}`
`https://app.tiefen.space?inviter=${data?.streamer_ext?.user_id}`
),
},
],

View File

@ -84,7 +84,7 @@ export default function Zone({ params }) {
text: "手机网页版",
onClick: () =>
router.push(
`https://app.tiefen.fun?inviter=${data?.streamer_ext?.user_id}`
`https://app.tiefen.space?inviter=${data?.streamer_ext?.user_id}`
),
},
],

View File

@ -197,7 +197,7 @@ export default function Pay({ params }) {
break;
case "wxpay_h5":
router.push(
`https://shop.tiefen.fun/pay/wxpay_h5/${encodeURIComponent(
`https://shop.tiefen.space/pay/wxpay_h5/${encodeURIComponent(
data.data.wxpay_h5_param_str
)}`
);

View File

@ -10,7 +10,7 @@ export default function Share({ params }) {
//
const [data, setData] = useState({});
const [qrcodeUrl, setQrcodeUrl] = useState("");
const [shareWebUrl, setShareWebUrl] = useState("https://tiefen.fun");
const [shareWebUrl, setShareWebUrl] = useState("https://tiefen.space");
const [isFetching, setIsFetching] = useState(true);
function generateRandomString(length = 10) {
@ -148,7 +148,7 @@ export default function Share({ params }) {
<span className="whitespace-nowrap">铁粉空间</span>
</div>
<span className="text-[#ffffff80] whitespace-nowrap">
|官网:tiefen.fun
|官网:tiefen.space
</span>
</div>
</div>

View File

@ -4,11 +4,11 @@ const nextConfig = {
return [
{
source: "/api/:path*",
destination: "https://api.tiefen.fun/api/:path*",
destination: "https://api.tiefen.space/api/:path*",
},
{
source: "/cors/:path*",
destination: "https://file.tiefen.fun/:path*",
destination: "https://file.tiefen.space/:path*",
},
];
},