소스 검색

fixed

master
郑根木 2 년 전
부모
커밋
6d767a83fc
4개의 변경된 파일0개의 추가작업 그리고 117개의 파일을 삭제
  1. +0
    -1
      smtweb-framework/core/src/main/java/cc/smtweb/framework/core/db/impl/DefaultDatabaseInfoImpl.java
  2. +0
    -61
      smtweb-framework/core/src/main/resources/config/application-dev.yaml
  3. +0
    -52
      smtweb-framework/core/src/main/resources/config/application-prod.yaml
  4. +0
    -3
      smtweb-framework/core/src/main/resources/config/application.yaml

+ 0
- 1
smtweb-framework/core/src/main/java/cc/smtweb/framework/core/db/impl/DefaultDatabaseInfoImpl.java 파일 보기

@@ -5,7 +5,6 @@ import cc.smtweb.framework.core.db.DbEngine;
import cc.smtweb.framework.core.db.cache.ModelDatabaseCache;
import cc.smtweb.framework.core.db.vo.ModelDatabase;
import cc.smtweb.framework.core.util.SpringUtil;
import com.sun.org.apache.xpath.internal.operations.Mod;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
import org.springframework.jdbc.support.JdbcUtils;


+ 0
- 61
smtweb-framework/core/src/main/resources/config/application-dev.yaml 파일 보기

@@ -1,61 +0,0 @@
smtweb:
machine-id: 1
file:
local-path: /data/files/smart/
host: http://127.0.0.1
url: ${smtweb.file.host}:${server.port}${server.servlet.context-path}/${smtweb.file.local-path}
db:
type: mysql
default:
rule:
prefix: _smt_
replace: smt_
server:
port: 8888
servlet:
context-path: /
logging:
level:
root: INFO
cc.smtweb: DEBUG
spring:
# 设置服务名
application:
name: smtweb_core
main:
allow-bean-definition-overriding: true
mvc:
static-path-pattern: /static/**
redis:
name: ${smtweb.machine-id}
host: 127.0.0.1
port: 6379
password:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://127.0.0.1:3306/smt_asp?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false
username: root
password: root
servlet:
multipart:
max-file-size: 104857600000
max-request-size: 10485760000000
# profiles:
# include: role
cache:
type: caffeine
cache-names:
- core
caffeine:
spec: maximumSize=1024,expireAfterWrite=2h
park:
secret:
key: null
# key: cmVmb3JtZXJyZWZvcm1lcg==
swagger:
name: smtweb-core
version: 2.0
enabled: true




+ 0
- 52
smtweb-framework/core/src/main/resources/config/application-prod.yaml 파일 보기

@@ -1,52 +0,0 @@
sme:
machine-id: 1
file-local-path: /data/files/smart/
file-host: http://member.sumi168.cn
file-url: ${sme.file-host}:${server.port}${server.servlet.context-path}/${sme.file-local-path}

server:
port: 10001
servlet:
context-path: /user

feign:
hystrix:
enabled: false
logging:
level:
smtweb: DEBUG

spring:
# 设置服务名
application:
name: smtweb-user
main:
allow-bean-definition-overriding: true
mvc:
static-path-pattern: /static/**
redis:
host: 127.0.0.1
port: 6379
datasource:
user:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://127.0.0.1:3306/smt_user?useUnicode=true&characterEncoding=utf-8&useTimezone=true&serverTimezone=CTT&allowMultiQueries=true
username: smt
password: smt_123456

servlet:
multipart:
max-file-size: 104857600000
max-request-size: 10485760000000

swagger:
name: smart
version: 1.0.1
enabled: false

weixin:
url: http://devpk.smart.smefdd.com
appId: wx8d11474c01b92378
appSecret: e1fa7bcdf27b46e7d69edad68ea8724b



+ 0
- 3
smtweb-framework/core/src/main/resources/config/application.yaml 파일 보기

@@ -1,3 +0,0 @@
spring:
profiles:
active: dev

불러오는 중...
취소
저장