app.conf 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. appname = Cold_Api
  2. HTTPPort = 6200
  3. runmode = dev
  4. EnableDocs = true
  5. copyrequestbody = true
  6. #热更新
  7. # Graceful = true
  8. #进程内监控
  9. # EnableAdmin = true
  10. # AdminAddr = "localhost"
  11. # AdminPort = 8088
  12. Version = "/v3"
  13. # Nats
  14. NatsServer_Url = "127.0.0.1:43422"
  15. # Mysql
  16. MysqlServer_UrlPort = "127.0.0.1:40306"
  17. MysqlServer_Database = "cold"
  18. MysqlServer_Username = "cold"
  19. MysqlServer_Password = "yjwyEckZS7rE5H!"
  20. MysqlServer_MaxIdleConnections = 100
  21. MysqlServer_MaxOpenConnections = 200
  22. MysqlServer_Debug = true
  23. # Redis
  24. # Redis
  25. Redis_address = "127.0.0.1:43379"
  26. Redis_password = ""
  27. Redis_dbNum = "1"
  28. # 静态资源
  29. Qiniu_AccessKey = "-8ezB_d-8-eUFTMvhOGbGzgeQRPeKQnaQ3DBcUxo"
  30. Qiniu_SecretKey = "KFhkYxTAJ2ZPN3ZS3euTsfWk8-C92rKgkhAMkDRN"
  31. Qiniu_BUCKET = "coldoss"
  32. Qiniu_Url = "https://coldoss.coldbaozhida.com/"
  33. # Panel
  34. Panel_url = "http://127.0.0.1:6204/Cold_Panel"
  35. FilterExcludeURL = /Login_verification
  36. # 小程序接口 /DeviceWarning/DeviceSensor_List,/DeviceSensor/Stat,/DeviceSensor/Stat_List,/DeviceSensorType/List
  37. FilterOnlyLoginCheckURL = /Menu/List,/User/Info,/User/Home,/User/Post,/UpFileToken,/User/WxQRCode,/Company/Get,/DeviceWarning/DeviceSensor_List,/DeviceSensor/Stat,/DeviceSensor/Stat_List,/DeviceSensorType/List