This commit is contained in:
苏尹岚
2020-12-08 17:23:58 +08:00
parent 6722987cfe
commit 2ab9cc97c2
6 changed files with 161 additions and 5 deletions

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