diff --git a/conf/config.go b/conf/config.go index 12040ca..42d06de 100644 --- a/conf/config.go +++ b/conf/config.go @@ -26,6 +26,7 @@ type EnvConfig struct { AndonTouchOff string `yaml:"andontouchoff"` PortalGetTimeUrl string `yaml:"portalgettimeurl"` PortalPostFileUrl string `yaml:"portalpostfileurl"` + PortalHost string `yaml:"portalhost"` } //read yaml config diff --git a/conf/config.yaml b/conf/config.yaml index e6ac796..a469386 100644 --- a/conf/config.yaml +++ b/conf/config.yaml @@ -27,4 +27,5 @@ outbox: D:\Go\gopath\src\leit.com\lapp_-gaas_-gframe\doc\Outbox # mes andon url andontouchoff: http://10.84.128.80:4000/Features/API/Andon/api/WebCmd/AndonRequest portalgettimeurl: http://101.201.121.115:8097/admin/log/artdemandlst/selectlastmodify -portalpostfileurl: http://101.201.121.115:8097/admin/log/artdemandlst/synchronous \ No newline at end of file +portalpostfileurl: http://101.201.121.115:8097/admin/log/artdemandlst/synchronous +portalhost: 101.201.121.115:8097 \ No newline at end of file