From 6e98cd7c4380b38f78e1929d659b6f371148cb69 Mon Sep 17 00:00:00 2001 From: zhc077 <565291854> Date: Mon, 23 Oct 2023 15:20:13 +0800 Subject: [PATCH] =?UTF-8?q?1=EF=BC=8C=E5=89=8D=E7=AB=AF=E7=94=9F=E4=BA=A7?= =?UTF-8?q?=E7=8E=AF=E5=A2=83=E9=85=8D=E7=BD=AE=E4=BF=AE=E6=94=B9=202?= =?UTF-8?q?=EF=BC=8CRadioGroup=E7=BB=84=E4=BB=B6=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=80=BC=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application-prod.yml | 23 +++++++++++-------- jeecgboot-vue3-master/.env.production | 4 ++-- .../views/cms/admin/column/CmsColumn.data.ts | 4 ++-- 3 files changed, 18 insertions(+), 13 deletions(-) diff --git a/jeecg-boot-master/jeecg-module-system/jeecg-system-start/src/main/resources/application-prod.yml b/jeecg-boot-master/jeecg-module-system/jeecg-system-start/src/main/resources/application-prod.yml index e510f91b..d334f463 100644 --- a/jeecg-boot-master/jeecg-module-system/jeecg-system-start/src/main/resources/application-prod.yml +++ b/jeecg-boot-master/jeecg-module-system/jeecg-system-start/src/main/resources/application-prod.yml @@ -1,5 +1,5 @@ server: - port: 8080 + port: 18082 tomcat: max-swallow-size: -1 error: @@ -131,9 +131,9 @@ spring: connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000 datasource: master: - url: jdbc:mysql://127.0.0.1:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai + url: jdbc:mysql://182.92.169.222:3306/comp?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai username: root - password: root + password: ycwl2022. driver-class-name: com.mysql.cj.jdbc.Driver # 多数据源配置 #multi-datasource1: @@ -143,10 +143,10 @@ spring: #driver-class-name: com.mysql.cj.jdbc.Driver #redis 配置 redis: - database: 0 - host: 127.0.0.1 + database: 2 + host: 182.92.169.222 port: 6379 - password: '' + password: 'redis@ycwl2022.' #mybatis plus 设置 mybatis-plus: mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml @@ -174,14 +174,14 @@ jeecg: # 签名拦截接口 signUrls: /sys/dict/getDictItems/*,/sys/dict/loadDict/*,/sys/dict/loadDictOrderByValue/*,/sys/dict/loadDictItem/*,/sys/dict/loadTreeData,/sys/api/queryTableDictItemsByCode,/sys/api/queryFilterTableDictInfo,/sys/api/queryTableDictByKeys,/sys/api/translateDictFromTable,/sys/api/translateDictFromTableByKeys #local\minio\alioss - uploadType: alioss + uploadType: local # 前端访问地址 domainUrl: pc: http://localhost:3100 app: http://localhost:8051 path: #文件上传根目录 设置 - upload: /opt/jeecg-boot/upload + upload: /opt/jeecgboot/upFiles/comp #webapp文件路径 webapp: /opt/jeecg-boot/webapp shiro: @@ -300,4 +300,9 @@ third-app: client-id: ?? # appSecret client-secret: ?? - agent-id: ?? \ No newline at end of file + agent-id: ?? + +comp: + work: + # 作品目录,目录分隔符无论操作系统请用"/",路径末尾一定要有"/" + save-path: /opt/jeecgboot/upFiles/comp/zuopin diff --git a/jeecgboot-vue3-master/.env.production b/jeecgboot-vue3-master/.env.production index de33204e..54b2c68b 100644 --- a/jeecgboot-vue3-master/.env.production +++ b/jeecgboot-vue3-master/.env.production @@ -16,10 +16,10 @@ VITE_BUILD_COMPRESS = 'gzip' VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false #后台接口父地址(必填) -VITE_GLOB_API_URL=/jeecgboot +VITE_GLOB_API_URL=http://10.100.200.177:18082/jeecg-boot #后台接口全路径地址(必填) -VITE_GLOB_DOMAIN_URL=http://jeecg-boot-system:8080/jeecg-boot +VITE_GLOB_DOMAIN_URL=http://10.100.200.177:18082/jeecg-boot # 接口父路径前缀 VITE_GLOB_API_URL_PREFIX= diff --git a/jeecgboot-vue3-master/src/views/cms/admin/column/CmsColumn.data.ts b/jeecgboot-vue3-master/src/views/cms/admin/column/CmsColumn.data.ts index cff4b5c0..64ebedeb 100644 --- a/jeecgboot-vue3-master/src/views/cms/admin/column/CmsColumn.data.ts +++ b/jeecgboot-vue3-master/src/views/cms/admin/column/CmsColumn.data.ts @@ -72,11 +72,11 @@ export const formSchema: FormSchema[] = [ componentProps: { //options里面由一个一个的radio组成,支持disabled options: [ - { label: '是', value: 1, }, + { label: '是', value: 1 }, { label: '否', value: 0 }, ], - defaultValue:1, }, + defaultValue: 1, }, { label: '排序',