| | |
| | | # 是否开启swagger |
| | | enabled: true |
| | | |
| | | #minio: |
| | | # endpoint: http://114.132.189.42/ |
| | | # port: 7019 |
| | | # secure: false |
| | | # accessKey: admin |
| | | # secretKey: 12345678 |
| | | # preview-expiry: 24 # 预览地址默认24小时 |
| | | minio: |
| | | endpoint: http://114.132.189.42/ |
| | | port: 7019 |
| | | secure: false |
| | | accessKey: admin |
| | | secretKey: 12345678 |
| | | preview-expiry: 24 # 预览地址默认24小时 |
| | | |
| | | # 照片存储路径+++++++++++++++++++++++++++运维需要配置+++++++++++++++++++++++++++ |
| | | file: |
| | |
| | | |
| | | return new String(out.toByteArray(), "iso-8859-1"); |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | return str; |
| | | throw new RuntimeException("数据压缩失败"); |
| | | } |
| | | |
| | | } |
| | |
| | | |
| | | return new String(out.toByteArray(), "utf-8"); |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | return str; |
| | | throw new RuntimeException("数据解压失败"); |
| | | } |
| | | |
| | | } |