feat: update

This commit is contained in:
chashaobao
2025-10-20 07:58:50 +08:00
parent bc141fcf1b
commit a179654898
32 changed files with 648 additions and 271 deletions

View File

@ -8,7 +8,6 @@ import PartnerInviteList from '@/components/partner-invite-list';
import PartnerProfit from '@/components/partner-profit';
import { PageUrl } from '@/constants/app';
import useInviteCode from '@/hooks/use-invite-code';
import { generateMembershipCoupon } from '@/utils/coupon';
import { getCommonShareMessage } from '@/utils/share';
import './index.less';
@ -27,14 +26,21 @@ export default function Partner() {
useShareAppMessage(async () => {
console.log('Partner inviteCode', inviteCode);
const { code } = await generateMembershipCoupon();
// const { code } = await generateMembershipCoupon();
// return getCommonShareMessage({
// useCapture: false,
// inviteCode,
// title: '宝子,送你个播络会员,免费找主播工作',
// path: PageUrl.GiveVip,
// params: { d: code },
// imageUrl: 'https://publiccdn.neighbourhood.com.cn/img/share-coupon1.png',
// });
return getCommonShareMessage({
useCapture: false,
inviteCode,
title: '宝子,送你个播络会员,免费找主播工作',
path: PageUrl.GiveVip,
params: { d: code },
imageUrl: 'https://publiccdn.neighbourhood.com.cn/img/share-coupon1.png',
title: '播络专业主播招聘平台招募合伙人',
path: PageUrl.Partner,
imageUrl: 'https://publiccdn.neighbourhood.com.cn/img/share-partner.png',
});
});