public CommonService(int appId) { string url = WF_GetRelatedLinks.GetRelatedLinkByAppID(appId.ToString()); if (string.IsNullOrEmpty(url)) { throw new Exception("没有配置流程与erp服务接口地址"); } this.Url = url; }