接口开发

This commit is contained in:
2025-02-25 16:57:59 +08:00
parent 76ccd57fbc
commit 32ba6262cc
48 changed files with 2468 additions and 466 deletions

View File

@ -0,0 +1,7 @@
package memberbalancechangesource
const (
CASH_BACK = "cash_back" // 会员返现
WITH_DRAW = "whith_draw" // 会员提现
)

View File

@ -0,0 +1,10 @@
package memberrenwallogstatus
const (
//待支付
PENDING = "pending"
//已支付
PAID = "paid"
//已过期
EXPIRED = "expired"
)

View File

@ -0,0 +1,16 @@
package memberwithdrawallogstatus
const (
//提现成功
SUCCESS = "success"
//提现失败
FAILED = "failed"
//审核中
PENDING = "pending"
//审核同构
APPROVED = "approved"
//审核拒绝
REJECTED = "rejected"
//已取消
CANCELED = "cancel"
)

View File

@ -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}
)

View File

@ -0,0 +1,8 @@
package sysconfigkey
const (
//用户返利等级2
MEMBER_INVITATION_RATE2 = "member_invitation_rate2"
//用户返利等级1
MEMBER_INVITATION_RATE1 = "member_invitation_rate1"
)