Beispiel #1
0
 private bool IsRegister(string websiteId, string userid)
 {
     return(HttpRequestWapper.GetBoolean(ServerApiInvoker.Domain +
                                         string.Format("tasks/IsRegister?websiteId={0}&userid={1}", websiteId, Identity.MockUser.Id),
                                         Identity.Ticket
                                         ));
 }
Beispiel #2
0
        public bool HasStaff(string url)
        {
            string domain = StringHelper.GetRootDomain(StringHelper.GetDomain(url));

            return(HttpRequestWapper.GetBoolean(ServerApiInvoker.Domain +
                                                string.Format("tasks/HasStaff?url={0}", domain),
                                                ""
                                                ));
        }