/// <summary> /// 当前用户是否已经分配当前店铺 /// </summary> /// <param name="shopid"></param> /// <param name="userid"></param> /// <returns></returns> public bool ShopIsAllocation(string shopid, string userid) { usersdal udal = new usersdal(); return(udal.ShopIsAllocation(shopid, userid)); }
/// <summary> /// 得到当前用户拥有的店铺的数组 /// </summary> /// <param name="userid"></param> /// <returns></returns> public string[] GetShopAllocation(string userid) { usersdal udal = new usersdal(); return(udal.GetShopAllocation(userid)); }
/// <summary> /// 分配店铺 /// </summary> /// <param name="shopid"></param> /// <param name="userid"></param> /// <returns></returns> public string InsertShopAllocation(string shopid, string userid) { usersdal udal = new usersdal(); return(udal.InsertShopAllocation(shopid, userid)); }