From 709da734ab3fd6cfa6bd7e75fb63aa2ff27a0180 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Thu, 19 May 2022 17:00:19 +0800 Subject: [PATCH] 1 --- platformapi/fnpsapi/store.go | 6 +++--- platformapi/weixinapi/cgibin_test.go | 5 +++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/platformapi/fnpsapi/store.go b/platformapi/fnpsapi/store.go index 5710568f..dd07f4f3 100644 --- a/platformapi/fnpsapi/store.go +++ b/platformapi/fnpsapi/store.go @@ -9,8 +9,8 @@ import ( ) const ( - StoreNotExist = "门店信息不存在" - StoreExist = "该门店已存在" + StoreNotExist = "门店不存在" + StoreExist = "门店名称已存在" ) const ( @@ -107,7 +107,7 @@ func (a *API) GetStore(storeID string) (getStoreResult *GetOneStoreRespData, err return nil, err } } else { - return nil, fmt.Errorf("暂无数据") + return nil, fmt.Errorf("%s", result["msg"]) } return fnResult, err diff --git a/platformapi/weixinapi/cgibin_test.go b/platformapi/weixinapi/cgibin_test.go index 2cb422a6..aca48641 100644 --- a/platformapi/weixinapi/cgibin_test.go +++ b/platformapi/weixinapi/cgibin_test.go @@ -131,3 +131,8 @@ func TestCBMassSend(t *testing.T) { } //t.Log(utils.Format4Output(result, false)) } + +func TestTode(t *testing.T) { + ccc := 3 &^ 1 + fmt.Println(ccc) +}