public static BoolAny <string> verOrigWorkerAccount(string workerID, string password) { string postString = "workid=" + workerID + "&password="******"/worker/verifiy", postString); return(BoolAny <string> .succeed(myjson)); } catch (Exception e) { return(BoolAny <string> .fail(e.Message)); } }
/// <summary> /// 获取员工账号信息 /// </summary> /// <param nickname="workerID"></param> /// <returns></returns> public static String getOrigWorkerAccount(string workerID) { string postString = "workid=" + workerID; try { string myjson = ASConsoLe.RequestProxy(Config.AS_Url + "/get", postString); return(BoolAny <string> .succeed(myjson)); } catch (Exception e) { return(BoolAny <string> .fail(e.Message)); } }