diff --git a/backend/src/main/resources/application-local.yml b/backend/src/main/resources/application-local.yml new file mode 100644 index 0000000..6673294 --- /dev/null +++ b/backend/src/main/resources/application-local.yml @@ -0,0 +1,90 @@ +server: + port: 8080 +spring: + application: + name: teaching-backend + servlet: + multipart: + enabled: true + max-file-size: 10MB + max-request-size: 10MB + neo4j: + uri: bolt://10.100.200.177:7687 + authentication: + username: neo4j # 连接Neo4j数据P库的用户名 + password: neo4j123456 # 连接Neo4j数据库的密码 + mvc: + pathmatch: + matching-strategy: ant_path_matcher + datasource: + driver-class-name: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://10.100.200.177:3306/teaching_db + username: root + password: root +# url: jdbc:mysql://rm-bp189rd5595301145do.mysql.rds.aliyuncs.com:3306/teaching_db +# username: root123 +# password: Zjh@111111 +mybatis: + configuration: + map-underscore-to-camel-case: true + mapper-locations: + - classpath:mapper/*.xml + - classpath*:com/**/mapper/*.xml + +jwt: + tokenHeader: Authorization + secret: mySecret + expiration: 604800 + tokenHead: Bearer + +knife4j: + enable: true + openapi: + title: 111 + description: "123" + concat: zjh + version: v1.0.0 + group: + default: + group-name: default + api-rule: package + api-rule-resources: + - com.teaching.backend.controller +secure: + ignored: + urls: + # - /swagger-ui/ + # - /swagger-resources/** + # - /**/v2/api-docs + # - /**/*.html + # - /**/*.js + # - /**/*.css + # - /**/*.png + # - /**/*.map + # - /favicon.ico + # - /actuator/** + # - /druid/** + # - /user/** + # - /user/login + # - /user/register + # - /user/info + # - /user/logout + # - /minio/upload + - /** + + +aliyun: + oss: + endpoint: oss-cn-wuhan-lr.aliyuncs.com + accessKeyId: LTAI5tFkdu3y5WddxbjgaG2F + accessKeySecret: 1xUchxUTlmUBoTV5JQIrKsVjSkmsLF + bucketName: ceshi132132 + +minio: + endpoint: http://39.106.16.162:9090 #MinIO服务所在地址 + bucketName: teaching # 存储桶名称 + accessKey: minioadmin # 访问的key + secretKey: minioadmin # 访问的秘钥 + +filename: + maxlength: 10 diff --git a/teaching_integration_platform_admin_template/.env.development b/teaching_integration_platform_admin_template/.env.development index 98dfa78..c3ff64a 100644 --- a/teaching_integration_platform_admin_template/.env.development +++ b/teaching_integration_platform_admin_template/.env.development @@ -1,5 +1,5 @@ # 变量必须以 VITE_ 为前缀才能暴露给外部读取 NODE_ENV = 'development' VITE_APP_TITLE = '无糖运营平台' -# VITE_APP_BASE_API = 'http://127.0.0.1:8080' -VITE_APP_BASE_API = 'http://39.106.16.162:8080' \ No newline at end of file + VITE_APP_BASE_API = 'http://127.0.0.1:8080' +#VITE_APP_BASE_API = 'http://39.106.16.162:8080' diff --git a/teaching_integration_platform_template/.env.development b/teaching_integration_platform_template/.env.development index 6692c9c..817502a 100644 --- a/teaching_integration_platform_template/.env.development +++ b/teaching_integration_platform_template/.env.development @@ -1,5 +1,5 @@ # 变量必须以 VITE_ 为前缀才能暴露给外部读取 NODE_ENV = 'development' VITE_APP_TITLE = '教学一体化平台' -# VITE_APP_BASE_API = 'http://127.0.0.1:8080' -VITE_APP_BASE_API = 'http://39.106.16.162:8080' \ No newline at end of file +VITE_APP_BASE_API = 'http://127.0.0.1:8080' +# VITE_APP_BASE_API = 'http://39.106.16.162:8080' \ No newline at end of file