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