plugin/alipay/vo/alipay.go

10 lines
124 B
Go

package vo
type Code string
const CodeSuccess Code = "10000"
func (c Code) IsSuccess() bool {
return c == CodeSuccess
}