Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
h5-front
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yimu
h5-front
Commits
1697ee3e
Commit
1697ee3e
authored
Mar 08, 2022
by
verestrasz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
枚举修改
parent
15218f76
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
81 additions
and
82 deletions
+81
-82
assets.js
src/enums/assets.js
+81
-82
No files found.
src/enums/assets.js
View file @
1697ee3e
export
const
AsstesRecordType
=
{
ALIPAY_IN
:
1
,
ALIPAY_OUT
:
2
,
WX_IN
:
3
,
WX_OUT
:
4
,
COIN_IN
:
5
,
COIN_OUT
:
6
,
RECHARGE
:
7
,
WITHDRAW_CASH
:
8
,
PAY
:
9
,
REFUND
:
10
,
SALE
:
11
,
RELEASE
:
12
,
ADD_RELEASE
:
13
,
RECOVERY
:
14
,
REDUCE_RELEASE
:
15
,
WITHDRAW_COIN
:
16
,
DEDUCTION
:
17
,
WITHDRAW_GOODS
:
18
,
export
const
AssetsRecordType
=
{
// ALIPAY_IN: 1,
// ALIPAY_OUT: 2,
// WX_IN: 3,
// WX_OUT: 4,
// COIN_IN: 5,
// COIN_OUT: 6,
// RECHARGE: 7,
// WITHDRAW_CASH: 8,
// PAY: 9,
// REFUND: 10,
// SALE: 11,
// RELEASE: 12,
// ADD_RELEASE: 13,
// RECOVERY: 14,
// REDUCE_RELEASE: 15,
// WITHDRAW_COIN: 16,
// DEDUCTION: 17,
// WITHDRAW_GOODS: 18,
// COMMENT_REWARD: 19,
// TRANSFER_GIFT_IN: 20,
// TRANSFER_GIFT_OUT: 21,
// INVITE_REGISTER_REWARD: 22,
// REGISTER_REWARD: 23
INTEGRAL_RECHARGE
:
7
,
INTEGRAL_BUY
:
9
,
REFUND_MONEY
:
10
,
GOODS_BUY
:
11
,
INTEGRAL_DEDUCTION
:
17
,
GOODS_WITHDRAW
:
18
,
COMMENT_REWARD
:
19
,
TRANSFER_GIFT_IN
:
20
,
TRANSFER_GIFT_OUT
:
21
,
INVITE_REGISTER_REWARD
:
22
,
REGISTER_REWARD
:
23
REGISTER_REWARD
:
22
,
OUT_TOKEN_IN
:
23
,
OUT_NFT_IN
:
24
,
TRANSFER_RAW_OUT
:
25
,
REFUND_GOODS
:
26
,
REGISTER_INVITE_REWARD
:
27
,
RELEASE_TRANSFER
:
28
,
REFUND_MONEY_COIN
:
29
,
ORDER_CANCEL_INTEGRAL_UNFREEZE
:
30
}
export
const
AssetsRecordTypeObj
=
{
[
AsstesRecordType
.
ALIPAY_IN
]:
{
label
:
"支付宝"
,
symbol
:
"+"
},
[
AsstesRecordType
.
ALIPAY_OUT
]:
{
label
:
"支付宝"
,
symbol
:
"+"
},
[
AsstesRecordType
.
WX_IN
]:
{
label
:
"微信支付"
,
[
AssetsRecordType
.
INTEGRAL_RECHARGE
]:
{
label
:
"充值"
,
symbol
:
"+"
},
[
Ass
tesRecordType
.
WX_OUT
]:
{
label
:
"
微信支付
"
,
[
Ass
etsRecordType
.
INTEGRAL_BUY
]:
{
label
:
"
购买
"
,
symbol
:
"-"
},
[
Ass
tesRecordType
.
COIN_IN
]:
{
label
:
"
数字资产转入
"
,
[
Ass
etsRecordType
.
REFUND_MONEY
]:
{
label
:
"
退款
"
,
symbol
:
"+"
},
[
AsstesRecordType
.
COIN_OUT
]:
{
label
:
"数字资产转出"
,
symbol
:
"-"
},
[
AsstesRecordType
.
RECHARGE
]:
{
label
:
"充值"
,
[
AssetsRecordType
.
GOODS_BUY
]:
{
label
:
"购买"
,
symbol
:
"+"
},
[
Ass
tesRecordType
.
WITHDRAW_CASH
]:
{
label
:
"
提现
"
,
[
Ass
etsRecordType
.
INTEGRAL_DEDUCTION
]:
{
label
:
"
扣除
"
,
symbol
:
"-"
},
[
Ass
tesRecordType
.
PAY
]:
{
label
:
"
支付
"
,
[
Ass
etsRecordType
.
GOODS_WITHDRAW
]:
{
label
:
"
提货
"
,
symbol
:
"-"
},
[
AsstesRecordType
.
REFUND
]:
{
label
:
"退款"
,
symbol
:
"+"
},
[
AsstesRecordType
.
SALE
]:
{
label
:
"销售"
,
symbol
:
"+"
},
[
AsstesRecordType
.
RELEASE
]:
{
label
:
"发行"
,
[
AssetsRecordType
.
COMMENT_REWARD
]:
{
label
:
"评论奖励"
,
symbol
:
"+"
},
[
Ass
tesRecordType
.
ADD_RELEASE
]:
{
label
:
"
增发
"
,
[
Ass
etsRecordType
.
TRANSFER_GIFT_IN
]:
{
label
:
"
转赠
"
,
symbol
:
"+"
},
[
Ass
tesRecordType
.
RECOVERY
]:
{
label
:
"
回收
"
,
[
Ass
etsRecordType
.
TRANSFER_GIFT_OUT
]:
{
label
:
"
转赠
"
,
symbol
:
"-"
},
[
Ass
tesRecordType
.
REDUCE_RELEASE
]:
{
label
:
"
减发
"
,
symbol
:
"
-
"
[
Ass
etsRecordType
.
REGISTER_REWARD
]:
{
label
:
"
注册奖励
"
,
symbol
:
"
+
"
},
[
Ass
tesRecordType
.
WITHDRAW_CO
IN
]:
{
label
:
"
提币
"
,
symbol
:
"
-
"
[
Ass
etsRecordType
.
OUT_TOKEN_
IN
]:
{
label
:
"
外部Token转入
"
,
symbol
:
"
+
"
},
[
Ass
tesRecordType
.
DEDUCTIO
N
]:
{
label
:
"
扣除
"
,
symbol
:
"
-
"
[
Ass
etsRecordType
.
OUT_NFT_I
N
]:
{
label
:
"
外部NFT转入
"
,
symbol
:
"
+
"
},
[
Ass
tesRecordType
.
WITHDRAW_GOODS
]:
{
label
:
"
提货
"
,
[
Ass
etsRecordType
.
TRANSFER_RAW_OUT
]:
{
label
:
"
外部划转
"
,
symbol
:
"-"
},
[
Ass
tesRecordType
.
COMMENT_REWARD
]:
{
label
:
"
评论奖励
"
,
[
Ass
etsRecordType
.
REFUND_GOODS
]:
{
label
:
"
退货
"
,
symbol
:
"+"
},
[
Ass
tesRecordType
.
TRANSFER_GIFT_IN
]:
{
label
:
"
转赠
"
,
[
Ass
etsRecordType
.
REGISTER_INVITE_REWARD
]:
{
label
:
"
邀请奖励
"
,
symbol
:
"+"
},
[
Ass
tesRecordType
.
TRANSFER_GIFT_OUT
]:
{
label
:
"
转赠
"
,
[
Ass
etsRecordType
.
RELEASE_TRANSFER
]:
{
label
:
"
发布转让
"
,
symbol
:
"-"
},
[
Ass
tesRecordType
.
INVITE_REGISTER_REWARD
]:
{
label
:
"
邀请注册奖励
"
,
symbol
:
"
+
"
[
Ass
etsRecordType
.
REFUND_MONEY_COIN
]:
{
label
:
"
退款
"
,
symbol
:
"
-
"
},
[
Ass
tesRecordType
.
REGISTER_REWARD
]:
{
label
:
"
注册奖励
"
,
[
Ass
etsRecordType
.
ORDER_CANCEL_INTEGRAL_UNFREEZE
]:
{
label
:
"
抵扣退回
"
,
symbol
:
"+"
}
,
}
}
export
const
TransferType
=
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment