app.conf 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. appname = Cold_Api
  2. HTTPPort = 6200
  3. runmode = dev
  4. EnableDocs = true
  5. copyrequestbody = true
  6. Version = "/v3"
  7. # # Nats
  8. NatsServer_Url = "127.0.0.1:43422"
  9. # Mysql
  10. MysqlServer_UrlPort = "127.0.0.1:40306"
  11. MysqlServer_Database = "cold"
  12. MysqlServer_Username = "cold"
  13. MysqlServer_Password = "yjwyEckZS7rE5H!"
  14. MysqlServer_MaxIdleConnections = 100
  15. MysqlServer_MaxOpenConnections = 200
  16. MysqlServer_Debug = true
  17. # Redis
  18. Redis_address = "127.0.0.1:43379"
  19. Redis_password = ""
  20. Redis_dbNum = "1"
  21. # Nats
  22. # NatsServer_Url = "175.178.229.79:4222"
  23. #
  24. # # Mysql 线上
  25. # MysqlServer_UrlPort = "175.178.229.79:30306"
  26. # MysqlServer_Database = "cold"
  27. # MysqlServer_Username = "root"
  28. # MysqlServer_Password = "root"
  29. # MysqlServer_MaxIdleConnections = 100
  30. # MysqlServer_MaxOpenConnections = 200
  31. #
  32. # # Redis
  33. # Redis_address = "175.178.229.79:30379"
  34. # Redis_password = ""
  35. # Redis_dbNum = "1"
  36. # # Mysql
  37. # MysqlServer_UrlPort = "47.111.15.17:3360"
  38. # MysqlServer_Database = "cold"
  39. # MysqlServer_Username = "cold"
  40. # MysqlServer_Password = "W5kjJ66Zz3Pb4CdK"
  41. # MysqlServer_MaxIdleConnections = 100
  42. # MysqlServer_MaxOpenConnections = 200
  43. # MysqlServer_Debug = true
  44. #
  45. # # Redis
  46. # Redis_address = "47.111.15.17:6379"
  47. # Redis_password = ""
  48. # Redis_dbNum = "1"
  49. # 静态资源
  50. Qiniu_AccessKey = "-8ezB_d-8-eUFTMvhOGbGzgeQRPeKQnaQ3DBcUxo"
  51. Qiniu_SecretKey = "KFhkYxTAJ2ZPN3ZS3euTsfWk8-C92rKgkhAMkDRN"
  52. Qiniu_BUCKET = "coldoss"
  53. Qiniu_Url = "https://coldoss.coldbaozhida.com/"
  54. # Panel
  55. Panel_url = "http://127.0.0.1:6204/Cold_Panel"
  56. FilterExcludeURL = /Login_verification,/Data/List
  57. # 小程序 冷链验证 /Data/List
  58. # 小程序接口 /DeviceWarning/DeviceSensor_List,/Device/Applet_Stat_View2,/DeviceSensor/Applet_List_View1,/DeviceSensor/Applet_List_View2,/DeviceSensorType/List,/Device/DeviceTask_Post
  59. #FilterOnlyLoginCheckURL = /Menu/List,/User/Info,/User/Home,/User/Post,/UpFileToken,/User/WxQRCode,/Company/Get,/DeviceWarning/DeviceSensor_List,/Device/Applet_Stat_View2,/DeviceSensor/Applet_List_View1,/DeviceSensor/Applet_List_View2,/DeviceSensorType/List,/Device/DeviceTask_Post,/Data/DeviceSensor_Data_Print
  60. FilterOnlyLoginCheckURL = /Menu/List,/User/Info,/User/Home,/User/Post,/UpFileToken,/User/WxQRCode,/Company/Get,/DataSource,/Company/Bill_Excel,/WarningSend/List
  61. MqttIds = mqttjxit,mqttlodr,mqttyuht
  62. MqttServer_id = "mqttjxit"