fix version 1
This commit is contained in:
@@ -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 == "" {
|
||||
|
||||
Reference in New Issue
Block a user