Files
exchange_go/common/status_code/code_3-4_w.go
2025-02-06 11:14:33 +08:00

35 lines
2.2 KiB
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package statuscode
/**
* TODO 注意:新增状态码只能往后添加,不能往中间插 ...
*/
// ===== 现货交易模块 [30000, 40000) ===== //
const (
CoinDoesNotExist = 30000 + iota // 币种不存在
OperationFailed // 操作失败
CoinInfoEmpty // 币种信息必填
CoinSymbolEmpty // 币种全称、简称必填
OfferingPriceEmpty // 发行价格必填
OfficialWebsiteEmpty // 官网地址必填
TotalSupplyEmpty // 代币总量必填
ProhibitionSpotTrading // 禁止现货交易
ProhibitedContractTrading // 禁止合约交易
ProhibitTransfer // 禁止划转交易
ProhibitC2CAdvise // 禁止发布广告
ProhibitC2CTrade // 禁止C2C交易
CannotWithdraw //禁止提币
WithdrawNumNotRange //提币数量不在可提的范围
AlertSetLimitCoinTotalAll //当前交易对总数已达50条无法继续添加
AlertSetLimitCurrentCoinLimit //当前交易对已有10条价格提醒无法继续添加
AlertSetValueMustGreatThanHighest // 提醒价格必须高于最新价格
AlertSetValueGreat100ThanHighest // 设置的价格不能大于当前价格100倍
AlertSetValueMustLessThanHighPrice // 提醒价格必须低于最新价格
AlertSetValueLessThan100HighPrice // 设置的价格不能小于当前价格100倍
AlertSetValueIsExist // 当前币种的数据已存在
WithDrawChangeAccountNotExist // 账户不存在
WithDrawChangeAccountNotValid // 无法转到该账户。请确认这是有效的账户并且收款方开启了支付-设置-允许通过邮箱或手机号向我转账.
WithDrawChangeNotSendToSelf // 抱歉,无法给自己付款
)