public void ClearCityRequest() { var req = YunClient.Instance.Execute(new ClearCityRequest(), YunClient.GetAdminToken()); Assert.IsTrue(req != null); }
public void GerPermissionUserRequest() { var req = YunClient.Instance.Execute(new GerPermissionUserRequest { Id = 172586 }, YunClient.GetAdminToken()); Assert.IsTrue(req.User != null); }
public void AddIntegralTypeRequest() { var req = YunClient.Instance.Execute(new AddIntegralTypeRequest { Name = "商城抵扣", TypeFlag = "Trade" }, YunClient.GetAdminToken()); Assert.IsTrue(req.Result > 0); }
public void SetSignInSettingRequest() { var req = YunClient.Instance.Execute(new SetSignInSettingRequest { Enabled = true, Rule = "1,1,1,1,1,2,3" }, YunClient.GetAdminToken()); Assert.IsTrue(req.Result > 0); }
public void ExecuteTradeStatisticsRequest() { YunClient.Format = "json"; var req = YunClient.Instance.Execute(new ExecuteTradeStatisticsRequest { Day = 30 }, YunClient.GetAdminToken()); Assert.IsTrue(req.Result); }
public void BatchUpdateShopCategoryRequest() { YunClient.Format = "json"; var req = YunClient.Instance.Execute(new BatchUpdateShopCategoryRequest { }, YunClient.GetAdminToken()); Assert.IsTrue(req != null); }
public void BatchUpdateCustomerSortRequest() { YunClient.Format = "xml"; var req = YunClient.Instance.Execute(new BatchUpdateCustomerSortRequest { }, YunClient.GetAdminToken()); Assert.IsTrue(req != null); }
public void UserSignInRequest() { YunClient.Format = "xml"; var req = YunClient.Instance.Execute(new UserSignInRequest { }, YunClient.GetAdminToken()); Assert.IsTrue(req != null); }
public void ResetFunctionsRequest() { var req = YunClient.Instance.Execute(new ResetFunctionsRequest { CompanyId = 0, TypeId = 0 }, YunClient.GetAdminToken()).Result; Assert.IsTrue(req); }
public void ExecutePrepaidCardBalanceStatisticsRequest() { YunClient.Format = "xml"; var req = YunClient.Instance.Execute(new ExecutePrepaidCardBalanceStatisticsRequest { }, YunClient.GetAdminToken()); Assert.IsTrue(req != null); }
public void AddShopAlumbRequest() { YunClient.Format = "xml"; var req = YunClient.Instance.Execute(new AddShopAlumbRequest { }, YunClient.GetAdminToken()); Assert.IsTrue(req != null); }
public void DeleteDeliveryTemplateRequest() { YunClient.Format = "xml"; var req = YunClient.Instance.Execute(new DeleteDeliveryTemplateRequest { Id = 1 }, YunClient.GetAdminToken()); Assert.IsTrue(req != null); }
public void DeleteFavoritesItemRequest() { YunClient.Format = "json"; var req = YunClient.Instance.Execute(new DeleteFavoritesItemRequest() { FavoriteIds = "37,38" }, YunClient.GetAdminToken()); Assert.IsTrue(req != null); }
public void AddFavoritesItemRequest() { YunClient.Format = "json"; var req = YunClient.Instance.Execute(new AddFavoritesItemRequest() { ItemIds = "17739,17625,17614,16668,16666", }, YunClient.GetAdminToken()); Assert.IsTrue(req != null); }
public void RestoreItemRequest() { YunClient.Format = "xml"; var req = YunClient.Instance.Execute(new RestoreItemRequest() { ItemId = "1" }, YunClient.GetAdminToken()); Assert.IsTrue(req != null); }
public void OffsheIfItemsRequest() { YunClient.Format = "xml"; var req = YunClient.Instance.Execute(new OffsheIfItemsRequest() { ItemIds = "001" }, YunClient.GetAdminToken()); Assert.IsTrue(req != null); }
public void GetShopItemCountRequest() { YunClient.Format = "xml"; var req = YunClient.Instance.Execute(new GetShopItemCountRequest() { Id = 1 }, YunClient.GetAdminToken()); Assert.IsTrue(req != null); }
public void DeleteShopItemCategoryRequest() { YunClient.Format = "xml"; var req = YunClient.Instance.Execute(new DeleteShopItemCategoryRequest() { Id = 9 }, YunClient.GetAdminToken()); Assert.IsTrue(req != null); }
public void DeleteItemSpecValueRequest() { YunClient.Format = "json"; var req = YunClient.Instance.Execute(new DeleteItemSpecValueRequest() { SpecValueId = 9 }, YunClient.GetAdminToken()); Assert.IsTrue(req != null); }
public void DeleteShopCustomerServiceRequest() { YunClient.Format = "json"; var req = YunClient.Instance.Execute(new DeleteShopCustomerServiceRequest { Id = 3, }, YunClient.GetAdminToken()); Assert.IsTrue(req != null); }
public void SetOnlinePaymentRequest() { YunClient.Format = "json"; var req = YunClient.Instance.Execute(new SetOnlinePaymentRequest { PayMethod = "aa" }, YunClient.GetAdminToken()); Assert.IsTrue(req != null); }
public void CompleteRefundRequest() { YunClient.Format = "json"; var req = YunClient.Instance.Execute(new CompleteRefundRequest { RefundId = 1, }, YunClient.GetAdminToken()); Assert.IsTrue(req != null); }
public void AddCompanyRequest() { YunClient.Format = "xml"; var req = YunClient.Instance.Execute(new AddCompanyRequest { Name = "北京多鼠网络科技有限公司", }, YunClient.GetAdminToken()); Assert.IsTrue(req != null); }
public void ExistCompanyRequest() { YunClient.Format = "json"; var req = YunClient.Instance.Execute(new ExistCompanyRequest { Content = "6", }, YunClient.GetAdminToken()); Assert.IsTrue(req != null); }
public void DeletePrepaidCardTypeRequest() { YunClient.Format = "json"; var req = YunClient.Instance.Execute(new DeletePrepaidCardTypeRequest { PrepaidCardTypeId = 1, }, YunClient.GetAdminToken()); Assert.IsTrue(req != null); }
public void AddItemCatsRequest() { YunClient.Format = "xml"; var req = YunClient.Instance.Execute(new AddItemCatsRequest() { Name = "goodone", }, YunClient.GetAdminToken()); Assert.IsTrue(req != null); }
public void ExecuteShopPrepaidCardStatisticsRequest() { YunClient.Format = "json"; var req = YunClient.Instance.Execute(new ExecuteShopPrepaidCardStatisticsRequest { Day = 10, }, YunClient.GetAdminToken()); Assert.IsTrue(req != null); }
public void DeleteItemPropValueRequest() { YunClient.Format = "xml"; var req = YunClient.Instance.Execute(new DeleteItemPropValueRequest() { PropValueId = 1 }, YunClient.GetAdminToken()); Assert.IsTrue(req != null); }
public void UnBindPrepaidCardRequest() { YunClient.Format = "json"; var req = YunClient.Instance.Execute(new UnBindPrepaidCardRequest { CardNumber = "272306", }, YunClient.GetAdminToken()); Assert.IsTrue(req != null); }
public void DeleteItemQuestionRequest() { YunClient.Format = "xml"; var req = YunClient.Instance.Execute(new DeleteItemQuestionRequest() { Ids = "4" }, YunClient.GetAdminToken()); Assert.IsTrue(req != null); }