Compare commits
11 Commits
main
...
space_doma
Author | SHA1 | Date |
---|---|---|
|
b7623dc916 | |
|
c5352f984e | |
|
160bd8e7cd | |
|
0a4e9b9ab8 | |
|
6494f9b0d0 | |
|
4442102afe | |
|
12910e4ef2 | |
|
75f1db79de | |
|
e690ee53a7 | |
|
f8048cc30a | |
|
e6a2690d76 |
|
@ -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;
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
//如果直接从浏览器打开
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
//如果直接从浏览器打开
|
||||
|
|
|
@ -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}`,
|
||||
})
|
||||
);
|
||||
};
|
||||
|
|
|
@ -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}`,
|
||||
})
|
||||
);
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
}}
|
||||
>
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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`
|
||||
);
|
||||
|
|
|
@ -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
|
||||
)}`
|
||||
);
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -17,6 +17,6 @@ export default function robots() {
|
|||
"/withdrawal/",
|
||||
],
|
||||
},
|
||||
sitemap: "https://tiefen.fun/sitemap.xml",
|
||||
sitemap: "https://tiefen.space/sitemap.xml",
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
export default function sitemap() {
|
||||
return [
|
||||
{
|
||||
url: "https://tiefen.fun",
|
||||
url: "https://tiefen.space",
|
||||
lastModified: new Date(),
|
||||
changeFrequency: "weekly",
|
||||
priority: 1,
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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
|
||||
)}`
|
||||
);
|
||||
|
|
|
@ -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}`
|
||||
),
|
||||
},
|
||||
],
|
||||
|
|
|
@ -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}`
|
||||
),
|
||||
},
|
||||
],
|
||||
|
|
|
@ -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
|
||||
)}`
|
||||
);
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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*",
|
||||
},
|
||||
];
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue