Exemple #1
0
        public void StoreBatchAddTest()
        {
            var accessToken = AccessTokenContainer.GetToken(_appId);
            var data        = new StoreLocationData()
            {
                location_list = new List <Store_Location>()
                {
                    _StoreLocation
                },
            };

            var result = CardApi.StoreBatchAdd(accessToken, data);

            Assert.IsNotNull(result);
            Assert.AreEqual(result.errcode, ReturnCode.请求成功);
        }