fn
This commit is contained in:
@@ -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))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user