Documentation ¶
Index ¶
- func BcoinCheckPayPwd(serverUrl, token, payPassword string) error
- func BcoinCheckTrans(serverUrl, uniqueId string, costType int) (int, error)
- func BcoinPraise(serverUrl, token, toUid, currency, amount, payPassword, uniqueId string, ...) (interface{}, error)
- func BcoinReturnCost(serverUrl, uniqueId string, costType int) (string, error)
- func BcoinSetPayPwd(serverUrl, token, mode, payPassword, authType, code, oldPayPassword string) error
- func BcoinTakeCost(serverUrl, token, currency, amount, payPassword, code, uniqueId string, ...) (string, error)
- func BcoinWithdraw(serverUrl, token, currency string, amount, fee float64, ...) (string, string, error)
- func CoinSupport(appKey, appSecret, serverUrl string) (interface{}, error)
- func EditRealBcoin(appKey, appSecret, serverUrl string, params *EditRewardParam) error
- func InviteInfosFromBcoin(serverUrl, token string, rewardType, page, size int64) (interface{}, error)
- func InviteStatisticsFromBcoin(serverUrl, token string) (interface{}, error)
- func PublicKeyFromBcoin(serverUrl, token string) (string, error)
- func RPFeeConfigFromBcoin(appKey, appSecret, serverUrl string) (interface{}, error)
- func RPFeeInfoFromBcoin(serverUrl string) (interface{}, error)
- func RPFeeStatistics(appKey, appSecret, serverUrl string) (interface{}, error)
- func RewardList(appKey, appSecret, serverUrl string, query *RewardListParam) (interface{}, error)
- func SetRPFeeConfigFromBcoin(appKey, appSecret, serverUrl string, params *SetRPFeeParam) error
- func ShowRealBcoin(appKey, appSecret, serverUrl string) (interface{}, error)
- func UserInfoFromBcoin(serverUrl, token string) (*types.User, error)
- type EditRewardParam
- type RewardListParam
- type SetRPFeeParam
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BcoinCheckPayPwd ¶
func BcoinCheckTrans ¶
查询转账记录
func BcoinPraise ¶
func BcoinPraise(serverUrl, token, toUid, currency, amount, payPassword, uniqueId string, costCategory string) (interface{}, error)
打赏转账 币钱包 转账
func BcoinReturnCost ¶
退回转账金额
func BcoinSetPayPwd ¶
func BcoinTakeCost ¶
func BcoinTakeCost(serverUrl, token, currency, amount, payPassword, code, uniqueId string, costCategory string) (string, error)
币钱包 转账
func BcoinWithdraw ¶
func BcoinWithdraw(serverUrl, token, currency string, amount, fee float64, opp_address, rid, mode, payword, code string, isPublickey bool) (string, string, error)
代币划转
func CoinSupport ¶
从币钱包 获取支持币种 返回:[]string
func EditRealBcoin ¶
func EditRealBcoin(appKey, appSecret, serverUrl string, params *EditRewardParam) error
从币钱包 设置奖励金额
func InviteInfosFromBcoin ¶
func InviteInfosFromBcoin(serverUrl, token string, rewardType, page, size int64) (interface{}, error)
从钱包获取 推荐信息
func InviteStatisticsFromBcoin ¶
从钱包获取 推荐统计信息
func PublicKeyFromBcoin ¶
币钱包 获取用户公钥
func RPFeeConfigFromBcoin ¶
红包手续费配置信息
func RPFeeInfoFromBcoin ¶
红包手续费配置信息 公共数据接口
func RPFeeStatistics ¶
红包手续费统计信息
func RewardList ¶
func RewardList(appKey, appSecret, serverUrl string, query *RewardListParam) (interface{}, error)
从币钱包 获取支持币种 返回:[]string
func SetRPFeeConfigFromBcoin ¶
func SetRPFeeConfigFromBcoin(appKey, appSecret, serverUrl string, params *SetRPFeeParam) error
设置红包手续费
func ShowRealBcoin ¶
从币钱包 查询奖励金额
Types ¶
type EditRewardParam ¶
type EditRewardParam struct { BaseCurrency string `json:"baseCurrency" binding:"required"` BaseOpen int `json:"baseOpen"` RewardForUser float64 `json:"rewardForUser" binding:"required"` RewardForInviter []float64 `json:"rewardForInviter" binding:"required"` AdvanceCurrency string `json:"advanceCurrency" binding:"required"` AdvanceOpen int `json:"advanceOpen"` ReachNum int `json:"reachNum" binding:"required"` RewardForNum float64 `json:"rewardForNum" binding:"required"` }
type RewardListParam ¶
type SetRPFeeParam ¶
Click to show internal directories.
Click to hide internal directories.