diff --git a/conf/config.go b/conf/config.go index 42d06de..30de0d6 100644 --- a/conf/config.go +++ b/conf/config.go @@ -27,6 +27,7 @@ type EnvConfig struct { PortalGetTimeUrl string `yaml:"portalgettimeurl"` PortalPostFileUrl string `yaml:"portalpostfileurl"` PortalHost string `yaml:"portalhost"` + Proxy string `yaml:"proxy"` } //read yaml config diff --git a/conf/config.yaml b/conf/config.yaml index a469386..67af322 100644 --- a/conf/config.yaml +++ b/conf/config.yaml @@ -28,4 +28,5 @@ outbox: D:\Go\gopath\src\leit.com\lapp_-gaas_-gframe\doc\Outbox 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 -portalhost: 101.201.121.115:8097 \ No newline at end of file +portalhost: 101.201.121.115:8097 +proxy: http://10.10.5.18:8080 \ No newline at end of file