This commit is contained in:
苏尹岚
2020-12-11 09:02:17 +08:00
parent a4a0176905
commit 3484ebede0
4 changed files with 17 additions and 10 deletions

View File

@@ -2,6 +2,8 @@ package fnpsapi
import (
"testing"
"git.rosy.net.cn/baseapi/utils"
)
func TestCreateStore(t *testing.T) {
@@ -14,10 +16,18 @@ func TestCreateStore(t *testing.T) {
PositionSource: 3,
Longitude: "104.045409",
Latitude: "30.693387",
// ServiceCode: "1",
ServiceCode: "1",
})
if err != nil {
t.Fatal(err)
}
// t.Log(utils.Format4Output(result, false))
}
func TestGetStore(t *testing.T) {
result, err := api.GetStore("2")
if err != nil {
t.Fatal(err)
}
t.Log(utils.Format4Output(result, false))
}