public JsonResult BatchDelete(string ids) { var shopid = CurrentSellerManager.ShopId; var strArr = ids.Split(','); List <long> listid = new List <long>(); foreach (var arr in strArr) { listid.Add(Convert.ToInt64(arr)); } _iManagerService.BatchDeleteSellerManager(listid.ToArray(), shopid); return(Json(new Result() { success = true, msg = "批量删除成功!" })); }
/// <summary> /// 批量删除商家管理员 /// </summary> /// <param name="ids"></param> public static void BatchDeleteSellerManager(long[] ids, long shopId) { _iManagerService.BatchDeleteSellerManager(ids, shopId); }