24 lines
471 B
Go
24 lines
471 B
Go
package fnpsapi
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestCreateStore(t *testing.T) {
|
|
err := api.CreateStore(&CreateStoreParam{
|
|
ChainStoreCode: "123",
|
|
ChainStoreName: "测试门店1",
|
|
ChainStoreType: 2,
|
|
ContactPhone: "18160030913",
|
|
Address: "金牛区加州湾",
|
|
PositionSource: 3,
|
|
Longitude: "104.045409",
|
|
Latitude: "30.693387",
|
|
// ServiceCode: "1",
|
|
})
|
|
if err != nil {
|
|
t.Fatal(err)
|
|
}
|
|
// t.Log(utils.Format4Output(result, false))
|
|
}
|