This commit is contained in:
李子铭 2024-11-15 14:29:41 +08:00
parent eb9a1323e5
commit 8102c3ffcd
1 changed files with 8 additions and 0 deletions

View File

@ -122,6 +122,14 @@ func (o *Notify) Decode(appKey string) (*CardCode, error) {
return car, err return car, err
} }
func (o *CardCode) Json() ([]byte, error) {
b, err := json.Marshal(o)
if err != nil {
return nil, err
}
return b, nil
}
func (o *OrderResp) GetCode() Code { func (o *OrderResp) GetCode() Code {
return Code(o.Code) return Code(o.Code)
} }