args

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 23, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RpcServiceMicroMallUsers = "micro-mall-users"
	RpcServiceMicroMallOrder = "micro-mall-order"
)
View Source
const (
	AccountTypePerson  = 1
	AccountTypeCompany = 2
	AccountTypeSystem  = 3
)
View Source
const (
	TaskNameTradePayNotice    = "task_trade_pay_notice"
	TaskNameTradePayNoticeErr = "task_trade_pay_notice_err"
)
View Source
const (
	Unknown                 = 0
	TradePayEventTypeCreate = 10016
	TradePayEventTypeExpire = 10017
)

Variables

View Source
var MsgFlags = map[int]string{
	Unknown:                 "未知",
	TradePayEventTypeCreate: "支付订单创建",
	TradePayEventTypeExpire: "支付订单过期",
}

Functions

func GetMsg

func GetMsg(code int) string

Types

type CommonBusinessMsg

type CommonBusinessMsg struct {
	Type int    `json:"type"`
	Tag  string `json:"tag"`
	UUID string `json:"uuid"`
	Msg  string `json:"msg"`
}

type TradePayNotice

type TradePayNotice struct {
	Uid    int64  `json:"uid"`
	Time   string `json:"time"`
	TxCode string `json:"tx_code"`
	PayId  string `json:"pay_id"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL