You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
305 B
16 lines
305 B
package model |
|
|
|
// TokenInfo represents pay token. |
|
type TokenInfo struct { |
|
Token string |
|
OrderNo string |
|
Status int8 |
|
Mid int64 |
|
} |
|
|
|
// CopyFromPayParam copies fields from pay param. |
|
func (t *TokenInfo) CopyFromPayParam(pp *PayParam) { |
|
t.Mid = pp.Mid |
|
t.Status = pp.Status |
|
t.OrderNo = pp.OrderNo |
|
}
|
|
|