fix version 1

This commit is contained in:
2026-09-22 21:15:34 +08:00
parent 9f86366638
commit d63d7e8b3a
277 changed files with 9959 additions and 1514 deletions

View File

@@ -180,7 +180,7 @@ func struct2map(in any) (map[string]string, error) {
}
func CheckParam(amount int64, auth_code string, identity string, order_no string) (err error) {
if amount == 0 {
if amount <= 0 {
return excode.ErrAmount
}
if auth_code == "" {