Initial commit

This commit is contained in:
ywlmac
2026-05-13 10:30:19 +08:00
commit a2a693885b
38 changed files with 5757 additions and 0 deletions
@@ -0,0 +1,17 @@
package constant
import "strconv"
type RetBase struct {
RetCode int `json:"retCode"`
RetMsg string `json:"retMsg"`
}
func (r *RetBase) Error() string {
return strconv.Itoa(r.RetCode) + "-" + r.RetMsg
}
type RetData struct {
RetBase
Data interface{} `json:"data"`
}