From 8a9a05f90df3e342c64efb902f3b0efc44130bfb Mon Sep 17 00:00:00 2001 From: guzeng Date: Wed, 14 Dec 2022 09:29:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A2=84=E7=BA=A6=E6=A0=B8?= =?UTF-8?q?=E9=94=80=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- verify.go | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/verify.go b/verify.go index f93b3fc..8c9ffe0 100644 --- a/verify.go +++ b/verify.go @@ -1,13 +1,8 @@ package orderrpc import ( - "crypto/md5" - "encoding/hex" "encoding/json" - "errors" - "log" "strconv" - "strings" "time" "git.tetele.net/tgo/crypter" @@ -61,7 +56,11 @@ func VerifyByBooking(dbname, site_id string, data map[string]string, url ...stri return nil, err } - res_data_de := GetOrgData(res) + res_data_de, err := GetOrgData(res) + + if err != nil { + return nil, err + } var res_arr OrderVerifyRes