This commit is contained in:
邹宗楠
2022-05-19 17:00:19 +08:00
parent e3d03105e8
commit 709da734ab
2 changed files with 8 additions and 3 deletions

View File

@@ -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

View File

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