1,前端生产环境配置修改

2,RadioGroup组件默认值配置
dev
zhc077 1 year ago
parent 778e5d839a
commit 6e98cd7c43
  1. 21
      jeecg-boot-master/jeecg-module-system/jeecg-system-start/src/main/resources/application-prod.yml
  2. 4
      jeecgboot-vue3-master/.env.production
  3. 4
      jeecgboot-vue3-master/src/views/cms/admin/column/CmsColumn.data.ts

@ -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:
@ -301,3 +301,8 @@ third-app:
# appSecret
client-secret: ??
agent-id: ??
comp:
work:
# 作品目录,目录分隔符无论操作系统请用"/",路径末尾一定要有"/"
save-path: /opt/jeecgboot/upFiles/comp/zuopin

@ -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=

@ -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: '排序',

Loading…
Cancel
Save