fnapi
This commit is contained in:
23
platformapi/fnpsapi/store_test.go
Normal file
23
platformapi/fnpsapi/store_test.go
Normal file
@@ -0,0 +1,23 @@
|
||||
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))
|
||||
}
|
||||
Reference in New Issue
Block a user