feat: update of partner
This commit is contained in:
@ -72,6 +72,7 @@ export enum PageUrl {
|
||||
ProtocolWebview = 'pages/protocol-webview/index',
|
||||
PrivacyWebview = 'pages/privacy-webview/index',
|
||||
Partner = 'pages/partner/index',
|
||||
WithdrawRecord = 'pages/withdraw-record/index',
|
||||
}
|
||||
|
||||
export enum PluginUrl {
|
||||
|
@ -8,5 +8,6 @@ export enum CacheKey {
|
||||
APP_MODE = '__bl_app_mode__',
|
||||
APP_MODE_NEW = '__bl_app_mode_2__',
|
||||
LAST_SELECT_MY_JOB = '__last_select_my_job__',
|
||||
CLOSE_PARTNER_BANNER = '__last_close_partner_banner__',
|
||||
CLOSE_PARTNER_BANNER = '__close_partner_banner__',
|
||||
INVITE_CODE = '__invite_code__',
|
||||
}
|
||||
|
21
src/constants/partner.ts
Normal file
21
src/constants/partner.ts
Normal file
@ -0,0 +1,21 @@
|
||||
export enum ProfitType {
|
||||
Anchor = '1',
|
||||
Member = '2',
|
||||
Partner = '3',
|
||||
}
|
||||
export enum ProfitStatus {
|
||||
AVAILABLE = '1',
|
||||
WITHDRAWING = '2',
|
||||
WITHDRAW = '3',
|
||||
}
|
||||
|
||||
export const PROFIT_TYPE_MAP = {
|
||||
[ProfitType.Anchor]: '主播被开聊',
|
||||
[ProfitType.Member]: '会员支付',
|
||||
[ProfitType.Partner]: '合伙人收益分成',
|
||||
};
|
||||
export const PROFIT_STATUS_MAP = {
|
||||
[ProfitStatus.AVAILABLE]: '可提现',
|
||||
[ProfitStatus.WITHDRAWING]: '提现中',
|
||||
[ProfitStatus.WITHDRAW]: '已提现',
|
||||
};
|
Reference in New Issue
Block a user