接口开发
This commit is contained in:
7
common/const/dicts/member_balance_change_source/dict.go
Normal file
7
common/const/dicts/member_balance_change_source/dict.go
Normal file
@ -0,0 +1,7 @@
|
||||
package memberbalancechangesource
|
||||
|
||||
const (
|
||||
CASH_BACK = "cash_back" // 会员返现
|
||||
WITH_DRAW = "whith_draw" // 会员提现
|
||||
|
||||
)
|
||||
10
common/const/dicts/member_renwal_log_status/dict.go
Normal file
10
common/const/dicts/member_renwal_log_status/dict.go
Normal file
@ -0,0 +1,10 @@
|
||||
package memberrenwallogstatus
|
||||
|
||||
const (
|
||||
//待支付
|
||||
PENDING = "pending"
|
||||
//已支付
|
||||
PAID = "paid"
|
||||
//已过期
|
||||
EXPIRED = "expired"
|
||||
)
|
||||
16
common/const/dicts/member_withdrawal_log_status/dict.go
Normal file
16
common/const/dicts/member_withdrawal_log_status/dict.go
Normal file
@ -0,0 +1,16 @@
|
||||
package memberwithdrawallogstatus
|
||||
|
||||
const (
|
||||
//提现成功
|
||||
SUCCESS = "success"
|
||||
//提现失败
|
||||
FAILED = "failed"
|
||||
//审核中
|
||||
PENDING = "pending"
|
||||
//审核同构
|
||||
APPROVED = "approved"
|
||||
//审核拒绝
|
||||
REJECTED = "rejected"
|
||||
//已取消
|
||||
CANCELED = "cancel"
|
||||
)
|
||||
@ -56,3 +56,10 @@ const (
|
||||
ListenAveLastSymbol = "listen_ave_last_symbol" // 监听最新交易对
|
||||
AveRequestToken = "ave_request_token" // AVE请求token
|
||||
)
|
||||
|
||||
// 用户下单
|
||||
const (
|
||||
MemberShipPre = "member_ship_pre:%v" //用户开通会员预下单 单价缓存{payable_amount}
|
||||
MemberHash = "member_hash:%v" //用户开通会员hash缓存 {hash}
|
||||
OrderAmount = "order_amount:%v" //用户下单金额缓存 {amount}
|
||||
)
|
||||
|
||||
8
common/const/sysconfigkey/key.go
Normal file
8
common/const/sysconfigkey/key.go
Normal file
@ -0,0 +1,8 @@
|
||||
package sysconfigkey
|
||||
|
||||
const (
|
||||
//用户返利等级2
|
||||
MEMBER_INVITATION_RATE2 = "member_invitation_rate2"
|
||||
//用户返利等级1
|
||||
MEMBER_INVITATION_RATE1 = "member_invitation_rate1"
|
||||
)
|
||||
Reference in New Issue
Block a user