12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- [app]
- PageSize = 10
- JwtSecret = 111111
- FileSavePath=uploads/files/
- FileMaxSize = 1000000
- FileAllowType = .jpg, .jpeg, .png, .ico, .svg, .bmp, .gif, .doc, .docx, .ppt, .pptx, .xls, .xlsx, .pdf, .mp3, .txt
- ImageSavePath=uploads/image/
- ExportSavePath=uploads/exportfiles/
- ImageMaxSize = 10
- ThumbnailSavePath=uploads/thumbnail/
- ThumbnailMaxWidth=800
- ThumbnailMaxHeight=800
- LogSavePath = logs/
- LogSaveName = log
- LogFileExt = log
- TimeFormat = 20060102-150405
- [server]
- #debug or release
- #RunMode = debug
- RunMode = release
- HttpPort = 8082
- ReadTimeout = 60
- WriteTimeout = 60
- NoAuth = 1
- Mdns_servicename = kptadmin
- Mdns_serviceport = 5354
- # 0 http 1 https 2 http & https 不填 http
- Https = 2
- HttpsPort = 443
- CrtPath = conf/ssl.crt
- KeyPath = conf/ssl.key
- # 服务
- ServerName = tmrgo
- DisplayName = tmrgo
- Description = tmrgo
- [database]
- Type = mysql
- User = root
- Password = 123456
- Host = 192.168.1.70:3306
- Name = tmrwatch2
- TablePrefix =
- ShowXormlog = false
- ShowGetSqllog = false
- CacheApiSql = false
- [comm]
- PortName =
- BaudRate = 9600
- DataBits = 8
- StopBits = 1
- ParityMode = 0 #PARITY_NONE 0 PARITY_ODD 1 PARITY_EVEN 2
- InterCharacterTimeout = 100
- MinimumReadSize = 0
|