From 51e65deb9c575bbebb68074c21431806ef96fa47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Mon, 4 Jul 2022 18:13:08 +0800 Subject: [PATCH] 1 --- platformapi/q_bida/q_bida_client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformapi/q_bida/q_bida_client.go b/platformapi/q_bida/q_bida_client.go index 55eafd12..c374b76e 100644 --- a/platformapi/q_bida/q_bida_client.go +++ b/platformapi/q_bida/q_bida_client.go @@ -67,7 +67,7 @@ func (a *Api) CreateOrder(param *MakeOrderReq) (string, error) { } result, err := a.AccessInfo(BaseQBiDaUrl, MakeWayBailOrderUrl, http.MethodPost, utils.Struct2FlatMap(param)) - if err != nil && !strings.Contains(err.Error(), "成功") { + if err != nil && err.Error() != "success" { return "", err }