From 77f99800075afbfe398d1e9b8b567407ff9f539b Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期三, 06 三月 2024 17:36:30 +0800 Subject: [PATCH] minio文件上传实现 --- dujy-admin/src/main/resources/application-dev.yml | 44 ++++++++++++++++++++++++-------------------- 1 files changed, 24 insertions(+), 20 deletions(-) diff --git a/dujy-admin/src/main/resources/application-dev.yml b/dujy-admin/src/main/resources/application-dev.yml index 9eda0cc..3215e6e 100644 --- a/dujy-admin/src/main/resources/application-dev.yml +++ b/dujy-admin/src/main/resources/application-dev.yml @@ -36,23 +36,23 @@ hibernate: format_sql: true - graphql: - path: /graphql - graphiql: - enabled: true - path: /graphiql - cors: - allow-credentials: true - allowed-headers: '*' - allowed-methods: '*' - schema: - locations: - - classpath*:graphql/ - file-extensions: - - .graphql - - .gqls - printer: - enabled: true +# graphql: +# path: /graphql +# graphiql: +# enabled: true +# path: /graphiql +# cors: +# allow-credentials: true +# allowed-headers: '*' +# allowed-methods: '*' +# schema: +# locations: +# - classpath*:graphql/ +# file-extensions: +# - .graphql +# - .gqls +# printer: +# enabled: true datasource: type: com.zaxxer.hikari.HikariDataSource # 鍔ㄦ�佹暟鎹簮鏂囨。 https://www.kancloud.cn/tracy5546/dynamic-datasource/content @@ -123,16 +123,16 @@ spring.data: redis: # 鍦板潃 - host: 162.14.79.111 + host: 42.193.1.25 # 绔彛锛岄粯璁や负6379 port: 6379 - password: 234#Wersdf! + password: ycl2018 # 鏁版嵁搴撶储寮� database: 0 # 瀵嗙爜(濡傛病鏈夊瘑鐮佽娉ㄩ噴鎺�) # password: # 杩炴帴瓒呮椂鏃堕棿 - timeout: 10s + timeout: 20s # 鏄惁寮�鍚痵sl ssl.enabled: false @@ -277,3 +277,7 @@ client-id: 10**********6 client-secret: 1f7d08**********5b7**********29e redirect-uri: ${justauth.address}/social-callback?source=gitlab +minio: + url: http://127.0.0.1:9000 + access-key: root + secret-key: root1234 -- Gitblit v1.8.0