123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- [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 = 80
- ReadTimeout = 60
- WriteTimeout = 60
- NoAuth = 1
- Mdns_servicename = kptadmin
- Mdns_serviceport = 5354
- # 0 http 1 https 2 http & https 不填 http
- Https = 1
- HttpsPort = 443
- CrtPath = conf/ssl.crt
- KeyPath = conf/ssl.key
- # 服务
- ServerName = tmrgo
- DisplayName = tmrgo
- Description = tmrgo
- [database]
- Type = mysql
- User = root
- Password = root
- Host = 127.0.0.1:3326
- Name = tmrwatch
- 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
|