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) +}