Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
aserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
15所TongWeb
aserver
Commits
9d0d0d07
Commit
9d0d0d07
authored
Nov 11, 2021
by
dongchaoguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加配置的数据库语句
parent
d4541739
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
11 deletions
+28
-11
.classpath
.classpath
+1
-1
SettingController.java
...ava/com/archser/aserver/controller/SettingController.java
+1
-1
AppConfig-pro.properties
src/main/resources/AppConfig-pro.properties
+9
-8
DM_UpdateSQL.xml
src/main/resources/DBUpdate/DM_UpdateSQL.xml
+17
-1
No files found.
.classpath
View file @
9d0d0d07
...
...
@@ -18,7 +18,7 @@
<attribute
name=
"maven.pomderived"
value=
"true"
/>
</attributes>
</classpathentry>
<classpathentry
kind=
"con"
path=
"org.eclipse.jdt.launching.JRE_CONTAINER"
>
<classpathentry
kind=
"con"
path=
"org.eclipse.jdt.launching.JRE_CONTAINER
/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8
"
>
<attributes>
<attribute
name=
"maven.pomderived"
value=
"true"
/>
</attributes>
...
...
src/main/java/com/archser/aserver/controller/SettingController.java
View file @
9d0d0d07
...
...
@@ -97,7 +97,7 @@ public class SettingController extends Controller {
val
=
this
.
getConfig
(
"sso"
);
val2
=
this
.
getConfig
(
"ssotwo"
);
listenprot
=
this
.
getConfig
(
"listenprot"
);
val
=
"http://127.0.0.1:11028
"
;
// val="http://127.0.0.1:11028/jc_sqjz/dzjz/aserver
";
}
catch
(
Exception
e
)
{
this
.
renderJson
(
Ret
.
fail
(
"msg"
,
e
.
getMessage
()));
}
...
...
src/main/resources/AppConfig-pro.properties
View file @
9d0d0d07
...
...
@@ -24,10 +24,10 @@ devMode=true
#\u8FBE\u68A6\u6570\u636E\u5E93
dbType
=
DM
jdbc.url
=
jdbc:dm://
39.104.174.12
:5236
jdbc.url
=
jdbc:dm://
127.0.0.1
:5236
jdbc.driver
=
dm.jdbc.driver.DmDriver
jdbc.username
=
archser
jdbc.password
=
archser_
szdasys
jdbc.username
=
archser
_testuser1
jdbc.password
=
archser_
testuser1
#\u795E\u901A\u6570\u636E\u5E93
#dbType=ST
...
...
@@ -44,14 +44,15 @@ MiddlewareType=dev
# redis \u5355\u5B9E\u4F8B
#redis.url=192.168.31.151:26379,192.168.31.154:26379,192.168.31.157:26379
redis.url
=
192.168.31.100
redis.url
=
39.104.28.145
redis.port
=
6379
redis.password
=
archser_redis
redisSentinel.CacheName
=
redisSentinel
redisSentinel.masterName
=
mymaster
#\u5355\u70B9\u767B\u9646\u5730\u5740
basic.url
=
http://39.104.21.218:11038
#basic.url=http://39.104.62.15:11038
basic.url
=
http://127.0.0.1:11038
## \u662F\u5426\u540C\u6B65Redis\u4E2D\u7684\u6570\u636E
updateRedis
=
true
...
...
@@ -59,11 +60,11 @@ updateRedis=true
SharedDisk
=
D:
\\
workspace
\\
fserver_folder
\\
SharedDisk
#ip\u767D\u540D\u5355\uFF0C\u914D\u7F6E\u672C\u673A\u5730\u5740
MyIpAddress
=
127.0.0.1,0:0:0:0:0:0:0:1
MyIpAddress
=
127.0.0.1,0:0:0:0:0:0:0:1
,39.104.62.15
#activemq
#activemq.brokerURL=failover://(tcp://192.168.31.151:61616,tcp://192.168.31.154:61616,tcp://192.168.31.157:61616)
activemq.brokerURL
=
tcp://39.104.
21.218
:61616
activemq.brokerURL
=
tcp://39.104.
93.36
:61616
# --- \u6D88\u606F\u4E2D\u5FC3websocket\u914D\u7F6E ---
## \u5B9A\u65F6\u53D1\u9001\u6D88\u606F\u7684\u5468\u671F \u5355\u4F4D\u6BEB\u79D2
...
...
@@ -156,7 +157,7 @@ FserverName=fserver
#Elasticsearch\u670D\u52A1\u5668\u8BBE\u7F6E
#es.host=192.168.31.151:9200,192.168.31.154:9200,192.168.31.157:9200
es.host
=
39.104.
21.218
es.host
=
39.104.
93.36
es.port
=
9200
es.http
=
http
es.user
=
es
...
...
src/main/resources/DBUpdate/DM_UpdateSQL.xml
View file @
9d0d0d07
...
...
@@ -3242,5 +3242,20 @@
;
</sql>
</version>
<version
edition=
"167"
description=
"卷宗目录配置表"
>
<sql
creator=
"dong"
createDate=
"20211109"
note=
"卷宗目录配置表"
>
create table "AS_CLASSFIED"(
"ID" NUMBER(32,0) NOT NULL ,
"NAME" VARCHAR2(100),
"LIBID" NUMBER(32,0),
"PID" NUMBER(32,0),
"DESCRIPTION" VARCHAR2(255),
PRIMARY KEY("ID")
);
CREATE SEQUENCE
"SEQ_AS_CLASSFIED" INCREMENT BY 1 START WITH 100 MAXVALUE
9999999999999999 MINVALUE 1 CACHE 20;
</sql>
</version>
</update>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment