1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- appname = Cold_Api
- HTTPPort = 6200
- runmode = dev
- EnableDocs = true
- copyrequestbody = true
- #热更新
- # Graceful = true
- #进程内监控
- # EnableAdmin = true
- # AdminAddr = "localhost"
- # AdminPort = 8088
- Version = "/v3"
- # Nats
- NatsServer_Url = "127.0.0.1:43422"
- # Mysql
- MysqlServer_UrlPort = "127.0.0.1:40306"
- MysqlServer_Database = "cold"
- MysqlServer_Username = "cold"
- MysqlServer_Password = "yjwyEckZS7rE5H!"
- MysqlServer_MaxIdleConnections = 100
- MysqlServer_MaxOpenConnections = 200
- MysqlServer_Debug = true
- # Redis
- # Redis
- Redis_address = "127.0.0.1:43379"
- Redis_password = ""
- Redis_dbNum = "1"
- # 静态资源
- Qiniu_AccessKey = "-8ezB_d-8-eUFTMvhOGbGzgeQRPeKQnaQ3DBcUxo"
- Qiniu_SecretKey = "KFhkYxTAJ2ZPN3ZS3euTsfWk8-C92rKgkhAMkDRN"
- Qiniu_BUCKET = "coldoss"
- Qiniu_Url = "https://coldoss.coldbaozhida.com/"
- # Panel
- Panel_url = "http://127.0.0.1:6204/Cold_Panel"
- FilterExcludeURL = /Login_verification
- # 小程序接口 /DeviceWarning/DeviceSensor_List,/DeviceSensor/Stat,/DeviceSensor/Stat_List,/DeviceSensorType/List
- FilterOnlyLoginCheckURL = /Menu/List,/User/Info,/User/Home,/User/Post,/UpFileToken,/User/WxQRCode,/Company/Get,/DeviceWarning/DeviceSensor_List,/DeviceSensor/Stat,/DeviceSensor/Stat_List,/DeviceSensorType/List
|