Browse Source

添加代理配置

pull/260/head
zhangxin 3 years ago
parent
commit
865bb3e2b7
2 changed files with 3 additions and 1 deletions
  1. +1
    -0
      conf/config.go
  2. +2
    -1
      conf/config.yaml

+ 1
- 0
conf/config.go View File

@ -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


+ 2
- 1
conf/config.yaml View File

@ -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
portalhost: 101.201.121.115:8097
proxy: http://10.10.5.18:8080

Loading…
Cancel
Save