/** * 设置baseurl */ public void UrlConfig(string url) { Log.I("UrlConfig: " + url); BaseUrl = url; if (PlayerPrefsUtil.GetPhone().IsNotNullAndEmpty() && PlayerPrefsUtil.GetPwd().IsNotNullAndEmpty()) { StartResquestForDoLogin(PlayerPrefsUtil.GetPhone(), PlayerPrefsUtil.GetPwd()); } else { UIMgr.OpenPanel <LoginPanel>(new LoginPanelData()); } }