Toggle navigation
Toggle navigation
This project
Loading...
Sign in
zyn
/
cjs-cms
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
wangbeiyong@zhaoonline.com
2019-02-26 11:09:29 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6433e573dcb84b94a779779263da61e0a0459d92
6433e573
1 parent
508ba5bb
嗯
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
33 additions
and
16 deletions
.idea/libraries/chinapnr.xml
src/main/java/com/cjs/cms/util/web/DesUtil.java
src/main/resources/config/test/config.properties
src/main/resources/log4j.properties
src/main/resources/spring/spring-redis.xml
src/main/resources/t2sdk-config.xml
.idea/libraries/chinapnr.xml
0 → 100644
View file @
6433e57
<component
name=
"libraryTable"
>
<library
name=
"chinapnr"
>
<CLASSES>
<root
url=
"jar://$PROJECT_DIR$/src/main/webapp/WEB-INF/lib/chinapnr.jar!/"
/>
<root
url=
"jar://$PROJECT_DIR$/src/main/webapp/WEB-INF/lib/com.hundsun.amqp.message-hs-1.0.0.jar!/"
/>
<root
url=
"jar://$PROJECT_DIR$/src/main/webapp/WEB-INF/lib/com.hundsun.mcsdk-hs-1.1.2.jar!/"
/>
<root
url=
"jar://$PROJECT_DIR$/src/main/webapp/WEB-INF/lib/com.hundsun.t2sdk-hs-1.1.13.jar!/"
/>
<root
url=
"jar://$PROJECT_DIR$/src/main/webapp/WEB-INF/lib/commons-codec-1.4.jar!/"
/>
<root
url=
"jar://$PROJECT_DIR$/src/main/webapp/WEB-INF/lib/jzsms-6.0.jar!/"
/>
<root
url=
"jar://$PROJECT_DIR$/src/main/webapp/WEB-INF/lib/kaptcha-2.3.2.jar!/"
/>
<root
url=
"jar://$PROJECT_DIR$/src/main/webapp/WEB-INF/lib/ojdbc-14.jar!/"
/>
<root
url=
"jar://$PROJECT_DIR$/src/main/webapp/WEB-INF/lib/xml-apis-1.3.02.jar!/"
/>
</CLASSES>
<JAVADOC
/>
<SOURCES
/>
</library>
</component>
\ No newline at end of file
src/main/java/com/cjs/cms/util/web/DesUtil.java
View file @
6433e57
...
...
@@ -25,7 +25,7 @@ public class DesUtil {
public
static
final
String
KEY
=
"ZHAOYN_WEB_UP"
;
public
static
void
main
(
String
[]
args
)
throws
Exception
{
String
data
=
"z
haoyongniu
"
;
String
data
=
"z
yzx3344134
"
;
String
key
=
"ZHAOYN_WEB_UP"
;
System
.
err
.
println
(
encrypt
(
data
,
key
));
System
.
err
.
println
(
decrypt
(
encrypt
(
data
,
key
),
key
));
...
...
src/main/resources/config/test/config.properties
View file @
6433e57
#jdbc
jdbc.driverClassName
=
com.mysql.jdbc.Driver
jdbc.url
=
jdbc:mysql://1
06.75.215.32
:3306/cjs_cms?characterEncoding=utf-8
jdbc.url
=
jdbc:mysql://1
92.168.0.48
:3306/cjs_cms?characterEncoding=utf-8
jdbc.username
=
XWEbfFkuAno=
jdbc.password
=
JmQe1xSrluneOrif38sDEA=
=
jdbc.password
=
XWEbfFkuAno
=
jdbc.oracle.driverClassName
=
oracle.jdbc.driver.OracleDriver
jdbc.oracle.url
=
jdbc:oracle:thin:@192.168.
10.180:1521:zyzx
jdbc.oracle.username
=
pgAyGRB1QNY
=
jdbc.oracle.password
=
pgAyGRB1QNY
=
jdbc.oracle.url
=
jdbc:oracle:thin:@192.168.
0.183:1521:zyzxdb
jdbc.oracle.username
=
UbNSl8XYoJ3kTRbLv/76GA=
=
jdbc.oracle.password
=
NBPUmpUT+t4Oa4v+FTD8QA=
=
message.username
=
sdk_zynybk
message.password
=
zhaoyn@123
upload.article
=
/home/cjs/upload/image/
...
...
@@ -14,7 +14,8 @@ article.url=http://192.168.10.186:28080/
html.location
=
/home/cjs/upload/html/
host
=
http://192.168.10.186:28080/
download.export
=
/home/cjs/upload/export/
redis.host
=
192.168.10.186
redis.host
=
192.168.0.188
redis.port
=
6377
pnr.operId
=
510816
pnr.pbKey
=
PgPubk_test.key
pnr.urlhead
=
http://test.chinapnr.com/
...
...
@@ -29,5 +30,5 @@ zhaoonline.clientId=zhao_niu
zhaoonline.host
=
http://zhaom3.services.zhao-cloud.com
#ElasticSearch
es.host
=
192.168.
10.186
es.host
=
192.168.
0.77
es.port
=
9300
\ No newline at end of file
...
...
src/main/resources/log4j.properties
View file @
6433e57
log4j.rootLogger
=
info, stdout
log4j.logger.java.sql
=
info
log4j.logger.org.apache.ibatis
=
info
log4j.logger.org.springframework.web
=
INFO
log4j.logger.com.
mchange.v2
=
INFO
log4j.logger.java.sql
=
ERROR
log4j.logger.org.apache.ibatis
=
ERROR
log4j.logger.org.springframework.web
=
ERROR
log4j.logger.com.
atomikos.jdbc
=
ERROR
log4j.logger.com.atomikos
=
ERROR
log4j.appender.stdout
=
org.apache.log4j.ConsoleAppender
...
...
src/main/resources/spring/spring-redis.xml
View file @
6433e57
...
...
@@ -14,7 +14,7 @@
<bean
id=
"jedisConnectionFactory"
class=
"org.springframework.data.redis.connection.jedis.JedisConnectionFactory"
>
<property
name=
"hostName"
value=
"${redis.host}"
/>
<property
name=
"port"
value=
"
6379
"
/>
<property
name=
"port"
value=
"
${redis.port}
"
/>
<property
name=
"poolConfig"
ref=
"jedisPoolConfig"
/>
</bean>
...
...
src/main/resources/t2sdk-config.xml
View file @
6433e57
...
...
@@ -7,9 +7,8 @@
<parent
parentName=
"myserver"
safeLevel=
"NONE"
>
<limit
licenseFile=
"classpath:client_license.dat"
encrypt=
"HSBlowfish"
/>
<members>
<member
no=
"5"
address=
"192.168.10.180"
port=
"9111"
charset=
"gbk"
poolSize=
"1"
/>
<!-- <member no="5" address="116.236.187.2" port="9111" charset="gbk" poolSize="1" />
<member no="5" address="10.4.24.213" port="9111" charset="gbk" poolSize="1" /> -->
<!-- <member no="5" address="218.1.30.178" port="9111" charset="gbk" poolSize="1" /> -->
<member
no=
"5"
address=
"10.4.89.235"
port=
"9111"
charset=
"gbk"
poolSize=
"1"
/>
</members>
</parent>
</parents>
...
...
Please
register
or
login
to post a comment