修改配置文件
This commit is contained in:
parent
fa60473a77
commit
557dc932fe
48
pom.xml
48
pom.xml
|
@ -12,13 +12,61 @@
|
|||
<artifactId>y9-code-generator</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<version>${revision}</version>
|
||||
<description>RiseSoft/CodeGenerator parent pom.xml file</description>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>GNU General Public License (GPL) version 3.0</name>
|
||||
<url>https://www.gnu.org/licenses/gpl-3.0.en.html</url>
|
||||
<distribution>repo</distribution>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<properties>
|
||||
<gitee.url>https://gitee.com/risesoft-y9/y9-code-generator</gitee.url>
|
||||
<gitee.connection>scm:git:https://gitee.com/risesoft-y9/y9-code-generator.git</gitee.connection>
|
||||
<gitee.developerConnection>scm:git:https://gitee.com/risesoft-y9/y9-code-generator.git</gitee.developerConnection>
|
||||
|
||||
<revision>v9.6.8-SNAPSHOT</revision>
|
||||
</properties>
|
||||
|
||||
<scm>
|
||||
<url>${gitee.url}</url>
|
||||
<connection>${gitee.connection}</connection>
|
||||
<developerConnection>${gitee.developerConnection}</developerConnection>
|
||||
</scm>
|
||||
|
||||
<modules>
|
||||
<module>risenet-y9boot-webapp-code</module>
|
||||
</modules>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>y9-internet-repo</id>
|
||||
<url>https://svn.youshengyun.com:9900/nexus/repository/maven-public/</url>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
</releases>
|
||||
<snapshots>
|
||||
<enabled>true</enabled>
|
||||
<!-- <updatePolicy>always</updatePolicy> -->
|
||||
<!-- always,daily(default),interval:XXX,never -->
|
||||
</snapshots>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>deploy-maven-central</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.sonatype.central</groupId>
|
||||
<artifactId>central-publishing-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
</project>
|
|
@ -49,7 +49,7 @@ spring:
|
|||
druid:
|
||||
y9-public:
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
url: jdbc:mysql://192.168.3.31:3306/y9_public?serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&useUnicode=true&characterEncoding=utf-8&rewriteBatchedStatements=true&useCompression=true&useSSL=false&allowPublicKeyRetrieval=true
|
||||
url: jdbc:mysql://localhost:3306/y9_public?serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&useUnicode=true&characterEncoding=utf-8&rewriteBatchedStatements=true&useCompression=true&useSSL=false&allowPublicKeyRetrieval=true
|
||||
username: root
|
||||
#driver-class-name: oracle.jdbc.OracleDriver
|
||||
#url: jdbc:oracle:thin:@127.0.0.1:1521:orcl
|
||||
|
@ -122,25 +122,25 @@ y9:
|
|||
systemName: code
|
||||
service:
|
||||
org:
|
||||
directUrl: http://test-api-internal.youshengyun.com
|
||||
directUrl: http://localhost:8080/org
|
||||
common:
|
||||
cacheEnabled: true
|
||||
kafkaEnabled: true
|
||||
orgBaseUrl: http://test-api-internal.youshengyun.com/platform
|
||||
y9DigitalBaseUrl: http://test-api-internal.youshengyun.com/y9DigitalBase
|
||||
userOnlineBaseUrl: http://test-api-internal.youshengyun.com/userOnline
|
||||
logBaseUrl: http://test-api-internal.youshengyun.com/log
|
||||
orgBaseUrl: http://localhost:8080/platform
|
||||
y9DigitalBaseUrl: http://localhost:8080/y9DigitalBase
|
||||
userOnlineBaseUrl: http://localhost:8080/userOnline
|
||||
logBaseUrl: http://localhost:8080/log
|
||||
feature:
|
||||
file:
|
||||
rest:
|
||||
fileManagerUrl: http://test-api-internal.youshengyun.com/fileManager
|
||||
fileManagerUrl: http://localhost:8080/fileManager
|
||||
base64FileName: false
|
||||
encryptionFileContent: false
|
||||
ftp:
|
||||
host: 192.168.3.31
|
||||
host: localhost
|
||||
port: 21
|
||||
username: y9admin
|
||||
password: '83204585'
|
||||
username: user
|
||||
password: password
|
||||
blockWhenExhausted: true
|
||||
bufferSize: 10240
|
||||
connectTimeOut: 50000
|
||||
|
@ -205,6 +205,6 @@ y9:
|
|||
#- 客户端密钥,由认证服务提供商分配
|
||||
client-secret: secret
|
||||
#- 认证服务器验证访问令牌有效性的路径
|
||||
introspection-uri: https://test.youshengyun.com/sso/oauth2.0/introspect
|
||||
introspection-uri: http://localhost:7055/sso/oauth2.0/introspect
|
||||
#- 认证服务器获取用户信息路径
|
||||
profile-uri: https://test.youshengyun.com/sso/oauth2.0/profile
|
||||
profile-uri: http://localhost:7055/sso/oauth2.0/profile
|
||||
|
|
|
@ -10,18 +10,18 @@ VUE_APP_MD_PATH = '/y9vue-code/public/'
|
|||
# 后端api接口域名
|
||||
VUE_APP_HOST = 'http://localhost:8080/code'
|
||||
# 后端platform工程的接口域名(主域 + 上下文)
|
||||
VUE_APP_PLATFORM = 'https://test-api.youshengyun.com/platform/'
|
||||
VUE_APP_PLATFORM = 'http://localhost:7055/platform/'
|
||||
# index页面
|
||||
VUE_APP_HOST_INDEX = 'http://localhost:8081/y9vue-code/'
|
||||
|
||||
# sso接口
|
||||
VUE_APP_SSO_DOMAINURL = 'https://test.youshengyun.com/'
|
||||
VUE_APP_SSO_DOMAINURL = 'http://localhost:7055/'
|
||||
# sso接口上下文
|
||||
VUE_APP_SSO_CONTEXT = 'sso'
|
||||
# sso授权码接口(必须带上主域名,方便调试,避免拼接出现问题)
|
||||
VUE_APP_SSO_AUTHORIZE_URL = 'https://test.youshengyun.com/sso/oauth2.0/authorize'
|
||||
VUE_APP_SSO_AUTHORIZE_URL = 'http://localhost:7055/sso/oauth2.0/authorize'
|
||||
# 退出URL,service的值,在这里可不带上(则由后端默认),也可带上(则由前端默认),可在退出时传入这个值给到单点登录插件
|
||||
VUE_APP_SSO_LOGOUT_URL = 'https://test.youshengyun.com/sso/logout?service=http://localhost:8081/'
|
||||
VUE_APP_SSO_LOGOUT_URL = 'http://localhost:7055/sso/logout?service=http://localhost:8081/'
|
||||
# 单点登录客户端唯一标示
|
||||
VUE_APP_SSO_CLIENT_ID = 'clientid'
|
||||
# 单点登录客户端密钥
|
||||
|
|
|
@ -6,25 +6,26 @@ VUE_APP_NAME = 'y9vue-code'
|
|||
# 公共资源路径
|
||||
VUE_APP_PUBLIC_PATH = '/y9vue-code/'
|
||||
# markdown 文件路径
|
||||
VUE_APP_MD_PATH = '/y9vue-code/'
|
||||
#后端api接口域名
|
||||
VUE_APP_HOST = 'https://demo-api.youshengyun.com/code/'
|
||||
VUE_APP_MD_PATH = '/y9vue-code/public/'
|
||||
# 后端api接口域名
|
||||
VUE_APP_HOST = 'http://localhost:8080/code'
|
||||
# 后端platform工程的接口域名(主域 + 上下文)
|
||||
VUE_APP_PLATFORM = 'http://localhost:7055/platform/'
|
||||
# index页面
|
||||
VUE_APP_HOST_INDEX = 'https://demo.youshengyun.com/y9vue-code/'
|
||||
|
||||
VUE_APP_HOST_INDEX = 'http://localhost:8081/y9vue-code/'
|
||||
|
||||
# sso接口
|
||||
VUE_APP_SSO_DOMAINURL = 'https://demo.youshengyun.com/'
|
||||
VUE_APP_SSO_DOMAINURL = 'http://localhost:7055/'
|
||||
# sso接口上下文
|
||||
VUE_APP_SSO_CONTEXT = 'sso'
|
||||
# sso授权码接口(必须带上主域名,方便调试,避免拼接出现问题)
|
||||
VUE_APP_SSO_AUTHORIZE_URL = 'https://demo.youshengyun.com/sso/oauth2.0/authorize'
|
||||
VUE_APP_SSO_AUTHORIZE_URL = 'http://localhost:7055/sso/oauth2.0/authorize'
|
||||
# 退出URL,service的值,在这里可不带上(则由后端默认),也可带上(则由前端默认),可在退出时传入这个值给到单点登录插件
|
||||
VUE_APP_SSO_LOGOUT_URL = 'https://demo.youshengyun.com/sso/logout?service=https://demo.youshengyun.com/'
|
||||
VUE_APP_SSO_LOGOUT_URL = 'http://localhost:7055/sso/logout?service=http://localhost:8081/'
|
||||
# 单点登录客户端唯一标示
|
||||
VUE_APP_SSO_CLIENT_ID = 'clientid-open'
|
||||
VUE_APP_SSO_CLIENT_ID = 'clientid'
|
||||
# 单点登录客户端密钥
|
||||
VUE_APP_SSO_SECRET = 'secret-open'
|
||||
VUE_APP_SSO_SECRET = 'secret'
|
||||
# sso接口的固定字段
|
||||
VUE_APP_SSO_GRANT_TYPE = 'authorization_code'
|
||||
# token 缓存到前端的key属性
|
||||
|
|
|
@ -1,26 +1,27 @@
|
|||
#运行环境
|
||||
NODE_ENV = 'production'
|
||||
NODE_ENV = 'test'
|
||||
|
||||
# 工程名
|
||||
VUE_APP_NAME = 'y9vue-code'
|
||||
# 公共资源路径
|
||||
VUE_APP_PUBLIC_PATH = '/y9vue-code/'
|
||||
# markdown 文件路径
|
||||
VUE_APP_MD_PATH = '/y9vue-code/'
|
||||
#后端api接口域名
|
||||
VUE_APP_HOST = 'https://test-api.youshengyun.com/code/'
|
||||
VUE_APP_MD_PATH = '/y9vue-code/public/'
|
||||
# 后端api接口域名
|
||||
VUE_APP_HOST = 'http://localhost:8080/code'
|
||||
# 后端platform工程的接口域名(主域 + 上下文)
|
||||
VUE_APP_PLATFORM = 'http://localhost:7055/platform/'
|
||||
# index页面
|
||||
VUE_APP_HOST_INDEX = 'https://test.youshengyun.com/y9vue-code/'
|
||||
|
||||
VUE_APP_HOST_INDEX = 'http://localhost:8081/y9vue-code/'
|
||||
|
||||
# sso接口
|
||||
VUE_APP_SSO_DOMAINURL = 'https://test.youshengyun.com/'
|
||||
VUE_APP_SSO_DOMAINURL = 'http://localhost:7055/'
|
||||
# sso接口上下文
|
||||
VUE_APP_SSO_CONTEXT = 'sso'
|
||||
# sso授权码接口(必须带上主域名,方便调试,避免拼接出现问题)
|
||||
VUE_APP_SSO_AUTHORIZE_URL = 'https://test.youshengyun.com/sso/oauth2.0/authorize'
|
||||
VUE_APP_SSO_AUTHORIZE_URL = 'http://localhost:7055/sso/oauth2.0/authorize'
|
||||
# 退出URL,service的值,在这里可不带上(则由后端默认),也可带上(则由前端默认),可在退出时传入这个值给到单点登录插件
|
||||
VUE_APP_SSO_LOGOUT_URL = 'https://test.youshengyun.com/sso/logout?service=https://test.youshengyun.com/'
|
||||
VUE_APP_SSO_LOGOUT_URL = 'http://localhost:7055/sso/logout?service=http://localhost:8081/'
|
||||
# 单点登录客户端唯一标示
|
||||
VUE_APP_SSO_CLIENT_ID = 'clientid'
|
||||
# 单点登录客户端密钥
|
||||
|
|
|
@ -27,6 +27,7 @@ declare global {
|
|||
const EffectScope: typeof import('vue')['EffectScope']
|
||||
const ElMessage: typeof import('element-plus/es')['ElMessage']
|
||||
const ElMessageBox: typeof import('element-plus/es')['ElMessageBox']
|
||||
const ElNotification: typeof import('element-plus/es')['ElNotification']
|
||||
const extendRef: typeof import('@vueuse/core')['extendRef']
|
||||
const getActivePinia: typeof import('pinia')['getActivePinia']
|
||||
const getCurrentInstance: typeof import('vue')['getCurrentInstance']
|
||||
|
|
|
@ -36,6 +36,8 @@ declare module 'vue' {
|
|||
ElTableColumn: typeof import('element-plus/es')['ElTableColumn']
|
||||
ElTabPane: typeof import('element-plus/es')['ElTabPane']
|
||||
ElTabs: typeof import('element-plus/es')['ElTabs']
|
||||
ElTag: typeof import('element-plus/es')['ElTag']
|
||||
ElUpload: typeof import('element-plus/es')['ElUpload']
|
||||
FieldForm: typeof import('./src/components/dialog/fieldForm.vue')['default']
|
||||
FixedTreeModule: typeof import('./src/components/pageModule/fixedTreeModule.vue')['default']
|
||||
IndexForm: typeof import('./src/components/dialog/indexForm.vue')['default']
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue