app.ini 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. [app]
  2. PageSize = 10
  3. JwtSecret = 111111
  4. FileSavePath=uploads/files/
  5. FileMaxSize = 104857600
  6. FileAllowType = .jpg, .jpeg, .png, .ico, .svg, .bmp, .gif, .doc, .docx, .ppt, .pptx, .xls, .xlsx, .pdf, .mp3, .txt
  7. ImageSavePath=uploads/image/
  8. ExportSavePath=uploads/exportfiles/
  9. ImageMaxSize = 10
  10. ThumbnailSavePath=uploads/thumbnail/
  11. ThumbnailMaxWidth=800
  12. ThumbnailMaxHeight=800
  13. LogSavePath = logs/
  14. LogSaveName = log
  15. LogFileExt = log
  16. TimeFormat = 20060102-150405
  17. [server]
  18. Env = local
  19. #debug or release
  20. #RunMode = debug
  21. RunMode = release
  22. HttpPort = 8082
  23. ReadTimeout = 60
  24. WriteTimeout = 60
  25. NoAuth = 1
  26. #Mdns_servicename = kptadmin
  27. #Mdns_serviceport = 53552
  28. # 0 http 1 https 2 http & https 不填 http
  29. Https = 0
  30. HttpsPort = 443
  31. CrtPath = conf/ssl.crt
  32. KeyPath = conf/ssl.key
  33. MailStart = 0
  34. CronFormula = 0 10 * * *
  35. WXworkStart = 0
  36. WXworkAgentid = 1000022
  37. #WXworkAgentid = 1000005 #测试线
  38. WXworkSecret = RV9z-XTVrVj-BsSQ_6F6nhsX3YpeBE0oH2vzZZPG2qg # 正式环境
  39. #WXworkSecret = o0IOfLkXidUjc5X2aHgByNemFaG69gQz-FgHaBxztXE #测试线
  40. #WXworkCorpid = wx93ee6ef7d7810920 #正式线
  41. #WXworkCorpid = ww70edaf8db8d78cfc #测试线
  42. #WXworkSecret = RV9z-XTVrVj-BsSQ_6F6nhsX3YpeBE0oH2vzZZPG2qg
  43. WXworkCorpid = wx93ee6ef7d7810920
  44. #DingTalkToken = htdt1HPlOfaoKmd4BGxn5gpcphYAFymxU5FnXf4VmbVVasAAU49DClivfRa
  45. #DingTalkEncodingAESKey = oxutjIUkWb6HvupqTcyspktMbYDWQKAoKKeQ8raEukt
  46. DingTalkAgentid = 2067173604
  47. DingTalkAppKey = dingg52edjccnvxgfuns
  48. DingTalkAppSecret = M-VfdMdTo0XNcUb8PwGE89xHtlmLwZqWddvZOw6HnRzx97yFhio6rMh6yMjRYL2K
  49. #DingTalkAgentid = 2067173604
  50. #DingTalkAppKey = dingg52edjccnvxgfuns
  51. #DingTalkAppSecret = M-VfdMdTo0XNcUb8PwGE89xHtlmLwZqWddvZOw6HnRzx97yFhio6rMh6yMjRYL2K
  52. # 服务
  53. ServerName = eq
  54. DisplayName = eq
  55. Description = eq
  56. # eas 信息
  57. EasName = 田欣宇
  58. #EasPassword = xdmy@1234
  59. EasPassword = xdmy@1234
  60. EasUrl = http://60.174.151.11:6888
  61. #EasUrl = 192.168.61.26
  62. [database]
  63. ; ####DsnDsn = eq:Xdmy@1234@tcp(192.168.61.42:3306)/eq?charset=utf8&parseTime=True&loc=Local
  64. DsnDsn = root:kepaiteng!QAZ@tcp(210.16.187.191:3306)/eq?charset=utf8&parseTime=True&loc=Local
  65. ; ####DsnDsn = eq:Xdmy@1234@tcp(192.168.63.42:3306)/eq?charset=utf8&parseTime=True&loc=Local
  66. ; ####DsnDsn = root:root@tcp(127.0.0.1:3309)/test?charset=utf8&parseTime=True&loc=Local
  67. ; ####DsnDsn = root:root@tcp(192.168.1.93:3326)/eqdev?charset=utf8&parseTime=True&loc=Local
  68. Type = mysql
  69. #####本地
  70. User = root
  71. Password = kepaiteng!QAZ
  72. Host = 210.16.187.191:3306
  73. Name = eq
  74. #####线上
  75. #User = eq
  76. #Password = Xdmy@1234
  77. #Host = 192.168.61.42:3306
  78. #Name = eq
  79. TablePrefix =
  80. #####现代牧业测试线
  81. #User = eq
  82. #Password = Xdmy@1234
  83. #Host = 192.168.63.42:3306
  84. #Name = eq
  85. #User = root
  86. #Password = root
  87. #Host = 192.168.1.93:3326
  88. #Name = eqdev
  89. ShowXormlog = true
  90. ShowGetSqllog = true
  91. CacheApiSql = true
  92. [comm]
  93. PortName =
  94. BaudRate = 9600
  95. DataBits = 8
  96. StopBits = 1
  97. ParityMode = 0 #PARITY_NONE 0 PARITY_ODD 1 PARITY_EVEN 2
  98. InterCharacterTimeout = 100
  99. MinimumReadSize = 0
  100. [sqlserver]
  101. Host = 124.223.159.131
  102. User = lims
  103. Password = lims@1234
  104. Name = lims
  105. [idaas]
  106. AppId = "20231130092950726-0302-70452E3D6"
  107. ClientId = "fTBm64I4k3kqHYtoFTUpvirCDxxCfx7I"
  108. ClientSecret = "t4Kn8LIUiYZnk92kvZLnCUzY5ruvG3PeaQBMJURGLIQQ5ie7bO1nxernJrDacmpf"
  109. Url = "https://id.xiandaimuye.com"
  110. ##单点登录 1 正常登录 0
  111. IsDaaS = 0