| | |
| | | "AppSettings": { |
| | | "TestErpUrl": "http://192.168.1.149:8066/WebService1.asmx/MesToErpinfoTest", |
| | | "ProductionErpUrl": "http://192.168.1.149:8066/WebService1.asmx/MesToErpinfoTest", |
| | | "ImageUploadUrl": "http://192.168.1.145:81/upload/", |
| | | //"DataBaseConn": "Data Source=192.168.1.146,12468;Initial Catalog=TEST_MES;User ID=testUser;Password =qixi1qaz@WSXtest;Encrypt=True;TrustServerCertificate=True;" |
| | | "DataBaseConn": "Data Source=192.168.1.146,12468;Initial Catalog=GS_MES;User ID=mesUser;Password =qixi1qaz@WSXmes;Encrypt=True;TrustServerCertificate=True;" |
| | | }, |
| | |
| | | |
| | | var icoimg = ""; |
| | | if (mesFile != null) |
| | | icoimg = "http://192.168.1.145:81/upload/" + |
| | | icoimg = AppsettingsUtility.Settings.ImageUploadUrl + |
| | | mesFile.UrlPath; |
| | | |
| | | groupObj.child.Add(new MesSysPageview |
| | |
| | | public string TestErpUrl { get; set; } |
| | | public string ProductionErpUrl { get; set; } |
| | | public string DataBaseConn { get; set; } |
| | | public string ImageUploadUrl { get; set; } |
| | | } |
| | |
| | | myOwn.TestErpUrl = configuration["AppSettings:TestErpUrl"]; |
| | | myOwn.ProductionErpUrl = configuration["AppSettings:ProductionErpUrl"]; |
| | | myOwn.DataBaseConn = configuration["AppSettings:DataBaseConn"]; |
| | | myOwn.ImageUploadUrl = configuration["AppSettings:ImageUploadUrl"]; |
| | | Settings = myOwn; |
| | | } |
| | | } |