Authored by mali

platform工程拆分

Showing 45 changed files with 4220 additions and 0 deletions
.idea/
web/target/
*.iml
... ...
@echo off
cd ..
echo %~dp0
echo Start to execute command
mvn clean&mvn eclipse:clean&pause
\ No newline at end of file
... ...
@echo off
cd ..
mvn -Dwtpversion=2.0 eclipse:eclipse&pause
\ No newline at end of file
... ...
@echo off
cd ..
mvn package -e -Dmaven.test.skip=true&pause
\ No newline at end of file
... ...
#!/bin/bash
################################################################
#@Authro Lijian
#@Date 2011-06-08
################################################################
cd ..
/usr/local/maven/bin/mvn clean
/usr/local/maven/bin/mvn eclipse:clean
/usr/local/maven/bin/mvn package -U -Dmaven.test.skip=true -Dautoconfig.userProperties=$1 -Dautoconfig.sharedProperties=$2
... ...
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<artifactId>yohobuy-platform-maketing</artifactId>
<groupId>com.yoho.dsf</groupId>
<version>1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>com.yoho.dsf.yhplatform</groupId>
<artifactId>platform-maketing-deploy</artifactId>
<name>platform-maketing-deploy</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>
<build>
<finalName>platform-maketing</finalName>
<plugins>
<plugin>
<groupId>com.yoho.tools</groupId>
<artifactId>maven-autoconfig-plugin</artifactId>
<version>1.0.0-SNAPSHOT</version>
<configuration>
<exploding>false</exploding>
<dest>${basedir}/src/main</dest>
<type>Directory</type>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>autoconfig</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
<descriptor>src/main/assembly/assembly.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<configuration>
<tasks>
<unzip src="target/platform-maketing.zip" dest="target" />
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
... ...
<?xml version="1.0" encoding="UTF-8"?>
<config>
<group>
<property name="yohobuy.pfmaketing.env.webapphome" defaultValue="/home/master/platform-maketing/deploy" description="应用根目录"/>
<property name="yohobuy.pfmaketing.env.namespace" defaultValue="pfmaketing" description="应用命名空间"/>
<property name="yohobuy.pfmaketing.env.serverport" defaultValue="1" description="应用端口"/>
</group>
<script>
<generate template="META-INF/autoconf/bin/env.sh" destfile="bin/env.sh"/>
<generate template="META-INF/autoconf/bin/env.bat" destfile="bin/env.bat"/>
<generate template="META-INF/autoconf/conf/tomcat/server.xml" destfile="conf/tomcat/server.xml"/>
</script>
</config>
... ...
set JAVA_MEM_OPT= -Xms1024m -Xmx1024m -XX:MaxPermSize=128m -Djava.net.preferIPv4Stack=true
set JAVA_HOME=${yoho.env.javahome}
set WEB_APP_HOME=${yohobuy.pfmaketing.env.webapphome}
#if("${yoho.env.servertype}"=="jboss")
set JBOSS_HOME=${yoho.env.serverhome}
set JBOSS_BASE_DIR=${yohobuy.pfmaketing.env.webapphome}/jboss_server
set JBOSS_SERVER_BASE_DIR= -Djboss.server.base.dir=%JBOSS_BASE_DIR%
#end
#if("${yoho.env.servertype}"=="tomcat")
set CATALINA_HOME=${yoho.env.serverhome}
set CATALINA_BASE=${yohobuy.pfmaketing.env.webapphome}/tomcat_server
#end
rem set JAVA_DEBUG_OPT= -server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8082,server=y,suspend=n
rem SET JMX_FILE_ACL="%WEB_APP_HOME%\conf\jmx\*.properties"
rem CACLS %JMX_FILE_ACL% /t /c /p %USERNAME%:f
rem SET TIGER_JMX_OPT= -Dcom.sun.management.config.file=%WEB_APP_HOME%\conf\jmx\jmx_monitor_management.properties
rem SET JAVA_OPTS=%JAVA_OPTS% %TIGER_JMX_OPT%
... ...
#!/bin/bash
################################################################
#@Authro Lijian
#@Date 2007-05-24
################################################################
BASE_BIN_DIR=`dirname $0`
. $BASE_BIN_DIR/functions.sh
export JAVA_HOME=${yoho.env.javahome}
export WEB_APP_HOME=${yohobuy.pfmaketing.env.webapphome}
export SERVER_PORT=${yohobuy.pfmaketing.env.serverport}
export PRODUCTION_MODE="${yoho.env.productmode}"
export SERVER_HOME=${yoho.env.serverhome}
export SERVER_TYPE=${yoho.env.servertype}
export SERVER_NAMESPACE=${yohobuy.pfmaketing.env.namespace}
export GW_URL=${Gateway_URL}
export JACOCO_HOME=/Data/local/jacoco
export SERVER_GC_LOGS=/Data/logs/pfmaketing/
#if("${yoho.env.servertype}"=="jboss")
export SERVER_BASE_DIR=" -Djboss.server.base.dir=${yohobuy.pfmaketing.env.webapphome}/.jboss/default "
#end
#if("${yoho.env.servertype}"=="tomcat")
export SERVER_BASE_DIR=" -Dcatalina.base=${yohobuy.pfmaketing.env.webapphome}/.tomcat "
#end
export NAMING_PORT=`expr 9000 + $SERVER_PORT`
export HTTP_SERVER_PORT=`expr 8100 + $SERVER_PORT`
export CHECK_SERVER_STARTUP_URL="http://127.0.0.1:$HTTP_SERVER_PORT/$SERVER_NAMESPACE/common/ok.jsp"
export STARTUP_SUCCESS_MSG="Server Online Resources ok"
export JAVA_OPTS=" -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true "
export JAVA_DEBUG_OPT=" -server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=,server=y,suspend=n "
export TIGER_JMX_OPT=" -Dcom.sun.management.config.file=$WEB_APP_HOME/conf/jmx/jmx_monitor_management.properties "
#jmx
export JMX_PORT=`expr 9600 + $SERVER_PORT`
export LOCAL_IP=`/sbin/ifconfig -a|grep inet|grep -v 127.0.0.1|grep -v inet6|awk '{print $2}'|tr -d "addr:"|awk 'NR==1 {print}'`
export CATALINA_OPTS="$CATALINA_OPTS -Djava.rmi.server.hostname=$LOCAL_IP -Dcom.sun.management.jmxremote.port=$JMX_PORT -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false"
if [ -d $JACOCO_HOME ]; then
export CATALINA_OPTS="-javaagent:$JACOCO_HOME/lib/jacocoagent.jar=includes=com.yoho.*:com.yohobuy.*,output=tcpserver,port=8893,address=* $CATALINA_OPTS"
fi
if [ ! -e $SERVER_GC_LOGS ]; then
mkdir -p $SERVER_GC_LOGS
fi
if [ ! -e $JAVA_HOME ]; then
failed "********************************************************************"
failed "**Error: JAVA_HOME $JAVA_HOME not exist"
failed "********************************************************************"
exit 1
fi
if [ ! -e $SERVER_HOME ]; then
failed "********************************************************************"
failed "**Error: SERVER_HOME $SERVER_HOME not exist."
failed "********************************************************************"
exit 1
fi
#========end enviroment var define
################################################################
if [ $PRODUCTION_MODE = "PRODUCT" ]; then
#after the environment of online is all 64-bit,the below if and else judgement can be delete
str=`file $JAVA_HOME/bin/java | grep 64-bit`
if [ -n "$str" ]; then
let memTotal=`cat /proc/meminfo |grep MemTotal|awk '{printf "%d", $2/1024 }'`
if [ $memTotal -gt 10000 ];then
JAVA_MEM_OPTS=" -XX:+UseG1GC -Xmx4G -XX:MaxGCPauseMillis=100 -Xloggc:$SERVER_GC_LOGS/gc.log -XX:+PrintGCDetails -XX:+PrintGCDateStamps "
else
JAVA_MEM_OPTS=" -server -Xmx1g -Xms1g -Xmn256m -XX:PermSize=128m -Xss256k -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:+UseCMSCompactAtFullCollection -XX:LargePageSizeInBytes=64m -XX:+UseFastAccessorMethods -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=70 "
fi
else
JAVA_MEM_OPTS=" -server -Xms1024m -Xmx1024m -XX:PermSize=128m -XX:SurvivorRatio=2 -XX:+UseParallelGC "
fi
JAVA_OPTS=" $JAVA_OPTS $JAVA_MEM_OPTS "
elif [ $PRODUCTION_MODE = "TEST" ]; then
JAVA_MEM_OPTS=" -server -Xms1024m -Xmx1024m -XX:MaxPermSize=128m -XX:SurvivorRatio=2 -XX:+UseParallelGC "
JAVA_OPTS=" $JAVA_OPTS $JAVA_MEM_OPTS "
elif [ $PRODUCTION_MODE = "DEV" ]; then
#we shuold reduce resource usage on developing mode
JAVA_MEM_OPTS=" -server -Xms64m -Xmx1024m -XX:MaxPermSize=128m "
JAVA_OPTS=" $JAVA_OPTS $JAVA_MEM_OPTS $JAVA_DEBUG_OPT "
else
failed "********************************************************************"
failed "**Error: \$PRODUCTION_MODE should be only: run, test, dev"
failed "********************************************************************"
exit 1
fi
JAVA_OPTS=" $JAVA_OPTS $SERVER_BASE_DIR "
... ...
<?xml version="1.0" encoding="GB2312"?>
<application>
<display-name>platform-maketing</display-name>
<description>platform-maketing</description>
<module>
<web>
<web-uri>platform-maketing.war</web-uri>
<context-root>${yohobuy.pfmaketing.env.namespace}</context-root>
</web>
</module>
</application>
... ...
<?xml version='1.0' encoding='utf-8'?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- Note: A "Server" is not itself a "Container", so you may not
define subcomponents such as "Valves" at this level.
Documentation at /docs/config/server.html
-->
<Server port="812${yohobuy.pfmaketing.env.serverport}" shutdown="SHUTDOWN">
<Listener className="org.apache.catalina.startup.VersionLoggerListener" />
<!-- Security listener. Documentation at /docs/config/listeners.html
<Listener className="org.apache.catalina.security.SecurityListener" />
-->
<!--APR library loader. Documentation at /docs/apr.html -->
<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
<!-- Prevent memory leaks due to use of particular java/javax APIs-->
<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
<Listener className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" />
<!-- Global JNDI resources
Documentation at /docs/jndi-resources-howto.html
-->
<GlobalNamingResources>
<!-- Editable user database that can also be used by
UserDatabaseRealm to authenticate users
-->
<Resource name="UserDatabase" auth="Container"
type="org.apache.catalina.UserDatabase"
description="User database that can be updated and saved"
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
pathname="conf/tomcat-users.xml" cachingAllowed="true" cacheMaxSize="100000"/>
</GlobalNamingResources>
<!-- A "Service" is a collection of one or more "Connectors" that share
a single "Container" Note: A "Service" is not itself a "Container",
so you may not define subcomponents such as "Valves" at this level.
Documentation at /docs/config/service.html
-->
<Service name="Catalina">
<!--The connectors can use a shared executor, you can define one or more named thread pools-->
<!--
<Executor name="tomcatThreadPool" namePrefix="catalina-exec-"
maxThreads="150" minSpareThreads="4"/>
-->
<!-- A "Connector" represents an endpoint by which requests are received
and responses are returned. Documentation at :
Java HTTP Connector: /docs/config/http.html (blocking & non-blocking)
Java AJP Connector: /docs/config/ajp.html
APR (HTTP/AJP) Connector: /docs/apr.html
Define a non-SSL/TLS HTTP/1.1 Connector on port 8080
-->
<Connector port="810${yohobuy.pfmaketing.env.serverport}" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
<!-- A "Connector" using the shared thread pool-->
<!--
<Connector executor="tomcatThreadPool"
port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
-->
<!-- Define a SSL/TLS HTTP/1.1 Connector on port 8443
This connector uses the NIO implementation that requires the JSSE
style configuration. When using the APR/native implementation, the
OpenSSL style configuration is required as described in the APR/native
documentation -->
<!--
<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" />
-->
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="800${yohobuy.pfmaketing.env.serverport}" protocol="AJP/1.3" redirectPort="8443" />
<!-- An Engine represents the entry point (within Catalina) that processes
every request. The Engine implementation for Tomcat stand alone
analyzes the HTTP headers included with the request, and passes them
on to the appropriate Host (virtual host).
Documentation at /docs/config/engine.html -->
<!-- You should set jvmRoute to support load-balancing via AJP ie :
<Engine name="Catalina" defaultHost="localhost" jvmRoute="jvm1">
-->
<Engine name="Catalina" defaultHost="localhost">
<!--For clustering, please take a look at documentation at:
/docs/cluster-howto.html (simple how to)
/docs/config/cluster.html (reference documentation) -->
<!--
<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>
-->
<!-- Use the LockOutRealm to prevent attempts to guess user passwords
via a brute-force attack -->
<Realm className="org.apache.catalina.realm.LockOutRealm">
<!-- This Realm uses the UserDatabase configured in the global JNDI
resources under the key "UserDatabase". Any edits
that are performed against this UserDatabase are immediately
available for use by the Realm. -->
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase"/>
</Realm>
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true">
<!-- SingleSignOn valve, share authentication between web applications
Documentation at: /docs/config/valve.html -->
<!--
<Valve className="org.apache.catalina.authenticator.SingleSignOn" />
-->
<!-- Access log processes all example.
Documentation at: /docs/config/valve.html
Note: The pattern used is equivalent to using pattern="common" -->
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log" suffix=".txt"
pattern="%h %l %u %t &quot;%r&quot; %s %b" />
</Host>
</Engine>
</Service>
</Server>
... ...
<?xml version="1.0" encoding="GBK"?>
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1">
<id></id>
<baseDirectory></baseDirectory>
<formats>
<format>zip</format>
</formats>
<fileSets>
<fileSet>
<directory>src/main</directory>
<outputDirectory></outputDirectory>
<includes>
<include>bin/**</include>
</includes>
</fileSet>
<fileSet>
<directory>src/main</directory>
<outputDirectory></outputDirectory>
<includes>
<include>conf/**</include>
</includes>
</fileSet>
<fileSet>
<directory>../web/target</directory>
<outputDirectory></outputDirectory>
<includes>
<include>${project-name}-web.war</include>
</includes>
</fileSet>
</fileSets>
</assembly>
\ No newline at end of file
... ...
set JAVA_MEM_OPT= -Xms1024m -Xmx1024m -XX:MaxPermSize=128m -Djava.net.preferIPv4Stack=true
set JAVA_HOME=$yoho.env.javahome
set WEB_APP_HOME=/home/master/platform-maketing/deploy
rem set JAVA_DEBUG_OPT= -server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8082,server=y,suspend=n
rem SET JMX_FILE_ACL="%WEB_APP_HOME%\conf\jmx\*.properties"
rem CACLS %JMX_FILE_ACL% /t /c /p %USERNAME%:f
rem SET TIGER_JMX_OPT= -Dcom.sun.management.config.file=%WEB_APP_HOME%\conf\jmx\jmx_monitor_management.properties
rem SET JAVA_OPTS=%JAVA_OPTS% %TIGER_JMX_OPT%
... ...
#!/bin/bash
#@Authro Lijian
#@Date 2007-05-24
BASE_BIN_DIR=`dirname $0`
. $BASE_BIN_DIR/functions.sh
export JAVA_HOME=$yoho.env.javahome
export WEB_APP_HOME=/home/master/platform-maketing/deploy
export SERVER_PORT=0
export PRODUCTION_MODE="$yoho.env.productmode"
export SERVER_HOME=$yoho.env.serverhome
export SERVER_TYPE=$yoho.env.servertype
export SERVER_NAMESPACE=pfmaketing
export GW_URL=$Gateway_URL
export JACOCO_HOME=/Data/local/jacoco
export SERVER_GC_LOGS=/Data/logs/pfmaketing/
export NAMING_PORT=`expr 9000 + $SERVER_PORT`
export HTTP_SERVER_PORT=`expr 8100 + $SERVER_PORT`
export CHECK_SERVER_STARTUP_URL="http://127.0.0.1:$HTTP_SERVER_PORT/$SERVER_NAMESPACE/common/ok.jsp"
export STARTUP_SUCCESS_MSG="Server Online Resources ok"
export JAVA_OPTS=" -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true "
export JAVA_DEBUG_OPT=" -server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=,server=y,suspend=n "
export TIGER_JMX_OPT=" -Dcom.sun.management.config.file=$WEB_APP_HOME/conf/jmx/jmx_monitor_management.properties "
#jmx
export JMX_PORT=`expr 9600 + $SERVER_PORT`
export LOCAL_IP=`/sbin/ifconfig -a|grep inet|grep -v 127.0.0.1|grep -v inet6|awk '{print $2}'|tr -d "addr:"|awk 'NR==1 {print}'`
export CATALINA_OPTS="$CATALINA_OPTS -Djava.rmi.server.hostname=$LOCAL_IP -Dcom.sun.management.jmxremote.port=$JMX_PORT -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false"
if [ -d $JACOCO_HOME ]; then
export CATALINA_OPTS="-javaagent:$JACOCO_HOME/lib/jacocoagent.jar=includes=com.yoho.*:com.yohobuy.*,output=tcpserver,port=8893,address=* $CATALINA_OPTS"
fi
if [ ! -e $SERVER_GC_LOGS ]; then
mkdir -p $SERVER_GC_LOGS
fi
if [ ! -e $JAVA_HOME ]; then
failed "********************************************************************"
failed "**Error: JAVA_HOME $JAVA_HOME not exist"
failed "********************************************************************"
exit 1
fi
if [ ! -e $SERVER_HOME ]; then
failed "********************************************************************"
failed "**Error: SERVER_HOME $SERVER_HOME not exist."
failed "********************************************************************"
exit 1
fi
#========end enviroment var define
if [ $PRODUCTION_MODE = "PRODUCT" ]; then
#after the environment of online is all 64-bit,the below if and else judgement can be delete
str=`file $JAVA_HOME/bin/java | grep 64-bit`
if [ -n "$str" ]; then
let memTotal=`cat /proc/meminfo |grep MemTotal|awk '{printf "%d", $2/1024 }'`
if [ $memTotal -gt 10000 ];then
JAVA_MEM_OPTS=" -XX:+UseG1GC -Xmx4G -XX:MaxGCPauseMillis=100 -Xloggc:$SERVER_GC_LOGS/gc.log -XX:+PrintGCDetails -XX:+PrintGCDateStamps "
else
JAVA_MEM_OPTS=" -server -Xmx1g -Xms1g -Xmn256m -XX:PermSize=128m -Xss256k -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:+UseCMSCompactAtFullCollection -XX:LargePageSizeInBytes=64m -XX:+UseFastAccessorMethods -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=70 "
fi
else
JAVA_MEM_OPTS=" -server -Xms1024m -Xmx1024m -XX:PermSize=128m -XX:SurvivorRatio=2 -XX:+UseParallelGC "
fi
JAVA_OPTS=" $JAVA_OPTS $JAVA_MEM_OPTS "
elif [ $PRODUCTION_MODE = "TEST" ]; then
JAVA_MEM_OPTS=" -server -Xms1024m -Xmx1024m -XX:MaxPermSize=128m -XX:SurvivorRatio=2 -XX:+UseParallelGC "
JAVA_OPTS=" $JAVA_OPTS $JAVA_MEM_OPTS "
elif [ $PRODUCTION_MODE = "DEV" ]; then
#we shuold reduce resource usage on developing mode
JAVA_MEM_OPTS=" -server -Xms64m -Xmx1024m -XX:MaxPermSize=128m "
JAVA_OPTS=" $JAVA_OPTS $JAVA_MEM_OPTS $JAVA_DEBUG_OPT "
else
failed "********************************************************************"
failed "**Error: \$PRODUCTION_MODE should be only: run, test, dev"
failed "********************************************************************"
exit 1
fi
JAVA_OPTS=" $JAVA_OPTS $SERVER_BASE_DIR "
... ...
#!/bin/bash
################################################################
#@Authro Lijian
#@Date 2007-05-24
#@Description:
# the script is on top level
# check if root run the script
################################################################
#if [ `id -u` = 0 ]
#then
# echo "****************************************************"
# echo "*Error: root (the superuser) can't run this script.*"
# echo "****************************************************"
# exit 1
#fi
cygwin=false
case "`uname`" in
CYGWIN*)
cygwin=true
;;
esac
if [ $cygwin = true ]
then
echo "****************************************************"
echo "*Error: Cygwin shell can't run this script.*********"
echo "****************************************************"
exit 1
fi
if [ -f /etc/sysconfig/init ]; then
. /etc/sysconfig/init
else
SETCOLOR_SUCCESS=
SETCOLOR_FAILURE=
SETCOLOR_WARNING=
SETCOLOR_NORMAL=
fi
success () {
if [ "$BOOTUP" = "color" ]; then
$SETCOLOR_SUCCESS
if [ -z "$*" ]; then
echo "ok"
else
echo -e "$*"
fi
$SETCOLOR_NORMAL
else
if [ -z "$*" ]; then
echo "ok"
else
echo -e "$*"
fi
fi
return
}
failed () {
if [ "$BOOTUP" = "color" ]; then
$SETCOLOR_FAILURE
if [ -z "$*" ]; then
echo "failed"
else
echo -e "$*"
fi
$SETCOLOR_NORMAL
else
if [ -z "$*" ]; then
echo "failed"
else
echo -e "$*"
fi
fi
return
}
warning () {
if [ "$BOOTUP" = "color" ]; then
$SETCOLOR_WARNING
if [ -z "$*" ]; then
echo "warning"
else
echo -e "$*"
fi
$SETCOLOR_NORMAL
else
if [ -z "$*" ]; then
echo "warning"
else
echo -e "$*"
fi
fi
return
}
remove_ipcs () {
pid=$*
who=`whoami`
if [ -z $pid ]; then
warning "Warning: Removed share memory and semaphore--gived pid is NULL"
return
fi
shmids=`ipcs -mp |grep -P "\d+[ ]+$who[ ]+$pid" |awk '{print $1}'`
for id in $shmids ; do
ipcrm -m $id
done
shsemids=`ipcs -sp |grep -P "\d+[ ]+$who[ ]+$pid" |awk '{print $1}'`
for id in $shsemids ; do
ipcrm -s $id
done
}
printProcess() {
times=$*
if [ -z $times ]; then
times=1
fi
for (( i=0; i<$times; i=i+1 ))
do
echo -e ".\c"
sleep 1
done
}
... ...
@echo off
@if not "%ECHO%" == "" echo %ECHO%
@if "%OS%" == "Windows_NT" setlocal
set ENV_PATH=.\
if "%OS%" == "Windows_NT" set ENV_PATH=%~dp0%
call %ENV_PATH%\env.bat
set JAVA_OPTS=%JAVA_MEM_OPT% %JBOSS_SERVER_BASE_DIR% %JAVA_DEBUG_OPT% %TIGER_JMX_OPT%
if not exist %JBOSS_BASE_DIR% (
XCOPY "%JBOSS_HOME%\standalone\." "%JBOSS_BASE_DIR%\." /EIKQ
)
rem COPY "%WEB_APP_HOME%\conf\jboss\deploy\jboss-web.deployer\server.xml" "%JBOSS_SERVER_HOME%\deploy\jboss-web.deployer\server.xml" /Y
rem COPY "%WEB_APP_HOME%\conf\jboss\jboss-service.xml" "%JBOSS_SERVER_HOME%\conf\jboss-service.xml" /Y
COPY "%WEB_APP_HOME%\conf\jboss\standalone.xml" "%JBOSS_BASE_DIR%\configuration\standalone.xml" /Y
XCOPY "%WEB_APP_HOME%\web.ear\." "%JBOSS_BASE_DIR%\deployments\web.ear\." /EIKQ
echo "" > %JBOSS_BASE_DIR%\deployments\web.ear.dodeploy
REM cls screen
REM CLS
call %JBOSS_HOME%\bin\standalone.bat
... ...
#!/bin/bash
################################################################
#@Authro Lijian
#@Date 2007-05-29
################################################################
BASE_BIN_DIR=`dirname $0`
. $BASE_BIN_DIR/env.sh
TIMESTAMP=`date +%Y_%m_%d_%H_%M`
LOG_DIR=$WEB_APP_HOME/logs
LOGS_SAVED=$LOG_DIR/logs_saved
JBOSS_STDOUT_LOG=$LOG_DIR/jboss_stdout.log
JBOSS_BASE_DIR=$WEB_APP_HOME/.jboss/default
#################################################################
#backup logs
if [ ! -d $LOGS_SAVED ]; then
mkdir -p $LOGS_SAVED
fi
if [ -f $JBOSS_STDOUT_LOG ]; then
mv -f $JBOSS_STDOUT_LOG $LOGS_SAVED/jboss_stdout.log.$TIMESTAMP
fi
##check if started before
java_pid=`ps --no-heading -C java -f --width 1000 | grep "$JBOSS_BASE_DIR" |awk '{print $2}'`
if [ ! -z "$java_pid" ]; then
echo "Jboss server already started: pid=$java_pid"
exit;
fi
#########################################copy server home
if [ ! -d "$JBOSS_BASE_DIR" ]; then
rm -f $JBOSS_BASE_DIR
mkdir -p $JBOSS_BASE_DIR
cp -rf $SERVER_HOME/standalone/. $JBOSS_BASE_DIR/.
else
rm -rf $JBOSS_BASE_DIR/tmp
rm -rf $JBOSS_BASE_DIR/data
rm -rf $JBOSS_BASE_DIR/log
fi
deploy
##jmx controle file must be read only else jvm can not startup
chmod 600 $WEB_APP_HOME/conf/jmx/*.properties > /dev/null 2>&1
nohup $SERVER_HOME/bin/standalone.sh
################################################################
copy_jboss_conf(){
cp -rf $WEB_APP_HOME/conf/jboss/standalone.xml $JBOSS_BASE_DIR/configuration/standalone.xml
}
deploy_ear(){
rm -rf $JBOSS_BASE_DIR/deployments/web.ear
rm -rf $JBOSS_BASE_DIR/deployments/web.ear.*
cp -rf $JBOSS_BASE_DIR/web.ear $JBOSS_BASE_DIR/deployments/web.ear
touch $JBOSS_BASE_DIR/deployments/web.ear.dodeploy
}
deploy(){
copy_jboss_conf
deploy_ear
}
\ No newline at end of file
... ...
#!/bin/bash
################################################################
#@Authro Lijian
#@Date 2007-05-22
################################################################
BASE_BIN_DIR=`dirname $0`
#import home var env
. $BASE_BIN_DIR/env.sh
TIMESTAMP=`date +%Y_%m_%d_%H:%M`
HOST_NAME=`hostname`
LOG_DIR=$WEB_APP_HOME/logs
JBOSS_CHECK_LOG="$LOG_DIR/jboss_stdout.log"
JBOSS_BASE_DIR=$WEB_APP_HOME/.jboss/default
TOMCAT_BASE_DIR=$WEB_APP_HOME/.tomcat
LOCAL_IP=`/sbin/ifconfig -a|grep inet|grep -v 127.0.0.1|grep -v inet6|awk '{print $2}'|tr -d "addr:"`
REMOVE_URL="$GW_URL/service_control/unregister?ip=$LOCAL_IP&context=$SERVER_NAMESPACE"
stop_jboss()
{
JBOSS_JAVA_PID=`get_jboss_pid`
if [ ! -z "$JBOSS_JAVA_PID" ] ; then
echo -e "$HOST_NAME: stopping jboss ...\c"
$JBOSS_HOME/bin/jboss-cli.sh --connect controller=localhost:$NAMING_PORT command=:shutdown > /dev/null 2>&1
LOOPS=0
while [ $LOOPS -lt 30 ]; do
printProcess
kill -s 0 $JBOSS_JAVA_PID > /dev/null 2>&1
if [ $? -eq 1 ]; then
break
fi
let LOOPS=LOOPS+1
done
JBOSS_JAVA_PID=`get_jboss_pid`
if [ ! -z "$JBOSS_JAVA_PID" ] ; then
echo -e "[INFO] kill java process $JBOSS_JAVA_PID .\c"
kill -9 $JBOSS_JAVA_PID > /dev/null 2>&1
fi
success "Oook!"
else
warning "[WARN] $HOST_NAME: jboss not running, who care?"
fi
}
get_jboss_pid(){
STR=`ps -C java -f --width 1000 | grep "$JBOSS_BASE_DIR"|awk '{print $2}'`
echo $STR
}
get_tomcat_pid(){
STR=`ps -C java -f --width 1000 | grep "$TOMCAT_BASE_DIR"|awk '{print $2}'`
echo $STR
}
stop_tomcat(){
TOMCAT_JAVA_PID=`get_tomcat_pid`
if [ ! -z "$TOMCAT_JAVA_PID" ] ; then
success "start to remove service register from zookeeper: $REMOVE_URL"
curl -m 10 -s -o /dev/null "$REMOVE_URL"
#sleep 10s
success "success to remove $LOCAL_IP"
#echo -e "$HOST_NAME: stopping tomcat ...\c"
#$SERVER_HOME/bin/catalina.sh stop > /dev/null 2>&1
#LOOPS=0
#while [ $LOOPS -lt 30 ]; do
#printProcess
#kill -s 0 $TOMCAT_JAVA_PID > /dev/null 2>&1
#if [ $? -eq 1 ]; then
#break
#fi
#let LOOPS=LOOPS+1
#done
#TOMCAT_JAVA_PID=`get_tomcat_pid`
#if [ ! -z "$TOMCAT_JAVA_PID" ] ; then
echo -e "[INFO] kill java process $TOMCAT_JAVA_PID .\c"
kill -9 $TOMCAT_JAVA_PID > /dev/null 2>&1
#fi
success "Oook!"
else
warning "[WARN] $HOST_NAME: tomcat not running, who care?"
fi
}
if [ $SERVER_TYPE = "jboss" ]; then
stop_jboss
fi
if [ $SERVER_TYPE = "tomcat" ]; then
stop_tomcat
fi
... ...
#!/bin/bash
################################################################
#@Authro Lijian
#@Date 2007-05-25
################################################################
BASE_BIN_DIR=`dirname $0`
. $BASE_BIN_DIR/env.sh
HOST_NAME=`hostname`
JBOSS_CTL=$BASE_BIN_DIR/jbossctl.sh
TOMCAT_CTL=$BASE_BIN_DIR/tomcatctl.sh
## start jboss
start_jboss(){
echo -e "[INFO] $HOST_NAME: starting jboss ...\c"
chmod +x $BASE_BIN_DIR/jbossctl.sh
$JBOSS_CTL > $JBOSS_STDOUT_LOG 2>&1 &
COUNT=0
printProcess 5
while [ $COUNT -lt 1 ]; do
COUNT=`curl -s $CHECK_SERVER_STARTUP_URL |grep -c "$STARTUP_SUCCESS_MSG"`
printProcess 3
done
success "Oook!"
}
## start tomcat
start_tomcat(){
echo -e "[INFO] $HOST_NAME: starting tomcat ...\c"
chmod +x $BASE_BIN_DIR/tomcatctl.sh
$TOMCAT_CTL &
COUNT=0
printProcess 5
while [ $COUNT -lt 1 ]; do
COUNT=`curl -s $CHECK_SERVER_STARTUP_URL |grep -c "$STARTUP_SUCCESS_MSG"`
printProcess 3
done
success "Oook!"
}
if [ $SERVER_TYPE = "jboss" ]; then
start_jboss
fi
if [ $SERVER_TYPE = "tomcat" ]; then
start_tomcat
fi
success "[INFO] $HOSTNAME: startup web server done!"
\ No newline at end of file
... ...
@echo off
@if not "%ECHO%" == "" echo %ECHO%
@if "%OS%" == "Windows_NT" setlocal
set ENV_PATH=.\
if "%OS%" == "Windows_NT" set ENV_PATH=%~dp0%
call %ENV_PATH%\env.bat
set JAVA_OPTS=%JAVA_MEM_OPT% -Dcatalina.base=%CATALINA_BASE% %JAVA_DEBUG_OPT% %TIGER_JMX_OPT%
set PATH=%JAVA_HOME%\bin;%PATH%
if not exist %CATALINA_BASE% (
md "%CATALINA_BASE%"
md "%CATALINA_BASE%\conf"
md "%CATALINA_BASE%\webapps"
)
XCOPY "%CATALINA_HOME%\conf\." "%CATALINA_BASE%\conf\." /EIKQ
COPY "%WEB_APP_HOME%\conf\tomcat\server.xml" "%CATALINA_BASE%\conf\server.xml" /Y
COPY "%WEB_APP_HOME%\*.war" "%CATALINA_BASE%\webapps\." /Y
call %CATALINA_HOME%\bin\catalina.bat start
\ No newline at end of file
... ...
#!/bin/bash
################################################################
#@Authro Lijian
#@Date 2015-10-22
################################################################
BASE_BIN_DIR=`dirname $0`
. $BASE_BIN_DIR/env.sh
export CATALINA_HOME=$SERVER_HOME
export CATALINA_BASE=$WEB_APP_HOME/.tomcat
################################################################
##check if started before
check_server(){
java_pid=`ps --no-heading -C java -f --width 1000 | grep "$$CATALINA_BASE" |awk '{print $2}'`
if [ ! -z "$java_pid" ]; then
echo "[INFO] Tomcat server already started: pid=$java_pid"
exit;
fi
}
copy_server_home(){
if [ -d "$CATALINA_BASE" ]; then
rm -rf $CATALINA_BASE
fi
mkdir -p $CATALINA_BASE/conf
mkdir -p $CATALINA_BASE/webapps
mkdir -p $CATALINA_BASE/logs
mkdir -p $CATALINA_BASE/temp
touch $CATALINA_BASE/logs/catalina.out
}
copy_tomcat_conf(){
cp -rf $SERVER_HOME/conf/. $CATALINA_BASE/conf/.
cp -rf $WEB_APP_HOME/conf/tomcat/server.xml $CATALINA_BASE/conf/server.xml
}
copy_war(){
if [ ! -d $WEB_APP_HOME/$SERVER_NAMESPACE-war ]; then
mkdir -p $WEB_APP_HOME/$SERVER_NAMESPACE-war
cd $WEB_APP_HOME/$SERVER_NAMESPACE-war
mv $WEB_APP_HOME/*.war $WEB_APP_HOME/$SERVER_NAMESPACE-war/$SERVER_NAMESPACE.war
$JAVA_HOME/bin/jar xf $SERVER_NAMESPACE.war
rm -rf $WEB_APP_HOME/$SERVER_NAMESPACE-war/$SERVER_NAMESPACE.war
fi
cp -r $WEB_APP_HOME/$SERVER_NAMESPACE-war $CATALINA_BASE/webapps/$SERVER_NAMESPACE
}
deploy(){
check_server
copy_server_home
copy_tomcat_conf
copy_war
}
###############################################################
deploy
$SERVER_HOME/bin/catalina.sh start > /dev/null
\ No newline at end of file
... ...
<?xml version='1.0' encoding='utf-8'?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- Note: A "Server" is not itself a "Container", so you may not
define subcomponents such as "Valves" at this level.
Documentation at /docs/config/server.html
-->
<Server port="8109" shutdown="SHUTDOWN">
<Listener className="org.apache.catalina.startup.VersionLoggerListener" />
<!-- Security listener. Documentation at /docs/config/listeners.html
<Listener className="org.apache.catalina.security.SecurityListener" />
-->
<!--APR library loader. Documentation at /docs/apr.html -->
<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
<!-- Prevent memory leaks due to use of particular java/javax APIs-->
<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
<Listener className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" />
<!-- Global JNDI resources
Documentation at /docs/jndi-resources-howto.html
-->
<GlobalNamingResources>
<!-- Editable user database that can also be used by
UserDatabaseRealm to authenticate users
-->
<Resource name="UserDatabase" auth="Container"
type="org.apache.catalina.UserDatabase"
description="User database that can be updated and saved"
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
pathname="conf/tomcat-users.xml" cachingAllowed="true" cacheMaxSize="100000"/>
</GlobalNamingResources>
<!-- A "Service" is a collection of one or more "Connectors" that share
a single "Container" Note: A "Service" is not itself a "Container",
so you may not define subcomponents such as "Valves" at this level.
Documentation at /docs/config/service.html
-->
<Service name="Catalina">
<!--The connectors can use a shared executor, you can define one or more named thread pools-->
<!--
<Executor name="tomcatThreadPool" namePrefix="catalina-exec-"
maxThreads="150" minSpareThreads="4"/>
-->
<!-- A "Connector" represents an endpoint by which requests are received
and responses are returned. Documentation at :
Java HTTP Connector: /docs/config/http.html (blocking & non-blocking)
Java AJP Connector: /docs/config/ajp.html
APR (HTTP/AJP) Connector: /docs/apr.html
Define a non-SSL/TLS HTTP/1.1 Connector on port 8080
-->
<Connector port="8100" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
<!-- A "Connector" using the shared thread pool-->
<!--
<Connector executor="tomcatThreadPool"
port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
-->
<!-- Define a SSL/TLS HTTP/1.1 Connector on port 8443
This connector uses the NIO implementation that requires the JSSE
style configuration. When using the APR/native implementation, the
OpenSSL style configuration is required as described in the APR/native
documentation -->
<!--
<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" />
-->
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
<!-- An Engine represents the entry point (within Catalina) that processes
every request. The Engine implementation for Tomcat stand alone
analyzes the HTTP headers included with the request, and passes them
on to the appropriate Host (virtual host).
Documentation at /docs/config/engine.html -->
<!-- You should set jvmRoute to support load-balancing via AJP ie :
<Engine name="Catalina" defaultHost="localhost" jvmRoute="jvm1">
-->
<Engine name="Catalina" defaultHost="localhost">
<!--For clustering, please take a look at documentation at:
/docs/cluster-howto.html (simple how to)
/docs/config/cluster.html (reference documentation) -->
<!--
<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>
-->
<!-- Use the LockOutRealm to prevent attempts to guess user passwords
via a brute-force attack -->
<Realm className="org.apache.catalina.realm.LockOutRealm">
<!-- This Realm uses the UserDatabase configured in the global JNDI
resources under the key "UserDatabase". Any edits
that are performed against this UserDatabase are immediately
available for use by the Realm. -->
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase"/>
</Realm>
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true">
<!-- SingleSignOn valve, share authentication between web applications
Documentation at: /docs/config/valve.html -->
<!--
<Valve className="org.apache.catalina.authenticator.SingleSignOn" />
-->
<!-- Access log processes all example.
Documentation at: /docs/config/valve.html
Note: The pattern used is equivalent to using pattern="common" -->
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log" suffix=".txt"
pattern="%h %l %u %t &quot;%r&quot; %s %b" />
</Host>
</Engine>
</Service>
</Server>
... ...
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<artifactId>yohobuy-platform-maketing</artifactId>
<groupId>com.yoho.dsf</groupId>
<version>1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>com.yoho.dsf.yhplatform</groupId>
<artifactId>platform-maketing-market</artifactId>
<packaging>jar</packaging>
<name>platform-maketing-market</name>
<dependencies>
<dependency>
<groupId>com.yohobuy.platform</groupId>
<artifactId>platform-common</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.yoho.service.platform.model</groupId>
<artifactId>platform-service-model</artifactId>
</dependency>
</dependencies>
</project>
... ...
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>com.yoho</groupId>
<artifactId>yoho-starter</artifactId>
<version>1.3.9-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>com.yoho.dsf</groupId>
<artifactId>yohobuy-platform-maketing</artifactId>
<packaging>pom</packaging>
<version>1.0-SNAPSHOT</version>
<properties>
<project-name>platform-maketing</project-name>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.yoho.service.platform.model</groupId>
<artifactId>platform-service-model</artifactId>
<version>1.2.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.yoho.dsf.yhplatform</groupId>
<artifactId>platform-maketing-market</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.yoho.dsf.yhplatform</groupId>
<artifactId>platform-maketing-union</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.yoho.dsf</groupId>
<artifactId>yoho-message-sdk</artifactId>
<version>1.1.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>net.sf.oval</groupId>
<artifactId>oval</artifactId>
<version>1.84</version>
</dependency>
<dependency>
<groupId>com.belerweb</groupId>
<artifactId>pinyin4j</artifactId>
<version>2.5.0</version>
</dependency>
<dependency>
<groupId>com.yoho.service.model</groupId>
<artifactId>bigdata-service-model</artifactId>
<version>1.2.6-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.yohobuy.platform</groupId>
<artifactId>platform-common</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>com.yoho.core</groupId>
<artifactId>yoho-core-rabbitmq</artifactId>
</dependency>
<dependency>
<groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId>
<version>1.8.3</version>
</dependency>
<dependency>
<groupId>com.yoho.quartz</groupId>
<artifactId>yoho-quartz-client</artifactId>
<version>1.3.8-SNAPSHOT</version>
</dependency>
</dependencies>
<modules>
<module>market</module>
<module>union</module>
<module>web</module>
<module>deploy</module>
</modules>
</project>
\ No newline at end of file
... ...
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<artifactId>yohobuy-platform-maketing</artifactId>
<groupId>com.yoho.dsf</groupId>
<version>1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>com.yoho.dsf.yhplatform</groupId>
<artifactId>platform-maketing-union</artifactId>
<packaging>jar</packaging>
<name>platform-maketing-union</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>
<dependencies>
<dependency>
<groupId>com.yohobuy.platform</groupId>
<artifactId>platform-common</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.yoho.service.platform.model</groupId>
<artifactId>platform-service-model</artifactId>
</dependency>
</dependencies>
</project>
... ...
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<artifactId>yohobuy-platform-maketing</artifactId>
<groupId>com.yoho.dsf</groupId>
<version>1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>com.yoho.dsf.yhplatform</groupId>
<artifactId>platform-maketing-web</artifactId>
<name>platform-maketing-web</name>
<description>Camel project that deploys the Camel Web Console, REST API, and your routes as a WAR</description>
<url>http://www.myorganization.org</url>
<packaging>war</packaging>
<dependencies>
<dependency>
<groupId>com.yoho.dsf.yhplatform</groupId>
<artifactId>platform-maketing-union</artifactId>
</dependency>
<dependency>
<groupId>com.yoho.dsf.yhplatform</groupId>
<artifactId>platform-maketing-market</artifactId>
</dependency>
<dependency>
<groupId>com.yoho.service.platform.model</groupId>
<artifactId>platform-service-model</artifactId>
<exclusions>
<exclusion>
<artifactId>commons-logging</artifactId>
<groupId>commons-logging</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
</dependency>
<dependency>
<groupId>com.yohobuy.platform</groupId>
<artifactId>platform-common</artifactId>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<finalName>platform-maketing-web</finalName>
<plugins>
<plugin>
<groupId>com.yoho.tools</groupId>
<artifactId>maven-autoconfig-plugin</artifactId>
<version>1.0.0-SNAPSHOT</version>
<configuration>
<exploding>true</exploding>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>autoconfig</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
... ...
<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:rabbit="http://www.springframework.org/schema/rabbit"
xmlns="http://www.springframework.org/schema/beans"
xsi:schemaLocation="http://www.springframework.org/schema/rabbit
http://www.springframework.org/schema/rabbit/spring-rabbit.xsd
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd">
<bean id="simpleMessageConverter-common" class="org.springframework.amqp.support.converter.SimpleMessageConverter"/>
<rabbit:connection-factory id="rabbitmq-connectionFactory-common" addresses="${rabbit_common:127.0.0.1:5672}"
requested-heartbeat="10" username="${rabbit_common_user:yoho}" password="${rabbit_common_password:yoho}"
virtual-host="${rabbit_vhost:yoho}"/>
<rabbit:admin id="rabbitAdmin-common" connection-factory="rabbitmq-connectionFactory-common"/>
<rabbit:template id="amqpTemplate-common" connection-factory="rabbitmq-connectionFactory-common"
message-converter="simpleMessageConverter-common"/>
<!--发送消息
<bean id="producerTemplateCommon" class="com.yohobuy.platform.common.message.YhProducerTemplateCommon">
<property name="amqpTemplate" ref="amqpTemplate-common"/>
</bean>-->
<!--接收消息 -->
<bean id="productConsumerFactory" class="com.yohobuy.platform.common.message.MessageConsumerFactory">
<!--这边admin的顺序和connectionFactory的顺序要一一对应-->
<constructor-arg name="admins">
<list>
<ref bean="rabbitAdmin-common"/>
</list>
</constructor-arg>
<constructor-arg name="connectionFactorys">
<list>
<ref bean="rabbitmq-connectionFactory-common"/>
</list>
</constructor-arg>
<constructor-arg name="context" value="${web.context:default}"/>
<constructor-arg name="simpleMessageConverter" ref="simpleMessageConverter-common"/>
</bean>
</beans>
\ No newline at end of file
... ...
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:task="http://www.springframework.org/schema/task"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/task
http://www.springframework.org/schema/task/spring-task.xsd">
<!-- 任务执行器 -->
<task:executor id="asyncExecutor" pool-size="5" />
<!-- 任务调度器 -->
<task:scheduler id="asyncScheduler" pool-size="10" />
<!--开启注解调度支持 @Async @Scheduled-->
<task:annotation-driven executor="asyncExecutor"
scheduler="asyncScheduler" />
<!-- 启动定时器
<task:scheduled-tasks scheduler="crawScheduler" > -->
<!-- 爬取天猫中带有sku的商品脚本
<task:scheduled ref="crawlerTmallSKUProductTask" method="run" cron=" 15 15 * * * ? " />-->
<!-- <task:scheduled ref="crawlerTmallSKUProductTask" method="run" cron=" 15 * * * * ? " /> -->
<!-- 爬取48小时未更新的商品脚本
<task:scheduled ref="crawlerUnmodifiedProductTask" method="run" cron=" 15 45 * * * ? " />-->
<!-- <task:scheduled ref="crawlerUnmodifiedProductTask" method="run" cron=" 15 * * * * ? " /> -->
<!-- 每天7点同步天猫商品上下架状态
<task:scheduled ref="tmallProductStatusUpdateTask" method="run" cron=" 0 0 5,8,11,14,17,20 * * ? " />-->
<!-- <task:scheduled ref="tmallProductStatusUpdateTask" method="run" cron=" 0 0/2 * * * ? " /> -->
<!--</task:scheduled-tasks>-->
</beans>
... ...
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:util="http://www.springframework.org/schema/util"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.1.xsd
http://www.springframework.org/schema/util
http://www.springframework.org/schema/util/spring-util.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-3.1.xsd
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd">
<aop:aspectj-autoproxy proxy-target-class="true"/>
<context:property-placeholder ignore-resource-not-found="true" location="classpath*:config.properties"/>
<!-- Spring扫描目录,通过注解的方式注入bean,只扫描本工程的目录 -->
<context:component-scan base-package="com.yohobuy"/>
<bean id="serviceGlobalExceptionHandler" class="com.yoho.error.exception.handler.ServiceGlobalExceptionHandler"/>
<!-- 启动SpringMVC的注解功能,完成请求和注解POJO的映射 -->
<mvc:annotation-driven>
<mvc:message-converters>
<ref bean="stringConverter"/>
<ref bean="jsonConverter"/>
</mvc:message-converters>
</mvc:annotation-driven>
<!--字符串转换器-->
<bean id="stringConverter"
class="org.springframework.http.converter.StringHttpMessageConverter">
<property name="supportedMediaTypes">
<list>
<value>text/plain;charset=UTF-8</value>
</list>
</property>
</bean>
<!-- json转换器 application/json -->
<bean id="jsonConverter"
class="com.alibaba.fastjson.support.spring.FastJsonHttpMessageConverter">
<property name="features">
<array>
<value>DisableCircularReferenceDetect</value>
</array>
</property>
</bean>
<!-- 配置MultipartResolver 用于文件上传 使用spring的CommosMultipartResolver -->
<bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver">
<property name="defaultEncoding" value="UTF-8"></property>
<property name="maxUploadSize" value="${file.maxsize}"></property>
<!-- <property name="uploadTempDir" value="${file.uploadTempDir}"></property>-->
<property name="resolveLazily" value="true"></property>
</bean>
<!-- 批量操作服务定义 -->
<util:map id="batchImportBusiness" key-type="java.lang.String"
value-type="com.yohobuy.platform.common.service.IBusinessImportService">
<!-- <entry key="price" value-ref="PriceImportServiceImpl"></entry>
<entry key="brandCooperation" value-ref="brandCooperationImportServiceImpl"></entry>
<entry key="productPool" value-ref="productPoolImportServiceImpl"></entry>
<entry key="brandProperty" value-ref="BrandPropertyImportService"></entry>
<entry key="searchSort" value-ref="SearchSortImportService"></entry>
<entry key="baseProduct" value-ref="baseProductImportServiceImpl"></entry>
<entry key="productImg" value-ref="batchProdImgImportServiceImpl"></entry>
<entry key="productModelTry" value-ref="prodModelTryImportServiceImpl"></entry>
<entry key="outletModify" value-ref="batchModifyOutletImportServiceImpl"></entry>
<entry key="supplyModify" value-ref="batchModifySupplyImportServiceImpl"></entry>
<entry key="drawlineUserQueue" value-ref="DrawlineUserQueueImportServiceImpl"></entry>
<entry key="yohoCoin" value-ref="yohoCoinImportServiceImpl"></entry>
<entry key="payDeliveryModify" value-ref="batchModifyPayDeliveryImportServiceImpl"></entry>
<entry key="activityProduct" value-ref="activityProductService"></entry>
<entry key="refundExchangeModify" value-ref="batchModifyRefundExchangeImportServiceImpl"></entry>
<entry key="skuFactoryCodeModify" value-ref="updateSkuFactoryCodeServiceImpl"></entry>
<entry key="appTypeModify" value-ref="batchModifyAppTypeImportServiceImpl"></entry>
<entry key="productSaleModify" value-ref="batchModifyProductSaleImportServiceImpl"></entry>
<entry key="storeProductSaleModify" value-ref="batchModifyStoreProductSaleImportServiceImpl"></entry>
<entry key="productTagModify" value-ref="productTagImportServiceImpl"></entry>
<entry key="productPriceAudit" value-ref="batchAuditProductPriceServiceImpl"></entry>
<entry key="offShelveSkn" value-ref="OffShelveSknImportService"></entry>
<entry key="studentPrice" value-ref="studentPriceImportService" />
<entry key="limitProductUid" value-ref="limitUidImportServiceImpl"></entry>
<entry key="onShelveSkn" value-ref="onShelveBatchSknImportService" />
<entry key="categoryLinkProduct" value-ref="categoryLinkProductImportServiceImpl"></entry>
<entry key="batchSknLink" value-ref="batchSknLinkImportServiceImpl"></entry>
<entry key="secKill" value-ref="seckillImportServiceImpl"></entry>
<entry key="shopsPromote" value-ref="shopsPromoteImportService" />
<entry key="depositAdvance" value-ref="depositAdvanceImportServiceImpl"></entry>
<entry key="depositAdvanceTime" value-ref="depositAdvanceTimeImportImpl"></entry>
<entry key="productSingleDay" value-ref="productSingleDayService" />
<entry key="makePromtion" value-ref="MakePromotionImportServiceImpl"></entry>
<entry key="productSingleDay" value-ref="productSingleDayService" />
<entry key="productBundle" value-ref="productBundleService" />
<entry key="productBatch" value-ref="productBatchService" />
<entry key="sockpupetCommentsImport" value-ref="sockpupetCommentsImportServiceImpl"/>
<entry key="makePriceItemImport" value-ref="makePriceServiceImpl"/>
<entry key="productBuyLimitImport" value-ref="productBuyLimitServiceImpl"/>
<entry key="promotionPhrase" value-ref="PhraseBatchImportService"/>
<entry key="skcFactoryCode" value-ref="updateSkcFactoryCodeServiceImpl"/>
<entry key="sknYearAndSeason" value-ref="updateSknYearAndSeasonImpl"/>
<entry key="skuUpmCode" value-ref="updateUpmServiceImpl"/>
<entry key="brandSaleTime" value-ref="productBrandSaleTimeService"/>
<entry key="brandClassic" value-ref="productBrandClassicService"/>
<entry key="expectSaleTime" value-ref="productExpectSaleTimeService"/>
<entry key="brandImageBatch" value-ref="batchBrandImgImportServiceImpl"/>
<entry key="productPhrase" value-ref="productPhraseImportService"/>
<entry key="productSknImport" value-ref="productSknImportServiceImpl"/>
<entry key="productMaterialImport" value-ref="productMaterialServiceImpl"/>
<entry key="recProduct" value-ref="newUserRecProductImportServiceImpl"></entry>
<entry key="vipBatch" value-ref="vipServiceImpl"></entry>
<entry key="couponLimitImport" value-ref="couponLimitServiceImpl"></entry>
<entry key="activitySknImport" value-ref="activityRegistrationProductServiceImpl"></entry>
<entry key="sellerProductImport" value-ref="sellerProductImportService"></entry>
<entry key="unionUrlImport" value-ref="unionUrlImportServiceImpl"></entry>
<entry key="couponProductLimit" value-ref="couponProductLimitImportService"></entry>
<entry key="depositPrdImport" value-ref="depositPrdImportService"/>
<entry key="shopCrossRecServiceImpl" value-ref="shopCrossRecServiceImpl"></entry>
<entry key="advancePrdImport" value-ref="advancePrdImportService"></entry>
<entry key="updateSknName" value-ref="updateProductNameService"></entry>
<entry key="downSknName" value-ref="downloadProductNameService"></entry>
<entry key="productPoolBatchDel" value-ref="ProductPoolBatchDelImportServiceImpl"></entry>
<entry key="followPriceImport" value-ref="followPriceOperateService"></entry>
<entry key="nationalCodeImportService" value-ref="nationalCodeImportService"></entry>
<entry key="newNationalCodeImportService" value-ref="newNationalCodeImportService"></entry>
<entry key="collageImport" value-ref="collageProductServiceImpl"></entry>
<entry key="depositPrdDelImport" value-ref="depositPrdDelImportService" />
<entry key="reportFormChannelIdService" value-ref="reportFormChannelIdServiceImpl"/>
<entry key="distributionBatchImportService" value-ref="distributionBatchImportServiceImpl"/>
<entry key="shopCouponLimitImport" value-ref="shopCouponLimitServiceImpl"></entry>
<entry key="priceUpdateImport" value-ref="priceUpdateImportServiceImpl"></entry>
<entry key="vipReturnCoinBatch" value-ref="vipReturnCoinServiceImpl"></entry>
<entry key="changeSize" value-ref="changeSizeImportServiceImpl"></entry>-->
</util:map>
<!-- 批量操作服务定义 -->
<util:map id="batchExportBusiness" key-type="java.lang.String"
value-type="com.yohobuy.platform.common.service.IBusinessExportService">
<!--<entry key="netSale" value-ref="NetSaleExportServiceImpl"></entry>
<entry key="limitProductReminder" value-ref="LimitProductExportServiceImpl"></entry>
<entry key="drawlineUserQueue" value-ref="DrawlineUserQueueExportServiceImpl"></entry>
<entry key="yohoCoin" value-ref="yohoCoinExportService"></entry>
<entry key="suggestExport" value-ref="suggestExportService"/>
<entry key="linkExport" value-ref="linkExportService"/>
<entry key="linkBatchExport" value-ref="linkBatchExportService"/>
<entry key="brandPayDeliveryExport" value-ref="brandPayDeliveryExportServiceImpl"></entry>
<entry key="brandPayDeliveryCheckExport" value-ref="brandPayDeliveryCheckExportServiceImpl"></entry>
<entry key="productPayDeliveryExport" value-ref="productPayDeliveryExportServiceImpl"></entry>
<entry key="couponLogsExport" value-ref="couponLogsExportServiceImpl"></entry>
<entry key="useCouponLogsExport" value-ref="useCouponLogsExportServiceImpl"></entry>
<entry key="pCouponSnsExport" value-ref="pcouponSnsExportServiceImpl"></entry>
<entry key="baseProduce" value-ref="baseProduceExportServiceImpl"/>
<entry key="productRefundExchangeExport" value-ref="productRefundExchangeExportServiceImpl"></entry>
<entry key="productSortRefundExchangeExport" value-ref="productSortRefundExchangeExportServiceImpl"></entry>
<entry key="couponSendErrorExport" value-ref="couponSendErrorExportService"/>
<entry key="instalmentSknsExport" value-ref="instalmentSknsExportServiceImpl"/>
<entry key="shopSaleExport" value-ref="shopSaleExportServiceImpl"/>
<entry key="productSaleExport" value-ref="productSaleExportServiceImpl"/>
<entry key="productSaleOnShelvesExport" value-ref="productSaleOnShelvesExportServiceImpl"/>
<entry key="limitProductUid" value-ref="limitUidExportServiceImpl" />
<entry key="sns" value-ref="showCommentExportService" />
<entry key="changePriceExport" value-ref="changePriceExportServiceImpl"/>
<entry key="productPriceExport" value-ref="productPriceExportServiceImpl"/>
<entry key="makePromotionExportServiceImpl" value-ref="MakePromotionExportServiceImpl"/>
<entry key="userCouponHistoryExport" value-ref="userCouponHistoryExportService"/>
<entry key="userShareHistoryExport" value-ref="userShareHistoryExportService"/>
<entry key="productBatchServiceExport" value-ref="productBatchServiceExportImpl"/>
<entry key="productBundleServiceExport" value-ref="productBundleServiceExportImpl"/>
<entry key="exportConsultServiceExport" value-ref="exportConsultServiceImpl"/>
<entry key="productTagServiceExport" value-ref="productTagExportServiceImpl"/>
<entry key="channelProductServiceExport" value-ref="channelProductServiceExportImpl"/>
<entry key="promotionPhraseExport" value-ref="promotionPhraseExportImpl"/>
<entry key="reportFormExport" value-ref="reportFormServiceImpl"/>
<entry key="channelProductServiceExport" value-ref="channelProductServiceExportImpl"/>
<entry key="productExportServiceImpl" value-ref="productExportService"/>
<entry key="timeLimitDepositImportErrorMsgExport" value-ref="timeLimitDepositImportErrorMsgExportService" />
<entry key="couponExport" value-ref="couponExportService" />
<entry key="distributionBatchExportService" value-ref="distributionBatchExportServiceImpl"/>
<entry key="collageActivityExport" value-ref="collageActivitiesServiceImpl" />
<entry key="batchExportReturnCoin" value-ref="VipReturnCoinExportServiceImpl" />-->
</util:map>
<!-- 批量操作服务定义 -->
<!--<util:map id="scheduledBusiness" key-type="java.lang.String"
value-type="com.yohobuy.platform.product.service.scheduled.ScheduledService">
<entry key="scheduledOnSaleAndNew" value-ref="scheduledOnSaleAndNew"></entry>
<entry key="scheduledOnSaleNoNew" value-ref="scheduledOnSaleNoNew"></entry>
<entry key="scheduledUpdatePrice" value-ref="scheduledUpdatePrice"/>
<entry key="scheduledOutale" value-ref="scheduledOutale"/>
&lt;!&ndash;<entry key="scheduledPushSecKillRemind" value-ref="scheduledPushSecKillRemind"/>&ndash;&gt;
<entry key="scheduledSynChannelProduct" value-ref="scheduledSynChannelProduct"></entry>
<entry key="scheduledChangeChannelProductPrice" value-ref="scheduledChangeChannelProductPrice"></entry>
<entry key="scheduledUpdateMakePrice" value-ref="scheduledUpdateMakePrice"></entry>
<entry key="scheduledSynChannelProductMany" value-ref="scheduledSynChannelProductMany"></entry>
</util:map>-->
<!-- 批量操作服务定义 -->
<!-- <util:map id="shopScheduledBusiness" key-type="java.lang.String"
value-type="com.yohobuy.platform.shops.service.scheduledService.ShopScheduledService">
<entry key="scheduledShopMessage" value-ref="scheduledShopMessage"></entry>
</util:map>-->
<!-- <util:map id="promotionScheduledBusiness" key-type="java.lang.String"
value-type="com.yohobuy.promotion.service.scheduled.PromotionScheduledService">
<entry key="scheduledExpiredLimitCode" value-ref="scheduledExpiredLimitCode"></entry>
<entry key="scheduledExpiredSecKill" value-ref="scheduledExpiredSecKill"></entry>
</util:map>-->
<!--service接口调用拦截器-->
<!--<bean id="serviceMethodInterceptor" class="com.yoho.core.common.monitor.interceptor.MethodProfileInterceptor">-->
<!--</bean>-->
<!--<aop:config>-->
<!--<aop:pointcut id="serviceMethodPoint"-->
<!--expression="(execution(* com.yohobuy.platform.*.service.*.*(..))) or (execution(* com.yohobuy.platform.*.restapi.*.*(..))) "/>-->
<!--<aop:advisor pointcut-ref="serviceMethodPoint" advice-ref="serviceMethodInterceptor"/>-->
<!--</aop:config>-->
<!-- 图片批量上传异步线程池 -->
<bean id="threadPool" class="org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor">
<property name="corePoolSize" value="5"/>
<property name="maxPoolSize" value="20"/>
<property name="queueCapacity" value="1000"/>
<property name="keepAliveSeconds" value="300"/>
<property name="rejectedExecutionHandler">
<bean class="java.util.concurrent.ThreadPoolExecutor$CallerRunsPolicy"/>
</property>
</bean>
<!--操作日志的拦截器-->
<bean id="operateRecodeAnnotationInterceptor" class="com.yohobuy.platform.common.interceptor.OperateRecodeInterceptor">
<property name="sellerControllerPath" value="com.yohobuy.platform.seller"></property>
</bean>
<aop:config>
<aop:pointcut id="operateRecodeAnnotionPoint"
expression="within(@org.springframework.stereotype.Controller * or @org.springframework.web.bind.annotation.RestController *)"/>
<aop:advisor pointcut-ref="operateRecodeAnnotionPoint" advice-ref="operateRecodeAnnotationInterceptor"/>
</aop:config>
<bean id="batchForkJoinPool" class="java.util.concurrent.ForkJoinPool" >
</bean>
</beans>
\ No newline at end of file
... ...
# ******************** platform common configs ********************
# if true, client_security check may be disabled.
is_debug_enable=true
file.maxsize=52428800
# \u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d
file.image.size=512000
file.image.gif.size=2621440
file.uploadTempDir=D:\\Data\\tmp
file.saveDir=D:\\Data
file.uploadMalongImgDir=D:\\Data\\malong
##\u56fe\u50cf\u641c\u7d22\u5bf9\u63a5api\u53c2\u6570 \u7801\u9686\u79d1\u6280\u914d\u7f6e\u4fe1\u606f
malongApi.accessKeyId=7343a192140f25a59c53dab5652f5f47
malongApi.secretKey=45c1ce98ee6b4701d55802989ba240f4
malongApi.paiUserId=1714
malongApi.imageSetId=7tm74zfv
#watch ftp upload directory
watchService.watchDir=/Data/images
#unit: seconds
watchService.waitInterval=60
# ******************** search restful ********************
#search server address(if hava)
search.server.address=http://192.168.102.216:8080/yohosearch/
# ******************** cloud storage config ********************
# qiniu config
qiniu.accesskey=atSf7xxIl8alEnsXbhC1bOD1GWVW3qYffz8SlB4m
qiniu.secretkey=pyoJzPygXIkFWrc1BAsH6tAJ0yweTchpJwGKEwhm
#who add this item? whatever, it's used
qiniu.bucket=test
# ali yun config
aliyun.domain=http://7xnrdp.com1.z0.glb.clouddn.com
aliyun.accessid=mkb5KaMTUeAnfHI5
aliyun.accesskey=XLHom1U6wcyl8dec3t0zaJczvsATPf
aliyun.bucket=yohotest
aliyun.endpoint=oss-cn-shanghai.aliyuncs.com
########## common rabbitmq ##########
rabbit_common = 192.168.102.211:5672
rabbit_common_user = yoho
rabbit_common_password = yoho
########## common rabbitmq ##########
#rabbit address
#rabbit_host=192.168.102.162:32810
#\u6d4b\u8bd5
rabbit_host=192.168.102.211:5672
rabbit_user=yoho
rabbit_password=yoho
#zookeeper address
zkAddress=192.168.102.45:2181
#dev
web.context=pfmaketing
execute.limitcode.host=192.168.90.9
execute.shopmessage.host=192.168.90.9
execute.update_product_price.host=172.16.6.234
shop.status.change.phone=15651035157
# erp shops login service\
erp.shops.login.url=http://qrest.yohobuy.com:9098/erp-gateway-web/account/profile/login
erp.shops.change.pwd.url=http://qrest.yohobuy.com:9098/erp-gateway-web/account/profile/update
erp.shops.account.url=http://serve.yohobuy.com/service/finance/v1/clearing/balancelist
erp.platform.shops.url=http://api.erp.yohobuy.com
erp.virtualinventory.setNumberBySkn.url=http://serve.yohobuy.com/service/supplier/v1/virtualinventory/setNumberBySkn
erp.virtualinventory.setBatchNumberBySkn.url=http://serve.yohobuy.com/service/supplier/v1/virtualinventory/setNumberBySkns
erp.realStorage.url=http://192.168.13.24:8099/erp-gateway-web/shift_logs/query_stock_num_by_sku
api.yoho.url=http://api-test3.yohops.com:9999
service.yoho.url=http://localhost:8094/
hystrix.command.default.execution.timeout.enabled=false
service.call.connectReqTimeout=1200000
service.call.socketTimeout=1200000
service.call.connectTimeout=1200000
# ******************** redis servers ********************
redis.proxy.address=192.168.102.211
redis.proxy.port=6379
redis.proxy.auth=
redis.readonly.proxy.address=192.168.102.211
redis.readonly.proxy.port=6379
redis.readonly.proxy.auth=
#\u8001\u5e73\u53f0\u7684\u57df\u540d
admin.portal.url=http://192.168.102.211:30012
#\u8c03\u7528node\u9875\u9762\u7684\u767b\u5f55\u63a5\u53e3\u5730\u5740
admin.login.url=http://192.168.102.211:30012
product.batch.update.pageSize=20
price.selltype.url=http://192.168.102.47:9098/erp-gateway-web/plate_price_form/list_product_info
erp.shop.url=http://192.168.103.82:9098/erp-shop-web/
# price manage audit person config
price.audit.firstRoleName=zuzhang1
price.over.days.roleName=changeOver180DaysPrice,changeOver180DaysPrice2
price.audit.secondPid=100476
price.audit.thirdPid=100478
price.changed.notice.phone=13512519156
redis.notsync.twemproxy.addresses=192.168.102.211:6379
redis.notsync.twemproxy.auth=
erp.domain=http://192.168.102.47:9098/erp-gateway-web
# ******************** bigdata upload skn data ********************
bigdata.qiniu.accesskey=EJhU5jwtkfMm3k5RTeOCH9_jc0A0o-mIfD3Iba5J
bigdata.qiniu.secretkey=qAns6jrf9pg6bHNvS1IcKi-pnVBWV46pbpFWKwJ7
bigdata.qiniu.bucket=db-backup
bigdata.qiniu.refresh.url=http://fusion.qiniuapi.com/v2/tune/refresh
qiniu.bigdata.skndada.folderName=/Data/bigdata/
bigdata.sitemap.url=http://o9tw3bcp2.bkt.clouddn.com
bigdata.ad.userid=365136
# ******************** bigdata upload skn data ********************
# ******************** bigData redis servers start ********************
bigDataRedis.proxy.address=test-bigdata-redis-1903805580.cn-north-1.elb.amazonaws.com.cn
bigDataRedis.proxy.port=6379
#password, can be empty
bigDataRedis.proxy.auth=
bigDataRedis.pool.maxTotal=100
bigDataRedis.pool.maxIdle=100
bigDataRedis.pool.maxWaitMillis=2000
bigDataRedis.pool.minIdle=50
bigDataRedis.pool.testOnBorrow=false
bigDataRedis.pool.testWhileIdle=true
# ******************** bigData redis servers end ********************
# ******************** union redis servers start ********************
unionRedis.proxy.address=192.168.102.45
unionRedis.proxy.port=6379
unionRedis.proxy.auth=
# ******************** union redis servers end ********************
# ******************** tencent upload skn data ********************
upload.tencent.url=http://data.dm.qcloud.com:8088
upload.tencent.bid=b_teg_openrecom_opq68unpsix93dy2zjco
upload.tencent.product.mark=9.99
# ******************** tencent upload skn data ********************
erp.storage=http://serve.yohobuy.com
#\u5e73\u53f0\u7aef\u767b\u9646\u5d4c\u5957iframe\u7684salt
platform.login.salt=yoho9646yoho9646
gateway.api.url=http://api-test3.yohops.com:9999
gateway.service.url=http://service-test3.yohops.com:9999
resources_https_enable=true
#makePromotion batch export
makePromotion.batch.size=1000000
makePromotion.batch.dataOffset=1000
#makePromotion batch import , unit \ufffd\ufffdminutes
makePromotion.batch.dosave.timeout=5
makePromotion.batch.thread.num=6
#sync ispromotion (prop of product ) advance time\ufffd\ufffdunit \ufffd\ufffdminutes
sync.product.isPromotion.advance.minutes=5
# ******************** message ********************
rabbit_message_center = 192.168.102.211:5672
rabbit_message_center_user = yoho
rabbit_message_center_password = yoho
rabbit_message_center_vhost = yoho
yoho.service.domain.url=http://service.yoho.yohoops.org
#\u8ba2\u9605
wechat.subscription.access.appid=wx496315d05c4a10b3
wechat.subscription.access.secret=4c017b00ffb28c55f8121f1afc2520c7
#\u670d\u52a1
wechat.access.appid=wxe5c872cd4624dedb
wechat.access.secret=562d8449920f08c61cc2c69e44754ec0
mkt.activity.domain.url=http://union.yoho.cn/union/tencentMkt/index.html
crawler.host=http://172.16.6.119:9100
mkt.app.download.url=http://m.yohobuy.com/app
mkt.pcwap.domain.url=http://union.yoho.cn/union/go
mkt.resource.code.url=https://m.yohobuy.com/channel/f8abd53b5f7c5fe558d3dd567d95ab92.html?nodownload=1
activity.url=https://activity.yoho.cn/feature/
offline.shops.url=http://192.168.102.47:8098/shops/
# lower price
# test url
# stock.req.url=http://192.168.13.3:7070/erp-gateway-web/finance/calc/calcSknLowestPrice
# online url
stock.req.url=http://54.222.172.226:80/erp-gateway-web/finance/calc/calcSknLowestPrice
auth.user.req.url=http://192.168.103.82:9098/erp-shop-web/account/profile/queryAllAuth
mkt.channelCode.guangdiantong=1061
bigdata.ad.ZHT.userid=18261
# ******************** sns-check ********************
ali.check.accessKeyId=LTAIbjgV667m6ujZ
ali.check.accessKeySecret=aDJt9zdp0FsOpa4zQ2JzccBFq5Pq6K
platform.sns.imagesimi.url=http://192.168.103.96:8787/shareOrderAudit
# ******************** sns-check ********************
manager.zkAddress = 192.168.102.45:2181
# local task host
local.task.host=172.16.6.66
# shop report service url
shop.yoho.url = http://qbs-h5-newtest1.yohops.com/shop
platformRedis.proxy.address=192.168.102.211
platformRedis.proxy.port=6379
platformRedis.proxy.auth
erpYohops.domain = http://erp.yoho.yohoops.org:9999
dataSource.URL = jdbc:mysql://192.168.102.219:3306/yh_jobmanager?useUnicode=true&amp;characterEncoding=UTF-8&testConnectionOnCheckout=false&testConnectionOnCheckin=true&idleConnectionTestPeriod=60
dataSource.user = yh_test
dataSource.password = 9nm0icOwt6bMHjMusIfMLw==
qq.serverHost = cdn.api.qcloud.com
qq.serverUri = /v2/index.php
qq.secretId = AKID6dwpKadiQgbDpXDtyNhppIHPO5qPv5GK
qq.secretKey = ACJkH9mg0DBA1PYpf0E7f3g534wBsQaW
\ No newline at end of file
... ...
datasources:
erp_product:
servers:
- 192.168.102.219:3306
- 192.168.102.219:3306
username: yh_test
password: 9nm0icOwt6bMHjMusIfMLw==
maxTotal: 100
daos:
- com.yohobuy.platform.dal.product.IProductSortMapper
- com.yohobuy.platform.dal.product.BrandCooperationMapper
- com.yohobuy.platform.dal.product.ErpProductMapper
- com.yohobuy.platform.dal.product.ProductPhotographyListMapper
- com.yohobuy.platform.dal.product.ProductPhotographyPictureMapper
- com.yohobuy.platform.dal.product.ShootRequirementMapper
- com.yohobuy.platform.dal.product.ErpGoodsMapper
- com.yohobuy.platform.dal.product.ErpProductPriceMapper
- com.yohobuy.platform.dal.product.ErpStorageMapper
- com.yohobuy.platform.dal.product.LimitProductAttachMapper
- com.yohobuy.platform.dal.product.LimitProductMapper
- com.yohobuy.platform.dal.product.NetsaleInfomissMapper
- com.yohobuy.platform.dal.product.NetsaleInfomissRelationMapper
- com.yohobuy.platform.dal.product.ProductAttributeMapper
- com.yohobuy.platform.dal.product.ProductExtMapper
- com.yohobuy.platform.dal.product.ProductPoolDetailMapper
- com.yohobuy.platform.dal.product.ProductPoolMapper
- com.yohobuy.platform.dal.product.ProductPriceMapper
- com.yohobuy.platform.dal.product.ProductStyleMapper
- com.yohobuy.platform.dal.product.ProductElementsMapper
- com.yohobuy.platform.dal.cms.IBrandDao
- com.yohobuy.platform.dal.product.IProductPriceLogDao
- com.yohobuy.platform.dal.product.ProductPayDeliveryCheckMapper
- com.yohobuy.platform.dal.product.BrandPayDeliveryCheckMapper
- com.yohobuy.platform.dal.product.YohocoinAuditMapper
- com.yohobuy.platform.dal.product.SizeMapper
- com.yohobuy.platform.dal.product.ErpProductExtAttributeMapper
- com.yohobuy.platform.dal.product.IBrandAuthorizeCertDao
- com.yohobuy.platform.dal.shops.ShopSalesCategoryMapper
- com.yohobuy.platform.dal.product.ErpProductColorMapper
- com.yohobuy.platform.dal.product.YhSortSizeMapper
- com.yohobuy.platform.dal.product.StudentRebatesMapper
- com.yohobuy.platform.dal.product.IBrandExtAttributeDAO
- com.yohobuy.platform.dal.product.IBrandStoreAllocationDAO
- com.yohobuy.platform.dal.product.IProductStoreAllocationDAO
- com.yohobuy.platform.dal.product.ErpSizeAttributeMapper
- com.yohobuy.platform.dal.product.ErpSortAttributeMapper
- com.yohobuy.platform.dal.product.IErpSizeRelationMapper
- com.yohobuy.platform.dal.product.ErpBrandFolderMapper
- com.yohobuy.platform.dal.product.ErpBrandSeriesMapper
- com.yohobuy.platform.dal.product.MakePromotionMapper
- com.yohobuy.platform.dal.product.MakePromotionListMapper
- com.yohobuy.platform.dal.product.SockpuppetCommentsMapper
- com.yohobuy.platform.dal.product.IProductTagDao
- com.yohobuy.platform.dal.product.IProductMaterialDao
- com.yohobuy.platform.dal.activity.IPrmotionPhraseDetailDAO
- com.yohobuy.platform.dal.activity.IPrmotionPhraseDAO
- com.yohobuy.platform.dal.operations.IActivityRegistrationSknDAO
- com.yohobuy.platform.dal.operations.IActivityRegistrationDAO
- com.yohobuy.platform.dal.product.HotSearchBrandMapper
- com.yohobuy.platform.dal.product.CollageActivitiesMapper
- com.yohobuy.platform.dal.product.CollageProductMapper
- com.yohobuy.platform.dal.product.VipCoinReturnMapper
yhb_operations:
servers:
- 192.168.102.219:3306
- 192.168.102.219:3306
username: yh_test
password: 9nm0icOwt6bMHjMusIfMLw==
daos:
- com.yohobuy.platform.dal.cms.IEntranceManagementDao
- com.yohobuy.platform.dal.cms.IOperationSortsDao
- com.yohobuy.platform.dal.cms.IAppVersionWarningDao
- com.yohobuy.platform.dal.search.SearchTermsMapper
- com.yohobuy.platform.dal.operations.MatchWordsDao
- com.yohobuy.platform.dal.operations.SearchWordsDao
- com.yohobuy.platform.dal.cms.IHelpContentDAO
- com.yohobuy.platform.dal.cms.IHelpCategoryDAO
- com.yohobuy.platform.dal.cms.IActivityTemplateDao
- com.yohobuy.platform.dal.cms.IActivityProductDao
- com.yohobuy.platform.dal.cms.IHotRankTagDao
- com.yohobuy.platform.dal.cms.IIconSettingDao
- com.yohobuy.platform.dal.cms.IIconZipDao
- com.yohobuy.platform.dal.cms.INoticeDao
- com.yohobuy.platform.dal.shops.IAppVersionInformationMapper
- com.yohobuy.platform.dal.cms.IWebShareDao
- com.yohobuy.platform.dal.search.EsWordDefMapper
- com.yohobuy.platform.dal.search.DynamicFieldMapper
- com.yohobuy.platform.dal.search.DynamicRuleDetailsMapper
- com.yohobuy.platform.dal.search.DynamicRuleMapper
- com.yohobuy.platform.dal.search.DynamicRulePageRelMapper
- com.yohobuy.platform.dal.cms.GateDao
- com.yohobuy.platform.dal.search.SuggestConversionCustomMapper
- com.yohobuy.platform.dal.search.SuggestWordCustomMapper
- com.yohobuy.platform.dal.search.ScoreRuleMapper
- com.yohobuy.platform.dal.search.ScoreSknRuleMapper
- com.yohobuy.platform.dal.search.ScoreSknLogMapper
- com.yohobuy.platform.dal.search.SknBlockMapper
- com.yohobuy.platform.dal.search.CsBrandKeywordMapper
- com.yohobuy.platform.dal.search.CsRecallConfigCommonMapper
- com.yohobuy.platform.dal.search.CsRecallConfigProductMapper
- com.yohobuy.platform.dal.search.CsRecallConfigSortBrandMapper
yh_operations:
servers:
- 192.168.102.219:3306
- 192.168.102.219:3306
username: yh_test
password: 9nm0icOwt6bMHjMusIfMLw==
daos:
- com.yohobuy.platform.dal.suggest.ISuggestDAO
- com.yohobuy.platform.dal.suggest.ISuggestHotDAO
- com.yohobuy.platform.dal.suggest.ISuggestReliableDAO
- com.yohobuy.platform.dal.suggest.ISuggestReplyPersonDAO
- com.yohobuy.platform.dal.operations.SpecialDao
- com.yohobuy.platform.dal.operations.IHtmlContentDao
- com.yohobuy.platform.dal.operations.HtmlContentSortMapper
- com.yohobuy.platform.dal.operations.SpecialStyleMapper
- com.yohobuy.platform.dal.operations.ActivityModuleLayoutMapper
- com.yohobuy.platform.dal.operations.ActivtyTemplatedFloorDetailMapper
- com.yohobuy.platform.dal.operations.ActivtyTemplatedFloorMapper
- com.yohobuy.platform.dal.operations.ActivtyTemplatedLogMapper
- com.yohobuy.platform.dal.operations.ActivtyTemplatedMapper
- com.yohobuy.platform.dal.operations.TemplatedComponentMapper
- com.yohobuy.platform.dal.operations.TemplatedComponentParamMapper
- com.yohobuy.platform.dal.operations.ActivtyTemplatedFloorTableMapper
- com.yohobuy.platform.dal.operations.ISearchBannerDao
- com.yohobuy.platform.dal.operations.ISearchPositionDao
- com.yohobuy.platform.dal.operations.ISearchTempletDao
- com.yohobuy.platform.dal.operations.SettingsMapper
- com.yohobuy.platform.dal.operations.AppEntranceIconCategoryMapper
- com.yohobuy.platform.dal.operations.AppEntranceIconMapper
- com.yohobuy.platform.dal.operations.AppEntranceIconTypeMapper
- com.yohobuy.platform.dal.operations.AppEntranceIconZipMapper
- com.yohobuy.platform.dal.operations.AppStartImageMapper
yh_shops:
servers:
- 192.168.102.219:3306
- 192.168.102.219:3306
username: yh_test
password: 9nm0icOwt6bMHjMusIfMLw==
daos:
- com.yohobuy.platform.dal.product.SalesCategoryLabelMapper
- com.yohobuy.platform.dal.product.SalesCategoryMapper
- com.yohobuy.platform.dal.product.ProductModelcardMapper
- com.yohobuy.platform.dal.product.ModelCardMapper
- com.yohobuy.platform.dal.product.ProductExtraInfoMapper
- com.yohobuy.platform.dal.product.ProductMapper
- com.yohobuy.platform.dal.product.GoodsMapper
- com.yohobuy.platform.dal.product.BrandDao
- com.yohobuy.platform.dal.frontDB.YhShopsBrandMapper
- com.yohobuy.platform.dal.product.ProductSearchMapper
- com.yohobuy.platform.dal.product.ProductCollocationMapper
- com.yohobuy.platform.dal.product.GoodsImagesMapper
- com.yohobuy.platform.dal.product.ProductSpecialAttrMapper
- com.yohobuy.platform.dal.product.ProductBrandRelationMapper
- com.yohobuy.platform.dal.product.ProductTimingMapper
- com.yohobuy.platform.dal.product.YhModelMapper
- com.yohobuy.platform.dal.product.YhProductIntroMapper
- com.yohobuy.platform.dal.product.ProductShopRelationMapper
- com.yohobuy.platform.dal.product.ProductKeywordsMapper
- com.yohobuy.platform.dal.product.YhStorageMapper
- com.yohobuy.platform.dal.shops.ShopGoodsImagesMapper
- com.yohobuy.platform.dal.shops.ShopGoodsMapper
- com.yohobuy.platform.dal.shops.ShopModelCardMapper
- com.yohobuy.platform.dal.shops.ShopModelMapper
- com.yohobuy.platform.dal.shops.ShopModelTryMapper
- com.yohobuy.platform.dal.shops.ShopProductCollocationMapper
- com.yohobuy.platform.dal.shops.ShopProductMapper
- com.yohobuy.platform.dal.shops.ShopProductPriceMapper
- com.yohobuy.platform.dal.shops.ShopProductSearchMapper
- com.yohobuy.platform.dal.shops.ShopProductSortMapper
- com.yohobuy.platform.dal.shops.ShopProductSpecialAttrMapper
- com.yohobuy.platform.dal.shops.ShopProductTimingMapper
- com.yohobuy.platform.dal.shops.ShopSizeMapper
- com.yohobuy.platform.dal.shops.ShopStorageMapper
- com.yohobuy.platform.dal.shops.ShopProductExtMapper
- com.yohobuy.platform.dal.product.ProductStandardRelationMapper
- com.yohobuy.platform.dal.product.ModelMapper
- com.yohobuy.platform.dal.shops.IShopSizeRelationsMapper
- com.yohobuy.platform.dal.product.ProductSizeReferenceMapper
- com.yohobuy.platform.dal.product.YhAttributeProValuesMapper
- com.yohobuy.platform.dal.product.StorageMapper
- com.yohobuy.platform.dal.product.LimitProductSkuMapper
- com.yohobuy.platform.dal.activity.ILimitProductDAO
- com.yohobuy.platform.dal.product.ParameterMakeMapper
- com.yohobuy.platform.dal.product.ProductMaterialMapper
- com.yohobuy.platform.dal.product.StandardMapper
- com.yohobuy.platform.dal.product.SizeAttributeMapper
- com.yohobuy.platform.dal.product.SizeRelationsMapper
- com.yohobuy.platform.dal.product.ProductColorMapper
- com.yohobuy.platform.dal.product.BrandFolderMapper
- com.yohobuy.platform.dal.product.BrandSeriesMapper
- com.yohobuy.platform.dal.product.SortSizeMapper
- com.yohobuy.platform.dal.product.SortAttributeMapper
- com.yohobuy.platform.dal.frontDB.ProductExtAttributeMapper
- com.yohobuy.platform.dal.shops.BrandDao
- com.yohobuy.platform.dal.product.IVideosDAO
- com.yohobuy.platform.dal.shops.ProductSalesCategoryMapper
- com.yohobuy.platform.dal.product.ShopsPromoteMapper
- com.yohobuy.platform.dal.product.ProductSingleDayDao
- com.yohobuy.platform.dal.shops.IYhShopsDAO
- com.yohobuy.platform.dal.shops.IShopsDecoratorDAO
- com.yohobuy.platform.dal.shops.IShopsDecoratorTemplateDAO
- com.yohobuy.platform.dal.shops.IShopsDecoratorTemplateResourceDAO
- com.yohobuy.platform.dal.shops.ShopsDecoratorCommentMapper
- com.yohobuy.platform.dal.shops.IFrontShopsBrandsDAO
- com.yohobuy.platform.dal.product.StandardSortMapper
- com.yohobuy.platform.dal.shops.BrandImageMapper
- com.yohobuy.platform.dal.product.IBrandSortDAO
- com.yohobuy.platform.dal.product.IMaterialDao
- com.yohobuy.platform.dal.product.IProductUrlDao
- com.yohobuy.platform.dal.operations.ISearchStyleDao
- com.yohobuy.platform.dal.shops.NewUserRecProductMapper
- com.yohobuy.platform.dal.shops.BrandThirdRelationMapper
- com.yohobuy.platform.dal.product.IFrontProductStoreAllocationMapper
- com.yohobuy.platform.dal.shops.IFrontShopStoreAllocationMapper
- com.yohobuy.platform.dal.product.ProductVipMapper
- com.yohobuy.platform.dal.product.YhShopsProductScanMapper
- com.yohobuy.platform.dal.shops.ShopActivityMapper
- com.yohobuy.platform.dal.shops.IFrontProductAllocationAuditDAO
yh_resource:
servers:
- 192.168.102.219:3306
- 192.168.102.219:3306
username: yh_test
password: 9nm0icOwt6bMHjMusIfMLw==
daos:
- com.yohobuy.platform.dal.cms.IPlatformDao
- com.yohobuy.platform.dal.cms.IResourcesDao
- com.yohobuy.platform.dal.cms.IResourcesContentDao
- com.yohobuy.platform.dal.cms.IResourcesContentDataDao
- com.yohobuy.platform.dal.cms.IResourcesSortDao
- com.yohobuy.platform.dal.cms.IClientConfigDao
- com.yohobuy.platform.dal.cms.SingleResourcesDao
erp_supplier:
servers:
- 192.168.102.219:3306
- 192.168.102.219:3306
username: yh_test
password: 9nm0icOwt6bMHjMusIfMLw==
maxTotal: 100
daos:
- com.yohobuy.platform.dal.shops.IShopsDAO
- com.yohobuy.platform.dal.shops.IShopsBrandsDAO
- com.yohobuy.platform.dal.shops.ISupplierBrandDAO
- com.yohobuy.platform.dal.supplier.BaseSingleMapper
- com.yohobuy.platform.dal.supplier.ISupplierDAO
- com.yohobuy.platform.dal.supplier.ISupplierCheckDAO
- com.yohobuy.platform.dal.agreement.IAgreementClauseDAO
- com.yohobuy.platform.dal.agreement.IAgreementDAO
- com.yohobuy.platform.dal.agreement.IClauseSettlementDAO
- com.yohobuy.platform.dal.product.BaseProductMapper
- com.yohobuy.platform.dal.product.BaseGoodsMapper
- com.yohobuy.platform.dal.shops.SupplierSalersCategoryMapper
- com.yohobuy.platform.dal.supplier.ErpSupplierProductExtMapper
- com.yohobuy.platform.dal.shops.IShopsAdminDAO
- com.yohobuy.platform.dal.shops.IShopsCheckDAO
- com.yohobuy.platform.dal.shops.ShopDecoratorMapper
- com.yohobuy.platform.dal.shops.ShopDecoratorTemplateMapper
- com.yohobuy.platform.dal.shops.ShopDecoratorModuleResourceMapper
- com.yohobuy.platform.dal.shops.ShopStoreAllocationMapper
- com.yohobuy.platform.dal.shops.ISessionDAO
- com.yohobuy.platform.dal.shops.ShopCrossRecMapper
- com.yohobuy.platform.dal.shops.ShopPriceShowMapper
- com.yohobuy.platform.dal.promotion.ShopCouponLimitMapper
erp_account:
servers:
- 192.168.102.219:3306
- 192.168.102.219:3306
username: yh_test
password: 9nm0icOwt6bMHjMusIfMLw==
daos:
- com.yohobuy.platform.dal.account.IDeptDAO
- com.yohobuy.platform.dal.account.IProfileDAO
- com.yohobuy.platform.dal.account.IProfileSupplierDAO
- com.yohobuy.platform.dal.account.RoleMapper
bigdata_offline_shop:
servers:
- 118.89.235.30:3306
username: yh_test_bigdata
password: rALdkYPZCr4QyzBfVCGdXA==
daos:
- com.yohobuy.platform.dal.reportform.ISaleReportMapper
yh_events:
servers:
- 192.168.102.219:3306
- 192.168.102.219:3306
username: yh_test
password: 9nm0icOwt6bMHjMusIfMLw==
daos:
- com.yohobuy.platform.dal.event.SpecialActivityMapper
- com.yohobuy.platform.dal.event.CouponSendManagerMapper
- com.yohobuy.platform.dal.event.ICouponActivityMapper
- com.yohobuy.platform.dal.event.IActivityConfigurationMapper
yh_guang:
servers:
- 192.168.102.219:3306
- 192.168.102.219:3306
username: yh_test
password: 9nm0icOwt6bMHjMusIfMLw==
daos:
- com.yohobuy.platform.dal.guang.IArticleDAO
- com.yohobuy.platform.dal.guang.IAuthorDAO
- com.yohobuy.platform.dal.guang.IArticleSortDAO
- com.yohobuy.platform.dal.guang.IArticleBlockDAO
- com.yohobuy.platform.dal.guang.IArticleBrandRelationDAO
- com.yohobuy.platform.dal.guang.IArticleBrowseDAO
- com.yohobuy.platform.dal.guang.IArticleTagsClassifyDAO
- com.yohobuy.platform.dal.guang.IArticleTagsDAO
- com.yohobuy.platform.dal.guang.IBrandImgDAO
- com.yohobuy.platform.dal.guang.IBrandRelationDAO
- com.yohobuy.platform.dal.guang.IBrandRelationshipDAO
- com.yohobuy.platform.dal.guang.ICommentsDAO
- com.yohobuy.platform.dal.guang.IPlustarCategoryDAO
- com.yohobuy.platform.dal.guang.IRelationshipImageDAO
- com.yohobuy.platform.dal.guang.ResourceTabMapper
yhb_promotion:
servers:
- 192.168.102.219:3306
- 192.168.102.219:3306
username: yh_test
password: 9nm0icOwt6bMHjMusIfMLw==
daos:
- com.yohobuy.platform.dal.promotion.ILimitCodeMapper
- com.yohobuy.platform.dal.promotion.ILimitCodeBatchNoMapper
- com.yohobuy.platform.dal.promotion.IPromotionCodeMapper
- com.yohobuy.platform.dal.promotion.IEventConfigMapper
- com.yohobuy.platform.dal.promotion.IActivityInfoMapper
- com.yohobuy.platform.dal.users.LimitCodeReceiveRecordMapper
- com.yohobuy.platform.dal.promotion.ICouponsSendInfoMapper
- com.yohobuy.platform.dal.promotion.IPCouponsSnMapper
- com.yohobuy.platform.dal.promotion.IBrandCouponMapper
- com.yohobuy.platform.dal.promotion.ILimitCodeSkuMapper
- com.yohobuy.platform.dal.promotion.CouponsSendErrorMapper
- com.yohobuy.platform.dal.promotion.ILimitCodeReceiveRecordMapper
- com.yohobuy.platform.dal.promotion.IErpInstalmentInfoMapper
- com.yohobuy.platform.dal.promotion.IErpInstalmentProductMapper
- com.yohobuy.platform.dal.promotion.ICouponSNMapper
- com.yohobuy.platform.dal.promotion.CouponsUseRuleMapper
- com.yohobuy.platform.dal.promotion.CouponsSknExcludeMapper
- com.yohobuy.platform.dal.promotion.PromotionInfoMapper
- com.yohobuy.platform.dal.promotion.PromotionParamsMapper
- com.yohobuy.platform.dal.promotion.PromotionProductFlagsMapper
- com.yohobuy.platform.dal.promotion.PromotionLogMapper
- com.yohobuy.platform.dal.operations.IProductBuyLimitDAO
- com.yohobuy.platform.dal.promotion.PromotionParamsDao
- com.yohobuy.platform.dal.promotion.PromotionInfoDao
- com.yohobuy.platform.dal.promotion.DepartmentMapper
- com.yohobuy.platform.dal.promotion.ICouponOperationMapper
- com.yohobuy.platform.dal.promotion.ShopCouponsMapper
- com.yohobuy.platform.dal.promotion.CouponShopInfoMapper
yhb_promotion_split:
servers:
- 192.168.102.202:8066
- 192.168.102.202:8066
clusterName: platform
username: yh_test
password: 9nm0icOwt6bMHjMusIfMLw==
cobar: false
daos:
- com.yohobuy.platform.dal.promotion.ICouponMapper
- com.yohobuy.platform.dal.promotion.ICouponsLogsMapper
yh_coupons:
servers:
- 192.168.102.219:3306
- 192.168.102.219:3306
username: yh_test
password: 9nm0icOwt6bMHjMusIfMLw==
daos:
- com.yohobuy.platform.dal.promotion.ICollarCouponsLogsMapper
- com.yohobuy.platform.dal.promotion.ICollarCouponsMapper
- com.yohobuy.platform.dal.promotion.ICollarCouponsRelationMapper
- com.yohobuy.platform.dal.promotion.ProductLimitMapper
yoho_activity:
servers:
- 192.168.102.219:3306
- 192.168.102.219:3306
username: yh_test
password: 9nm0icOwt6bMHjMusIfMLw==
daos:
- com.yohobuy.platform.dal.activity.IDrawlineActivityDAO
- com.yohobuy.platform.dal.activity.IDrawlinePrizeSettingDAO
- com.yohobuy.platform.dal.activity.IDrawlineLuckyUserDAO
- com.yohobuy.platform.dal.activity.IDrawlineUserQueueDAO
- com.yohobuy.platform.dal.staticfile.IStaticFileDAO
- com.yohobuy.platform.dal.activity.IDrawlineLuckyUserBakDAO
- com.yohobuy.platform.dal.activity.IDrawlineActivityLuckydrawDAO
- com.yohobuy.platform.dal.activity.IActivityConfigDAO
- com.yohobuy.platform.dal.activity.IUserCouponHistoryDAO
- com.yohobuy.platform.dal.activity.IUserShareHistoryDAO
- com.yohobuy.platform.dal.activity.IOrderShareCouponDAO
yoho_passport:
servers:
- 192.168.102.219:3306
- 192.168.102.219:3306
username: yh_test
password: 9nm0icOwt6bMHjMusIfMLw==
daos:
- com.yohobuy.platform.dal.users.YohoCoinActivityDao
- com.yohobuy.platform.dal.users.IPermitLoginUser
- com.yohobuy.platform.dal.product.RecommendSknMapper
yh_community:
servers:
- 192.168.102.219:3306
- 192.168.102.219:3306
username: yh_test
password: 9nm0icOwt6bMHjMusIfMLw==
daos:
- com.yohobuy.platform.dal.users.IVerifiedGraphicImgDAO
yh_passport:
servers:
- 192.168.102.219:3306
- 192.168.102.219:3306
username: yh_test
password: 9nm0icOwt6bMHjMusIfMLw==
daos:
- com.yohobuy.platform.dal.users.ReminderMapper
- com.yohobuy.platform.dal.product.SecKillReminderMapper
- com.yohobuy.platform.dal.users.NoticeTemplateMapper
yh_consult:
servers:
- 192.168.102.219:3306
- 192.168.102.219:3306
username: yh_test
password: 9nm0icOwt6bMHjMusIfMLw==
daos:
- com.yohobuy.platform.dal.operations.IConsultDAO
yh_inbox:
servers:
- 192.168.102.219:3306
- 192.168.102.219:3306
username: yh_test
password: 9nm0icOwt6bMHjMusIfMLw==
daos:
- com.yohobuy.platform.dal.message.IInBoxDAO
- com.yohobuy.platform.dal.shops.ShopInboxMapper
yoho_pay:
servers:
- 192.168.102.219:3306
- 192.168.102.219:3306
username: yh_test
password: 9nm0icOwt6bMHjMusIfMLw==
daos:
- com.yohobuy.platform.dal.cms.ICmsPayDAO
yh_comment:
servers:
- 192.168.102.219:3306
- 192.168.102.219:3306
username: yh_test
password: 9nm0icOwt6bMHjMusIfMLw==
daos:
- com.yohobuy.platform.dal.show.IShowCommentDao
- com.yohobuy.platform.dal.show.MarkedSnsImageMapper
- com.yohobuy.platform.dal.show.SnsProductMapper
yh_cms:
servers:
- 192.168.102.219:3306
- 192.168.102.219:3306
username: yh_test
password: 9nm0icOwt6bMHjMusIfMLw==
daos:
- com.yohobuy.platform.dal.product.ICountryInfoDAO
yh_setting:
servers:
- 192.168.102.219:3306
- 192.168.102.219:3306
username: yh_test
password: 9nm0icOwt6bMHjMusIfMLw==
daos:
- com.yohobuy.platform.dal.setting.ISysConfigDAO
yh_unions:
servers:
- 192.168.102.219:3306
- 192.168.102.219:3306
username: yh_test
password: 9nm0icOwt6bMHjMusIfMLw==
daos:
- com.yohobuy.platform.dal.unionType.IUnionTypeDAO
- com.yohobuy.platform.dal.unionType.IMktMarketingChannelDAO
- com.yohobuy.platform.dal.unionType.IMktMarketingClassDAO
- com.yohobuy.platform.dal.unionType.IMktMarketingDivisionDAO
- com.yohobuy.platform.dal.unionType.IMktMarketingUrlDAO
- com.yohobuy.platform.dal.unionType.IMktOperateLogDAO
- com.yohobuy.platform.dal.unionType.IMktLongShortUrlDAO
- com.yohobuy.platform.dal.unionType.IMktActivityConfigDAO
- com.yohobuy.platform.dal.unionType.IMktMarketingBusinessDAO
- com.yohobuy.platform.dal.unionType.IMktMarketingLandingPageTypeDAO
- com.yohobuy.platform.dal.unionType.IMktAppDownloadUrlDAO
- com.yohobuy.platform.dal.reportform.AllReportFormMapper
- com.yohobuy.platform.dal.reportform.CpsReportFormMapper
- com.yohobuy.platform.dal.reportform.SemReportFormMapper
- com.yohobuy.platform.dal.unionType.IMktPriceCollectionDAO
- com.yohobuy.platform.dal.reportform.IMktReportFormMapper
- com.yohobuy.platform.dal.unionType.IMktUnionCodeDAO
- com.yohobuy.platform.dal.unionType.IQrcodeUnionTypeDAO
- com.yohobuy.platform.dal.unionType.UnionClickCountDayMapper
bigdata_yh_unions:
servers:
- 192.168.102.219:3306
- 192.168.102.219:3306
username: yh_test
password: 9nm0icOwt6bMHjMusIfMLw==
daos:
- com.yohobuy.platform.dal.reportform.IVAppAdAppSourceAna
- com.yohobuy.platform.dal.reportform.AppAdWebSourceAnaMapper
- com.yohobuy.platform.dal.reportform.VBdChannelSmsAnaMapper
- com.yohobuy.platform.dal.reportform.IAppAdCouponOrderAna
- com.yohobuy.platform.dal.reportform.IBdChannelBusinessAna
- com.yohobuy.platform.dal.reportform.IBdChannelSmcDetailAna
- com.yohobuy.platform.dal.operations.AppAdCpsSourceAnaMapper
- com.yohobuy.platform.dal.reportform.BigDataReportFormMapper
yh_lottery:
servers:
- 192.168.102.219:3306
- 192.168.102.219:3306
clusterName: platform
username: yh_test
password: 9nm0icOwt6bMHjMusIfMLw==
cobar: false
maxConnections: 80
minIdle: 20
maxIdle: 40
daos:
- com.yohobuy.platform.dal.operations.ILotteryDAO
- com.yohobuy.platform.dal.operations.IPrizeDAO
yoho_sms:
servers:
- 192.168.102.219:3306
- 192.168.102.219:3306
username: yh_test
password: 9nm0icOwt6bMHjMusIfMLw==
daos:
- com.yohobuy.platform.dal.message.TemplateMapper
readOnlyInSlave: true
... ...
# global configurations, ConfigReader will write this file to zookeeper.
# tencent product info auto upload switch
platform.degrade.upload.tencent.product.enable=true
# big data product info auto upload switch
platform.degrade.upload.bigdata.product.enable=true
# big data product info(360) auto upload switch
platform.degrade.upload360.bigdata.product.enable = true
platform.sns.sensitiveWord=
#\u03a5\ufffd\ufffd\ufffd\u02a3\ufffd\ufffd\ufffd\ufffd\u04bc\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u04bc\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u7f36\ufffd\ufffd\ufffd\ufffd\ufffd\u7f09\ufffd\ufffd\ufffd\ufffd\u07fc\ufffd\ufffd\ufffd\ufffd\ufffd\u07fc\ufffd\ufffd\ufffd\ufffd\ufffd\u04bb\ufffd\ufffd\u03a8\u04bb\ufffd\ufffd\ufffd\u05f8\ufffd\ufffd\ufffd\ufffd\u05c2\ufffd\ufffd\ufffd\ufffd\ufffd\u0461\ufffd\ufffd\ufffd\ufffd\ufffdx\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ud53c\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u04bc\ufffd\ufffd\ufffd\u01b7\ufffd\ufffd\ufffd\ufffd\ufffd\u04bc\ufffd\ufffda\u01b7\ufffd\ufffd\ufffd\ufffd\ufffd\u06bf\u0570\u05e1\ufffd\ufffd\ufffd\ufffd\u023f\u0570\u05e1\ufffd\ufffd\ufffd\ufffd\u04a1\ufffd\ufffd\ufffd\ufffd\u04a1\ufffd\ufffd\u05fc\u04a1\ufffd\ufffd\ufffd\ufffd\u00a1\ufffd\ufffd\ufffd\ufffd\u023d\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffdM\ufffd\ufffd\ufffd\ufffd\u04bb\u01b7\ufffd\u01a1\ufffd\ufffd\ufffd\ufffd\u01a1\ufffd\ufffd\ufffd\ufffd\u01a1\ufffd\ufffd\ufffd\ufffd\u3862\ufffd\ufffd\ufffd\u3862\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ud53c\ufffd\ufffd\ufffd\u022b\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u04bb\ufffd\ufffd\u022b\ufffdW\ufffdN\ufffd\ufffd\ufffd\ufffd\u04bb\ufffd\ufffd\u022b\ufffd\ufffd\ufffd\u05f7\ufffd\ufffd\ufffd\u022b\ufffd\ufffd\ufffd\u05f0l\ufffd\ufffd\u022b\ufffd\ufffd\ufffd\u05fc\u04a1\ufffd\u022b\ufffd\ufffd\ufffd\u05fc\u04a1\ufffd\u022b\ufffd\ufffd\ufffd\u05f7\ufffd\ufffd\ufffd\u022b\ufffdW\ufffd\u05f0l\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u0221\ufffd\ufffd\ufffd\ufffd\ufffd\ufffdI\ufffd\u0221\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u0561\ufffd\ud53c\ufffd\ufffd\ufffd\u02c7\ufffd\ufffd\ufffd\ufffd\ufffd\u01a1\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u06be\ufffd\ufffd\ufffd\ufffdN\ufffd\ufffd\ufffd\ufffd\u070a\ufffd\ufffdNO1\ufffd\ufffdTop1\ufffd\ufffd\ufffd\ufffd\ufffd\u00a1\ufffd\ufffdO\ufffd\u00a1\ufffd\ufffd\ufffd\ufffd\u00e1\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u02e1\ufffd\ufffd\ufffd\ufffdT\ufffd\u02e1\ufffd\ufffd\ufffd\ufffd\ufffd\u01b7\ufffd\u01a1\ufffd\ufffdI\ufffd\ufffd\u01b7\ufffd\u01a1\ufffd\ufffd\ufffd\u04bb\ufffd\u07b6\ufffd\ufffd\ufffd\ufffd\ufffd\u04bb\ufffdo\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u07bd\ufffd\ufffd\u0421\ufffd\ufffd^\ufffdo\ufffdH\ufffd\u0421\ufffd\u02b7\ufffd\ufffd\u01f0\ufffd\ufffd\ufffd\ufffd\u02b7\ufffdo\u01f0\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u0721\ufffd\ufffdf\ufffd\u0721\ufffd\ufffd\ufffd\u07e1\ufffd\ufffd\ufffd\u0361\ufffd\ufffd\ue862\ufffd\ufffd\u07e1\ufffd\ufffd\ufffd\ufffd\ufffd\u02e1\ufffd\ufffd\ufffd\ufffd\u00a1\ufffd\ufffd\ufffd\ufffd\u023d\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffdM\ufffd\ufffd\ufffd\ufffd\ufffd\u0336\u0221\ufffd\ufffd\ufffd\ufffd\u00bc\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u00bc\ufffd\ufffdg\ufffd\ufffd\ufffd\ufffd\ufffd\u023d\ufffd\ufffd\ufffd\u0467\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffdM\ufffd\u018cW\ufffd\ufffd\ufffd\ufffd\u0461\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u00e1\ufffd\ufffd\ufffd\ufffd\u00bf\ufffd\u0467\ufffd\ufffd\ufffd\ufffd\ufffd\u00bf\u018cW\ufffd\ufffd\ufffd\ufffd\ufffd\u023d\ufffd\ufffd\u04f9\ufffd\ufffd\ufffd\ufffd\u0561\ufffd\ufffd\ufffd\ufffd\ufffd\ufffdM\ufffd\u04f9\ufffd\ufffd\ufffd\u02c7\ufffd\ufffd\ufffd\ufffd\u02b1\ufffd\u0421\ufffd\ufffd\ufffdr\ufffd\u0421\ufffd\ufffd\ufffd\ufffd\u073b\ufffd\u04ed\ufffd\ufffd\ufffd\ufffd\ufffd\u071ag\u04ed\ufffd\ufffd\ufffd\ufffd\ufffd\u0221\ufffd\ufffd\ufffd\ufffd\ufffd\u05b5\ufffd\ufffd\ufffd^\ufffd\ufffd\u05b5\ufffd\ufffd\ufffd\ufffd\ufffd\u0521\ufffd\ufffd^\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u01a1\ufffd\ufffd\ufffd\u0237\ufffd\ufffd\ufffd\ufffd\ufffd_\ufffd\ufffd\ufffd\ufffd\u05ec\ufffd\ufffd\ufffd\ufffd\u064d\ufffd\ufffd\ufffd\ucd7c\u01b7\ufffd\u01a1\ufffd\ufffdI\ufffd\ufffd\u01b7\ufffd\u01a1\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u0421\ufffd\ufffdI\ufffd\ufffd\ufffd\ufffd\ufffd\u0421\ufffd\ufffd\ufffd\ufffd\u01e1\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u0773\u07a1\ufffd\ufffd\ufffd\ufffd\ufffd\u022b\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u022b\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u01b7\ufffd\ufffd\u05ae\u04bb\ufffd\ufffd100%\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u01b7\ufffd\u02a1\ufffd\ufffd\ufffd\ufffdH\u01b7\ufffd|\ufffd\ufffd\ufffd\u07f5\ufffd\ufffd\ufffd\ufffd\u07d9n\ufffd\ufffd\ufffd\ufffd\u01b7\ufffd\ufffd\ufffd\ufffd\u02b1\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffdS\ufffdr\ufffdY\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u04bb\ufffd\u03a1\ufffd\ufffdH\ufffd\ufffd\u04bb\ufffd\u03a1\ufffd\ufffd\ufffd\u02b1\ufffd\u01fc\u06e1\ufffd\ufffdS\ufffdr\ufffdq\ufffdr\ufffd\ufffd\ufffd\ufffd\ufffd\u03fd\ufffd\ufffd\u06e1\ufffd\ufffdR\ufffd\u03fd\ufffd\ufffdr\ufffd\ufffd\ufffd\ufffd\ufffd\u04bb\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u04bb\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\uc862\ufffd|\ufffd\ufffd\ufffd\ufffdz\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u2862\ufffdo\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd|\ufffd\ufffd\ufffdz\ufffdy\ufffd\ufffd\ufffd\ufffd\ufffd\uc862\ufffd\ufffd\ufffdz\ufffd\ufffd\ufffd\ufffd\ufffd\u05ba\u0161\ufffd\ufffd\ufffd\ufffd\ufffd\u0316\ufffd\ufffd\ufffd\u0439\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u0331\ua862\ufffd\u0407\ufffd\ufffdY\ufffd\ufffd\ufffd\u0318\u02e1\ufffd\ufffd\u0639\ufffd\ufffd\ufffd\u05e8\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\\ufffd\u2862\ufffd\ufffd\u01ff\ufffd\ufffd\ufffd\ufffd\ufffd\u0421\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u0421\ufffd\ufffd\ufffd\ufffd\ufffd\u0421\ufffd\u02e1\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u04b5\ufffd\u02e1\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u0098I\ufffd\\ufffd\ufffd\ufffd\u0432\u01bd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u0614\ufffdM\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\udb46\udcbd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffdF\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\\ufffd\u2862\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u04b5\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u0098I\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffdo\ufffd\ufffd\u01bd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u01bd\ufffd\ufffd\ufffd\ufffd\u0613\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u0479\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u0479\ufffd\ufffd\ufffd{\ufffd\u035a\u227a\ufffd\ufffd\ufffd\ufffd\ufffd\u05fb\ufffd\ufffd\ufffd\ufffd\ufffd\u02b1\ufffd\ufffd\ufffd\ufffd\u05ea\ufffd\ufffd\ufffdr\ufffd\ufffd\ufffd\\ufffdD\ufffd\ufffd\ufffd\ufffd\ufffd\u00ba\ufffd\u0368\ufffd\ufffd\ufffdf\ufffd\u00ba\ufffd\u0368\ufffd\ufffd\ufffd\ufffd\ufffd\u02e1\ufffd\ufffd\ufffd\ufffd\u01a1\ufffd\ufffd\ufffd\u0614\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u05e1\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u0703\ufffd\ufffd\ufffd\u05ea\ufffd\ufffd\ufffd\u0438\ufffd\ufffd\ufffd\ufffdD\ufffd\ufffd\ufffd\u0438\ufffd\ufffd\ufffd\ufffd\ufffd\u0427\ufffd\ufffd\ufffd\ufffd\u0427\ufffd\ufffd\u022b\u0427\ufffd\ufffd\u01ff\u0427\ufffd\ufffd\ufffd\ufffd\u0427\ufffd\ufffd\ufffd\u0670\u05e1\ufffd\u04bb\u03f4\ufffd\u05e1\ufffd\ufffd\ufffd\ufffd\u0427\ufffd\ufffd\ufffd\ufffd\u048a\u0427\ufffd\ufffd\ufffd\ufffd\ufffd\u06bc\ufffd\u0427\ufffd\ufffd\ufffdL\ufffd\ufffd\u048a\u0427\ufffd\ufffd\ufffd\ufffd\u01ff\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ue862\u022b\ufffd\ufffd\u03bb\ufffd\ufffd\u022b\ufffd\ufffd
platform.sensitive.words = \u56fd\u5bb6\u7ea7\u3001\u570b\u5bb6\u7d1a\u3001\u4e16\u754c\u7ea7\u3001\u4e16\u754c\u7d1a\u3001\u6700\u9ad8\u7ea7\u3001\u6700\u9ad8\u7d1a\u3001\u7b2c\u4e00\u3001\u552f\u4e00\u3001\u9996\u4e2a\u3001\u9996\u500b\u3001\u9996\u9009\u3001\u9996\u9078\u3001\u9876\u7ea7\u3001\u9802\u7d1a\u3001\u56fd\u5bb6\u7ea7\u4ea7\u54c1\u3001\u570b\u5bb6\u7d1a\u7522\u54c1\u3001\u56fd\u5185\u7a7a\u767d\u3001\u570b\u5167\u7a7a\u767d\u3001\u72ec\u5bb6\u3001\u7368\u5bb6\u3001\u9996\u5bb6\u3001\u6700\u65b0\u3001\u6700\u5148\u8fdb\u3001\u6700\u5148\u9032\u3001\u7b2c\u4e00\u54c1\u724c\u3001\u91d1\u724c\u3001\u540d\u724c\u3001\u4f18\u79c0\u3001\u512a\u79c0\u3001\u9876\u7ea7\u3001\u9802\u7d1a\u3001\u5168\u7f51\u9500\u91cf\u7b2c\u4e00\u3001\u5168\u7db2\u92b7\u91cf\u7b2c\u4e00\u3001\u5168\u7403\u9996\u53d1\u3001\u5168\u7403\u9996\u767c\u3001\u5168\u56fd\u9996\u5bb6\u3001\u5168\u570b\u9996\u5bb6\u3001\u5168\u7f51\u9996\u53d1\u3001\u5168\u7db2\u9996\u767c\u3001\u4e16\u754c\u9886\u5148\u3001\u4e16\u754c\u9818\u5148\u3001\u9876\u7ea7\u5de5\u827a\u3001\u9802\u7d1a\u5de5\u85dd\u3001\u738b\u724c\u3001\u9500\u91cf\u51a0\u519b\u3001\u92b7\u91cf\u51a0\u8ecd\u3001NO1\u3001Top1\u3001\u6781\u81f4\u3001\u6975\u81f4\u3001\u6c38\u4e45\u3001\u638c\u95e8\u4eba\u3001\u638c\u9580\u4eba\u3001\u9886\u8896\u54c1\u724c\u3001\u9818\u8896\u54c1\u724c\u3001\u72ec\u4e00\u65e0\u4e8c\u3001\u7368\u4e00\u7121\u4e8c\u3001\u7edd\u65e0\u4ec5\u6709\u3001\u7d55\u7121\u50c5\u6709\u3001\u53f2\u65e0\u524d\u4f8b\u3001\u53f2\u7121\u524d\u4f8b\u3001\u4e07\u80fd\u3001\u842c\u80fd\u3001\u6700\u9ad8\u3001\u6700\u4f4e\u3001\u6700\u3001\u6700\u5177\u3001\u6700\u4fbf\u5b9c\u3001\u6700\u65b0\u3001\u6700\u5148\u8fdb\u3001\u6700\u5148\u9032\u3001\u6700\u5927\u7a0b\u5ea6\u3001\u6700\u65b0\u6280\u672f\u3001\u6700\u65b0\u6280\u8853\u3001\u6700\u5148\u8fdb\u79d1\u5b66\u3001\u6700\u5148\u9032\u79d1\u5b78\u3001\u6700\u4f73\u3001\u6700\u5927\u3001\u6700\u597d\u3001\u6700\u65b0\u79d1\u5b66\u3001\u6700\u65b0\u79d1\u5b78\u3001\u6700\u5148\u8fdb\u52a0\u5de5\u5de5\u827a\u3001\u6700\u5148\u9032\u52a0\u5de5\u5de5\u85dd\u3001\u6700\u65f6\u5c1a\u3001\u6700\u6642\u5c1a\u3001\u6700\u53d7\u6b22\u8fce\u3001\u6700\u53d7\u6b61\u8fce\u3001\u6700\u5148\u3001\u7edd\u5bf9\u503c\u3001\u7d55\u5c0d\u503c\u3001\u7edd\u5bf9\u3001\u7d55\u5c0d\u3001\u5927\u724c\u3001\u7cbe\u786e\u3001\u7cbe\u78ba\u3001\u8d85\u8d5a\u3001\u8d85\u8cfa\u3001\u9886\u5bfc\u54c1\u724c\u3001\u9818\u5c0e\u54c1\u724c\u3001\u9886\u5148\u4e0a\u5e02\u3001\u9818\u5148\u4e0a\u5e02\u3001\u5de8\u661f\u3001\u8457\u540d\u3001\u5962\u4f88\u3001\u4e16\u754c\u5168\u56fd\u3001\u4e16\u754c\u5168\u570b\u3001\u5927\u54c1\u724c\u4e4b\u4e00\u3001100%\u3001\u56fd\u9645\u54c1\u8d28\u3001\u570b\u969b\u54c1\u8cea\u3001\u9ad8\u6863\u3001\u9ad8\u6a94\u3001\u6b63\u54c1\u3001\u968f\u65f6\u7ed3\u675f\u3001\u96a8\u6642\u7d50\u675f\u3001\u4ec5\u6b64\u4e00\u6b21\u3001\u50c5\u6b64\u4e00\u6b21\u3001\u968f\u65f6\u6da8\u4ef7\u3001\u96a8\u6642\u6f32\u50f9\u3001\u9a6c\u4e0a\u964d\u4ef7\u3001\u99ac\u4e0a\u964d\u50f9\u3001\u6700\u540e\u4e00\u6ce2\u3001\u6700\u5f8c\u4e00\u6ce2\u3001\u8d28\u91cf\u514d\u68c0\u3001\u8cea\u91cf\u514d\u6aa2\u3001\u65e0\u9700\u56fd\u5bb6\u8d28\u91cf\u68c0\u6d4b\u3001\u7121\u9700\u570b\u5bb6\u8cea\u91cf\u6aa2\u6e2c\u3001\u514d\u62bd\u68c0\u3001\u514d\u62bd\u6aa2\u3001\u8001\u5b57\u53f7\u3001\u8001\u5b57\u865f\u3001\u4e2d\u56fd\u9a70\u540d\u5546\u6807\u3001\u4e2d\u570b\u99b3\u540d\u5546\u6a19\u3001\u7279\u4f9b\u3001\u4e13\u4f9b\u3001\u5c08\u4f9b\u3001\u5e26\u6765\u597d\u8fd0\u6c14\u3001\u5e36\u4f86\u597d\u904b\u6c23\u3001\u589e\u5f3a\u7b2c\u516d\u611f\u3001\u589e\u5f37\u7b2c\u516d\u611f\u3001\u5316\u89e3\u5c0f\u4eba\u3001\u589e\u52a0\u4e8b\u4e1a\u8fd0\u3001\u589e\u52a0\u4e8b\u696d\u904b\u3001\u62db\u8d22\u8fdb\u5b9d\u3001\u62db\u8ca1\u9032\u5bf6\u3001\u5065\u5eb7\u5bcc\u8d35\u3001\u5065\u5eb7\u5bf6\u8cb4\u3001\u63d0\u5347\u8fd0\u6c14\u3001\u63d0\u5347\u904b\u6c23\u3001\u6709\u52a9\u4e8b\u4e1a\u3001\u6709\u52a9\u4e8b\u696d\u3001\u62a4\u8eab\u3001\u8b77\u8eab\u3001\u5e73\u8861\u6b63\u8d1f\u80fd\u91cf\u3001\u5e73\u8861\u6b63\u8ca0\u80fd\u91cf\u3001\u6d88\u9664\u7cbe\u795e\u538b\u529b\u3001\u6d88\u9664\u7cbe\u795e\u58d3\u529b\u3001\u8c03\u548c\u6c14\u538b\u3001\u8abf\u548c\u6c23\u58d3\u3001\u9022\u51f6\u5316\u5409\u3001\u65f6\u6765\u8fd0\u8f6c\u3001\u6642\u4f86\u904b\u8f49\u3001\u4e07\u4e8b\u4ea8\u901a\u3001\u842c\u4e8b\u4ea8\u901a\u3001\u65fa\u4eba\u3001\u65fa\u8d22\u3001\u65fa\u8ca1\u3001\u52a9\u5409\u907f\u51f6\u3001\u52a9\u5409\u907f\u5147\u3001\u8f6c\u5bcc\u62db\u798f\u3001\u8f49\u5bcc\u62db\u798f\u3001\u7279\u6548\u3001\u9ad8\u6548\u3001\u5168\u6548\u3001\u5f3a\u6548\u3001\u901f\u6548\u3001\u901f\u767d\u3001\u4e00\u6d17\u767d\u3001\u5929\u89c1\u6548\u3001\u5929\u898b\u6548\u3001\u5468\u671f\u89c1\u6548\u3001\u9031\u671f\u898b\u6548\u3001\u8d85\u5f3a\u3001\u8d85\u5f37\u3001\u6fc0\u6d3b\u3001\u5168\u65b9\u4f4d\u3001\u5168\u9762
platform.degrade.product.price.follow.enable=true
platform.degrade.product.price.auto.follow.enable=true
#\u6bcf\u6b21\u6279\u91cf\u67e5\u8be2\u54c1\u724c\u6761\u7801\u7684\u6570\u91cf\u914d\u7f6e
platform.product.nationalCode.batch.time = 8
\ No newline at end of file
... ...
<?xml version="1.0" encoding="UTF-8"?>
<!-- 从高到地低 OFF 、 FATAL 、 ERROR 、 WARN 、 INFO 、 DEBUG 、 TRACE 、 ALL -->
<!-- 日志输出规则 根据当前ROOT 级别,日志输出时,级别高于root默认的级别时 会输出 -->
<!-- 以下 每个配置的 filter 是过滤掉输出文件里面,会出现高级别文件,依然出现低级别的日志信息,通过filter 过滤只记录本级别的日志-->
<!-- 属性描述 scan:性设置为true时,配置文件如果发生改变,将会被重新加载,默认值为true scanPeriod:设置监测配置文件是否有修改的时间间隔,如果没有给出时间单位,默认单位是毫秒。当scan为true时,此属性生效。默认的时间间隔为1分钟。
debug:当此属性设置为true时,将打印出logback内部日志信息,实时查看logback运行状态。默认值为false。 -->
<configuration scan="true" scanPeriod="60 seconds" debug="false">
<!-- 日志最大的历史 7天 -->
<property name="maxHistory" value="7"/>
<!-- 日志最大的文件大小 10MB -->
<property name="maxFileSize" value="10MB"/>
<!-- ConsoleAppender 控制台输出日志 -->
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<!-- 对日志进行格式化 -->
<encoder>
<pattern>%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger:%line -%msg%n</pattern>
</encoder>
</appender>
<!-- WARN级别日志 appender -->
<appender name="WARN" class="ch.qos.logback.core.rolling.RollingFileAppender">
<!-- 过滤器,过滤掉 TRACE 和 DEBUG 和 INFO 级别的日志 -->
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>WARN</level>
</filter>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- 按天回滚 daily -->
<fileNamePattern>${catalina.home}/logs/%d{yyyy-MM-dd}/warn-log.log</fileNamePattern>
<!-- 日志最大的保存天数 -->
<maxHistory>${maxHistory}</maxHistory>
</rollingPolicy>
<triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
<maxFileSize>${maxFileSize}</maxFileSize>
</triggeringPolicy>
<encoder>
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger:%line - %msg%n</pattern>
</encoder>
</appender>
<!-- HTTP请求超时 appender -->
<appender name="REQUEST_TIMEOUT" class="ch.qos.logback.core.rolling.RollingFileAppender">
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>${catalina.home}/logs/%d{yyyy-MM-dd}/request-timeout.log</fileNamePattern>
<!-- 日志最大的保存天数 -->
<maxHistory>${maxHistory}</maxHistory>
</rollingPolicy>
<triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
<maxFileSize>${maxFileSize}</maxFileSize>
</triggeringPolicy>
<encoder>
<pattern>%-1relative - %d{HH:mm:ss.SSS} [%thread] %-5level %logger{0}:%line -- %msg%n</pattern>
</encoder>
</appender>
<!-- 数据库请求超时 appender -->
<appender name="DATABASE_TIMEOUT" class="ch.qos.logback.core.rolling.RollingFileAppender">
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>${catalina.home}/logs/%d{yyyy-MM-dd}/database-timeout.log</fileNamePattern>
<!-- 日志最大的保存天数 -->
<maxHistory>${maxHistory}</maxHistory>
</rollingPolicy>
<triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
<maxFileSize>${maxFileSize}</maxFileSize>
</triggeringPolicy>
<encoder>
<pattern>%-1relative - %d{HH:mm:ss.SSS} [%thread] %-5level %logger{0}:%line -- %msg%n</pattern>
</encoder>
</appender>
<!-- DEBUG级别日志 appender -->
<appender name="DEBUG" class="ch.qos.logback.core.rolling.RollingFileAppender">
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- 按天回滚 daily -->
<fileNamePattern>${catalina.home}/logs/%d{yyyy-MM-dd}/debug-log.log</fileNamePattern>
<!-- 日志最大的历史 60天 -->
<maxHistory>${maxHistory}</maxHistory>
</rollingPolicy>
<triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
<maxFileSize>${maxFileSize}</maxFileSize>
</triggeringPolicy>
<encoder>
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger:%line - %msg%n</pattern>
</encoder>
</appender>
<!-- 商家端登录日志 appender -->
<appender name="LOGIN_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- 按天回滚 daily -->
<fileNamePattern>${catalina.home}/logs/%d{yyyy-MM-dd}/debug-log.log</fileNamePattern>
<!-- 日志最大的历史 60天 -->
<maxHistory>${maxHistory}</maxHistory>
</rollingPolicy>
<triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
<maxFileSize>${maxFileSize}</maxFileSize>
</triggeringPolicy>
<encoder>
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger:%line - %msg%n</pattern>
</encoder>
</appender>
<!-- 操作日志 appender -->
<appender name="OPERATE_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- 按天回滚 daily -->
<fileNamePattern>${catalina.home}/logs/%d{yyyy-MM-dd}/operate-log.log</fileNamePattern>
<!-- 日志最大的历史 60天 -->
<maxHistory>${maxHistory}</maxHistory>
</rollingPolicy>
<triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
<maxFileSize>${maxFileSize}</maxFileSize>
</triggeringPolicy>
<encoder>
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger:%line - %msg%n</pattern>
</encoder>
</appender>
<!-- 定时任务日志 appender -->
<appender name="SCHEDULED_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- 按天回滚 daily -->
<fileNamePattern>${catalina.home}/logs/%d{yyyy-MM-dd}/scheduled-log.log</fileNamePattern>
<!-- 日志最大的历史 60天 -->
<maxHistory>${maxHistory}</maxHistory>
</rollingPolicy>
<triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
<maxFileSize>${maxFileSize}</maxFileSize>
</triggeringPolicy>
<encoder>
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger:%line - %msg%n</pattern>
</encoder>
</appender>
<!-- 腾讯智能推荐:商品信息上传log -->
<appender name="TENCENT_LOG_APPENDER" class="ch.qos.logback.core.rolling.RollingFileAppender">
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>${catalina.home}/logs/%d{yyyy-MM-dd}/tencent-upload.log</fileNamePattern>
<!-- 日志最大的保存天数 -->
<maxHistory>${maxHistory}</maxHistory>
</rollingPolicy>
<triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
<maxFileSize>${maxFileSize}</maxFileSize>
</triggeringPolicy>
<encoder>
<pattern>%-1relative - %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{0}:%line -- %msg%n</pattern>
</encoder>
</appender>
<!-- 商家端操作日志 appender -->
<appender name="SELLER_OPERATE_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- 按天回滚 daily -->
<fileNamePattern>${catalina.home}/logs/%d{yyyy-MM-dd}/sellerOperate-log.log</fileNamePattern>
<!-- 日志最大的历史 60天 -->
<maxHistory>${maxHistory}</maxHistory>
</rollingPolicy>
<triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
<maxFileSize>${maxFileSize}</maxFileSize>
</triggeringPolicy>
<encoder>
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger:%line - %msg%n</pattern>
</encoder>
</appender>
<!-- 商家端DEBUG级别日志 appender -->
<appender name="SELLERDEBUG" class="ch.qos.logback.core.rolling.RollingFileAppender">
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- 按天回滚 daily -->
<fileNamePattern>${catalina.home}/logs/%d{yyyy-MM-dd}/sellerDebug-log.log</fileNamePattern>
<!-- 日志最大的历史 60天 -->
<maxHistory>${maxHistory}</maxHistory>
</rollingPolicy>
<triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
<maxFileSize>${maxFileSize}</maxFileSize>
</triggeringPolicy>
<encoder>
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger:%line - %msg%n</pattern>
</encoder>
</appender>
<!-- MQ日志 appender -->
<appender name="MQ_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- 按天回滚 daily -->
<fileNamePattern>${catalina.home}/logs/%d{yyyy-MM-dd}/mqOperate-log.log</fileNamePattern>
<!-- 日志最大的历史 60天 -->
<maxHistory>${maxHistory}</maxHistory>
</rollingPolicy>
<triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
<maxFileSize>${maxFileSize}</maxFileSize>
</triggeringPolicy>
<encoder>
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger:%line - %msg%n</pattern>
</encoder>
</appender>
<!-- 调用erp服务日志 appender -->
<appender name="ERP_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>${catalina.home}/logs/%d{yyyy-MM-dd}/erpService-log.log</fileNamePattern>
<maxHistory>${maxHistory}</maxHistory>
</rollingPolicy>
<triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
<maxFileSize>${maxFileSize}</maxFileSize>
</triggeringPolicy>
<encoder>
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger:%line - %msg%n</pattern>
</encoder>
</appender>
<!-- 数据库操作日志 -->
<logger name="java.sql.PreparedStatement" value="DEBUG" />
<logger name="java.sql.Connection" value="DEBUG" />
<logger name="java.sql.Statement" value="DEBUG" />
<logger name="com.ibatis" value="DEBUG" />
<logger name="com.ibatis.common.jdbc.SimpleDataSource" value="DEBUG" />
<logger name="com.ibatis.common.jdbc.ScriptRunner" level="DEBUG"/>
<logger name="com.ibatis.sqlmap.engine.impl.SqlMapClientDelegate" value="DEBUG" />
<logger name="org.springframework" level="INFO"/>
<logger name="org.apache.zookeeper.ClientCnxn" level="INFO"/>
<logger name="com.yoho.core.common.curator.YHLeaderSelector" level="ERROR" />
<logger name="com.dangdang.ddframe.job.internal.sharding.ShardingService" level="WARN" />
<logger name="org.quartz.core.QuartzSchedulerThread" level="WARN" />
<!-- root级别 DEBUG -->
<root level="INFO">
<!-- 控制台输出 -->
<appender-ref ref="STDOUT" />
<!-- 文件输出 -->
<appender-ref ref="DEBUG" />
<appender-ref ref="WARN" />
</root>
<!-- http请求处理超时日志 -->
<logger name="com.yoho.core.common.monitor.ThreadProfile" additivity="true">
<level value="INFO"/>
<appender-ref ref="REQUEST_TIMEOUT"/>
</logger>
<!-- 商家端登录日志 appender -->
<logger name="loginLog" level="INFO" additivity="false">
<appender-ref ref="LOGIN_LOG" />
</logger>
<!-- 数据库处理超时日志 -->
<logger name="com.yoho.core.dal.datasource.DataSourceMethodInterceptor" additivity="true">
<level value="INFO"/>
<appender-ref ref="DATABASE_TIMEOUT"/>
</logger>
<logger name="com.yoho.core.rest.client.finder.zookeeper.CuratorXDiscoveryClientWrapper" additivity="true">
<level value="INFO"/>
<appender-ref ref="STDOUT"/>
</logger>
<!-- org.apache.zookeeper.ClientCnxn -->
<logger name="org.apache.zookeeper.ClientCnxn" additivity="true">
<level value="INFO"/>
<appender-ref ref="STDOUT"/>
</logger>
<!-- com.yoho.core.rest.client.finder.localfile.ResourcesHolder-->
<logger name="com.yoho.core.rest.client.finder.localfile.ResourcesHolder" additivity="true">
<level value="DEBUG"/>
<appender-ref ref="STDOUT"/>
</logger>
<!-- com.yoho.core.rest.client.finder.localfile.ResourcesHolder-->
<logger name="com.yohobuy.platform.seller" additivity="true">
<level value="INFO"/>
<appender-ref ref="SELLERDEBUG"/>
</logger>
<!-- 操作日志,记录关键操作 -->
<logger name="operateLog" additivity="true">
<level value="INFO"/>
<appender-ref ref="OPERATE_LOG"/>
</logger>
<!-- 定时日志,记录关键操作 -->
<logger name="scheduledLog" additivity="true">
<level value="INFO"/>
<appender-ref ref="SCHEDULED_LOG"/>
</logger>
<!--info级别重点部分单独记录-->
<logger name="tencentUpload" additivity="true">
<level value="INFO"/>
<appender-ref ref="TENCENT_LOG_APPENDER"/>
</logger>
<!-- 商家端操作日志,记录关键操作 -->
<logger name="sellerOperateLog" additivity="true">
<level value="INFO"/>
<appender-ref ref="SELLER_OPERATE_LOG"/>
</logger>
<!-- MQ日志 -->
<logger name="mqLog" additivity="true">
<level value="INFO"/>
<appender-ref ref="MQ_LOG"/>
</logger>
<!-- 调用erp服务日志 -->
<logger name="erpService" additivity="true">
<level value="INFO"/>
<appender-ref ref="ERP_LOG"/>
</logger>
</configuration>
\ No newline at end of file
... ...
producer:
- address: 192.168.102.45:5672
username: yoho
password: yoho
producers:
- bean: producerCommon
- address: 192.168.102.45:5672
username: yoho
password: yoho
producers:
- bean: producerHost
\ No newline at end of file
... ...
redis:
platformRedisTemplate :
servers:
- 192.168.102.45:6379
auth: redis9646
yohoNoSyncRedis :
servers:
- 192.168.102.45:6379
auth: redis9646
unionRedisTemplate :
servers:
- 192.168.102.45:6379
auth: redis9646
\ No newline at end of file
... ...
platform:
servers:
- http://127.0.0.1:8088/platform
services:
- updateLimitProductByBatchNo:/limitProduct/updateLimitProductByBatchNo
... ...
zkName=yoho_zkClient
#zkServer=127.0.0.1:2181
zkServer=192.168.102.211:2181
#zkServer=192.168.102.211:2181
zkSessionTimeoutMs=60000
zkConnectionTimeoutMs=60000
zkRetryTimes=3
zkRetrySleepTimeMs=1000
... ...
<?xml version="1.0" encoding="UTF-8"?>
<config>
<group>
<!-- ************************** web namespace ***************************** -->
<property name="yohobuy.pfmaketing.env.namespace" defaultValue="pfmaketing" description="应用命名空间"/>
<property name="yohobuy.pfmaketing.env.serverport" defaultValue="1" description="应用端口"/>
<property name="file.uploadTempDir" defaultValue="/home/test" description="spring mvc upload temp dir"/>
<property name="file.saveDir" defaultValue="/home/test/cache" description="file save dir"/>
<property name="file.image.size" defaultValue="512000" description="file.image.size"/>
<!--<property name="rabbitAddress" defaultValue="192.168.102.162:32810" description="RabbitMQ address"/>-->
<property name="erp.shops.login.url" defaultValue="http://qrest.yohobuy.com:9098/erp-gateway-web/account/profile/login" description="erp"/>
<property name="erp.shops.change.pwd.url" defaultValue="http://serve.yohobuy.com/service/account/v1/Profile/updatePassword" description="erp"/>
<property name="erp.platform.shops.url" defaultValue="http://api.erp.yohobuy.com" description="erp"/>
<property name="erp.shops.account.url" defaultValue="http://serve.yohobuy.com/service/finance/v1/clearing/balancelist" description="erp"/>
<property name="execute.limitcode.host" defaultValue="10.66.50.140" description="绑定定时任务IP" />
<property name="execute.shopmessage.host" defaultValue="10.66.50.140" description="绑定定时任务IP" />
<property name="execute.update_product_price.host" defaultValue="10.66.50.140" description="绑定定时任务IP" />
<property name="admin.portal.url" defaultValue="http://192.168.102.211:30012" description="老平台的地址" />
<property name="watchService.watchDir" defaultValue="/Data/ftpdir" description="" />
<property name="watchService.waitInterval" defaultValue="60" description="" />
<property name="search.server.address" defaultValue="http://192.168.102.216:8080/yohosearch/" description="" />
<property name="file.maxsize" defaultValue="5400000" description="" />
<property name="platform.login.salt" defaultValue="yoho9646yoho9646" description="" />
<property name="erp.domain" defaultValue="http://serve.yohobuy.com" description="" />
<property name="offline.shops.url" defaultValue="http://192.168.102.210:8098/shops/" description="" />
<property name="erp.storage" defaultValue="http://192.168.10.131:8082/erp-gateway-web/stock" description="" />
<property name="mkt.activity.domain.url" defaultValue="http://union.yoho.cn/union/tencentMkt/index.html" description="市场推广活动页面域名" />
<property name="mkt.pcwap.domain.url" defaultValue="http://union.yoho.cn/union/go" description="市场推广PC/WAP链接" />
<property name="mkt.resource.code.url" defaultValue="https://m.yohobuy.com/channel/f8abd53b5f7c5fe558d3dd567d95ab92.html?nodownload=1" description="资源位链接" />
</group>
<script>
<generate template="META-INF/autoconf/logback.xml" destfile="WEB-INF/classes/logback.xml"/>
<generate template="META-INF/autoconf/config.properties" destfile="WEB-INF/classes/config.properties"/>
<generate template="META-INF/autoconf/databases.yml" destfile="WEB-INF/classes/databases.yml"/>
<generate template="META-INF/autoconf/rabbitmq.yml" destfile="WEB-INF/classes/rabbitmq.yml"/>
<generate template="META-INF/autoconf/redis-config.yml" destfile="WEB-INF/classes/redis-config.yml"/>
</script>
</config>
... ...
# ******************** gateway common configs ********************
# if true, client_security check may be disabled.
is_debug_enable=${is_debug_enable}
file.maxsize=${file.maxsize}
file.image.size=${file.image.size}
file.image.gif.size=${file.image.gif.size}
file.uploadTempDir=${file.uploadTempDir}
file.saveDir=${file.saveDir}
file.uploadMalongImgDir=${file.uploadMalongImgDir}
##\u56fe\u50cf\u641c\u7d22\u5bf9\u63a5api\u53c2\u6570 \u7801\u9686\u79d1\u6280\u914d\u7f6e\u4fe1\u606f
malongApi.accessKeyId=${malongApi.accessKeyId}
malongApi.secretKey=${malongApi.secretKey}
malongApi.paiUserId=${malongApi.paiUserId}
malongApi.imageSetId=${malongApi.imageSetId}
#watch ftp upload directory
watchService.watchDir=${watchService.watchDir}
#unit: seconds
watchService.waitInterval=${watchService.waitInterval}
# ******************** cloud storage config ********************
#qiniu config
qiniu.accesskey=${qiniu.accesskey}
qiniu.secretkey=${qiniu.secretkey}
qiniu.bucket=${qiniu.bucket}
# ******************** search restful ********************
#search server address(if hava)
search.server.address=${search.server.address}
# aliyun config
aliyun.domain=${aliyun.domain}
aliyun.accessid=${aliyun.accessid}
aliyun.accesskey=${aliyun.accesskey}
aliyun.bucket=${aliyun.bucket}
aliyun.endpoint=${aliyun.endpoint}
#rabbit address,\u6682\u65f6\u5199\u6210\u56fa\u5b9a\u7684, \u5148\u4fdd\u8bc1\u670d\u52a1\u542f\u52a8
rabbit_host=${rabbit_host}
rabbit_user=${rabbit_user}
rabbit_password=${rabbit_password}
########## common rabbitmq ##########
rabbit_common = ${rabbit_common}
rabbit_common_user = ${rabbit_common_user}
rabbit_common_password = ${rabbit_common_password}
########## common rabbitmq ##########
execute.limitcode.host=${execute.limitcode.host}
execute.shopmessage.host=${execute.shopmessage.host}
execute.update_product_price.host=${execute.update_product_price.host}
#zookeeper address
zkAddress=${zkAddress}
web.context=pfmaketing
# erp shops login service\
erp.shops.login.url=${erp.shops.login.url}
erp.shops.change.pwd.url=${erp.shops.change.pwd.url}
erp.shops.account.url=${erp.shops.account.url}
erp.platform.shops.url=${erp.platform.shops.url}
erp.virtualinventory.setNumberBySkn.url=${erp.virtualinventory.setNumberBySkn.url}
api.yoho.url=${api.yoho.url}
service.yoho.url=${service.yoho.url}
hystrix.command.default.execution.timeout.enabled=false
service.call.connectReqTimeout=1200000
service.call.socketTimeout=1200000
service.call.connectTimeout=1200000
#old admin portal address
admin.portal.url=${admin.portal.url}
offline.shops.url=${offline.shops.url}
platform.login.salt=${platform.login.salt}
erp.domain=${erp.domain}
erp.storage=${erp.storage}
admin.login.url=${admin.login.url}
redis.proxy.address=${redis.proxy.address}
redis.proxy.port=${redis.proxy.port}
redis.proxy.auth=${redis.proxy.auth}
redis.readonly.proxy.address=${redis.readonly.proxy.address}
redis.readonly.proxy.port=${redis.readonly.proxy.port}
redis.readonly.proxy.auth=${redis.readonly.proxy.auth}
product.batch.update.pageSize=20
price.selltype.url=${price.selltype.url}
# price manage audit person config
price.audit.firstRoleName=\u9ad8\u7ea7\u54c1\u724c\u7ecf\u7406
price.over.days.roleName=${price.over.days.roleName}
price.audit.secondPid=${price.audit.secondPid}
price.audit.thirdPid=${price.audit.thirdPid}
price.changed.notice.phone=${price.changed.notice.phone}
shop.status.change.phone=${shop.status.change.phone}
erp.virtualinventory.setBatchNumberBySkn.url=${erp.virtualinventory.setBatchNumberBySkn.url}
erp.realStorage.url=${erp.realStorage.url}
redis.notsync.twemproxy.addresses=${redis.notsync.twemproxy.addresses}
redis.notsync.twemproxy.auth=${redis.notsync.twemproxy.auth}
#ERP\u7684url\uff0c\u8981\u7edf\u4e00\u8d77\u6765
#ERP\u7684url\uff0c\u8981\u7edf\u4e00\u8d77\u6765
erp.shop.url=${erp.shop.url}
gateway.api.url=${gateway.api.url}
gateway.service.url=${gateway.service.url}
resources_https_enable=${resources_https_enable}
makePromotion.batch.size=1000000
makePromotion.batch.dataOffset=1000
#sync ispromotion (prop of product ) advance time\uff0cunit \uff1aminutes
# ******************** message ********************
rabbit_message_center = ${rabbit_message_center}
rabbit_message_center_user = ${rabbit_message_center_user}
rabbit_message_center_password = ${rabbit_message_center_password}
rabbit_message_center_vhost = ${rabbit_message_center_vhost}
yoho.service.domain.url=${yoho.service.domain.url}
#\u8ba2\u9605
wechat.subscription.access.appid=${wechat.subscription.access.appid}
wechat.subscription.access.secret=${wechat.subscription.access.secret}
#\u670d\u52a1
wechat.access.appid=${wechat.access.appid}
wechat.access.secret=${wechat.access.secret}
mkt.activity.domain.url=${mkt.activity.domain.url}
crawler.host=${crawler.host}
# ******************** bigdata upload skn data ********************
bigdata.qiniu.accesskey=${bigdata.qiniu.accesskey}
bigdata.qiniu.secretkey=${bigdata.qiniu.secretkey}
bigdata.qiniu.bucket=${bigdata.qiniu.bucket}
bigdata.qiniu.refresh.url=${bigdata.qiniu.refresh.url}
qiniu.bigdata.skndada.folderName=${qiniu.bigdata.skndada.folderName}
bigdata.sitemap.url=${bigdata.sitemap.url}
bigdata.ad.userid=${bigdata.ad.userid}
# ******************** bigdata upload skn data ********************
# ******************** bigData redis servers start ********************
bigDataRedis.proxy.address=${bigDataRedis.proxy.address}
bigDataRedis.proxy.port=${bigDataRedis.proxy.port}
#password, can be empty
bigDataRedis.proxy.auth=${bigDataRedis.proxy.auth}
bigDataRedis.pool.maxTotal=${bigDataRedis.pool.maxTotal}
bigDataRedis.pool.maxIdle=${bigDataRedis.pool.maxIdle}
bigDataRedis.pool.maxWaitMillis=${bigDataRedis.pool.maxWaitMillis}
bigDataRedis.pool.minIdle=${bigDataRedis.pool.minIdle}
bigDataRedis.pool.testOnBorrow=${bigDataRedis.pool.testOnBorrow}
bigDataRedis.pool.testWhileIdle=${bigDataRedis.pool.testWhileIdle}
# ******************** bigData redis servers end ********************
# ******************** union redis servers start ********************
unionRedis.proxy.address=${unionRedis.proxy.address}
unionRedis.proxy.port=${unionRedis.proxy.port}
unionRedis.proxy.auth=${unionRedis.proxy.auth}
# ******************** union redis servers end ********************
# ******************** tencent upload skn data ********************
upload.tencent.url=${upload.tencent.url}
upload.tencent.bid=${upload.tencent.bid}
upload.tencent.product.mark=${upload.tencent.product.mark}
# ******************** tencent upload skn data ********************
mkt.pcwap.domain.url=${mkt.pcwap.domain.url}
mkt.resource.code.url=${mkt.resource.code.url}
activity.url=https://activity.yoho.cn/feature/
# lower price
stock.req.url=${stock.req.url}
auth.user.req.url=${auth.user.req.url}
makePromotion.batch.dosave.timeout=5
makePromotion.batch.thread.num=6
sync.product.isPromotion.advance.minutes=${sync.product.isPromotion.advance.minutes}
mkt.channelCode.guangdiantong=1061
bigdata.ad.ZHT.userid=${bigdata.ad.ZHT.userid}
local.task.host=${local.task.host}
# ******************** sns-check ********************
ali.check.accessKeyId=${ali.check.accessKeyId}
ali.check.accessKeySecret=${ali.check.accessKeySecret}
platform.sns.imagesimi.url=${platform.sns.imagesimi.url}
# ******************** sns-check ********************
manager.zkAddress = ${manager.zkAddress}
# shop report service url
shop.yoho.url = ${shop.yoho.url}
platformRedis.proxy.address=${platformRedis.proxy.address}
platformRedis.proxy.port=${platformRedis.proxy.port}
platformRedis.proxy.auth=${platformRedis.proxy.auth}
erpYohops.domain = ${erpYohops.domain}
dataSource.URL = ${yoho.quartz.datasource.url}
dataSource.user = ${yoho.quartz.datasource.username}
dataSource.password = ${yoho.quartz.datasource.password}
qq.serverHost = ${qq.serverHost}
qq.serverUri = ${qq.serverUri}
qq.secretId = ${qq.secretId}
qq.secretKey = ${qq.secretKey}
... ...
datasources:
erp_product:
servers:
- ${jdbc.mysql.platform.erp_product.master}
- ${jdbc.mysql.platform.erp_product.slave}
username: ${jdbc.mysql.platform.erp_product.username}
password: ${jdbc.mysql.platform.erp_product.password}
maxTotal: 100
daos:
- com.yohobuy.platform.dal.product.IBrandDao
- com.yohobuy.platform.dal.product.BrandCooperationMapper
- com.yohobuy.platform.dal.product.ErpProductMapper
- com.yohobuy.platform.dal.product.ProductPhotographyListMapper
- com.yohobuy.platform.dal.product.ProductPhotographyPictureMapper
- com.yohobuy.platform.dal.product.ShootRequirementMapper
- com.yohobuy.platform.dal.product.ErpGoodsMapper
- com.yohobuy.platform.dal.product.IProductSortMapper
- com.yohobuy.platform.dal.product.ErpProductPriceMapper
- com.yohobuy.platform.dal.product.ErpStorageMapper
- com.yohobuy.platform.dal.product.LimitProductAttachMapper
- com.yohobuy.platform.dal.product.LimitProductMapper
- com.yohobuy.platform.dal.product.NetsaleInfomissMapper
- com.yohobuy.platform.dal.product.NetsaleInfomissRelationMapper
- com.yohobuy.platform.dal.product.ProductAttributeMapper
- com.yohobuy.platform.dal.product.ProductExtMapper
- com.yohobuy.platform.dal.product.ProductPoolDetailMapper
- com.yohobuy.platform.dal.product.ProductPoolMapper
- com.yohobuy.platform.dal.product.ProductPriceMapper
- com.yohobuy.platform.dal.product.ProductStyleMapper
- com.yohobuy.platform.dal.product.ProductElementsMapper
- com.yohobuy.platform.dal.cms.IBrandDao
- com.yohobuy.platform.dal.product.IProductPriceLogDao
- com.yohobuy.platform.dal.product.YohocoinAuditMapper
- com.yohobuy.platform.dal.product.SizeMapper
- com.yohobuy.platform.dal.product.ErpProductExtAttributeMapper
- com.yohobuy.platform.dal.product.IBrandAuthorizeCertDao
- com.yohobuy.platform.dal.shops.ShopSalesCategoryMapper
- com.yohobuy.platform.dal.product.ErpProductColorMapper
- com.yohobuy.platform.dal.product.YhSortSizeMapper
- com.yohobuy.platform.dal.product.IBrandExtAttributeDAO
- com.yohobuy.platform.dal.product.IBrandStoreAllocationDAO
- com.yohobuy.platform.dal.product.IProductStoreAllocationDAO
- com.yohobuy.platform.dal.product.ErpSizeAttributeMapper
- com.yohobuy.platform.dal.product.ErpSortAttributeMapper
- com.yohobuy.platform.dal.product.IErpSizeRelationMapper
- com.yohobuy.platform.dal.product.ErpBrandFolderMapper
- com.yohobuy.platform.dal.product.ErpBrandSeriesMapper
- com.yohobuy.platform.dal.product.SockpuppetCommentsMapper
- com.yohobuy.platform.dal.product.MakePromotionMapper
- com.yohobuy.platform.dal.product.MakePromotionListMapper
- com.yohobuy.platform.dal.product.IProductTagDao
- com.yohobuy.platform.dal.product.IProductMaterialDao
- com.yohobuy.platform.dal.activity.IPrmotionPhraseDetailDAO
- com.yohobuy.platform.dal.activity.IPrmotionPhraseDAO
- com.yohobuy.platform.dal.operations.IActivityRegistrationSknDAO
- com.yohobuy.platform.dal.operations.IActivityRegistrationDAO
- com.yohobuy.platform.dal.product.HotSearchBrandMapper
- com.yohobuy.platform.dal.product.CollageActivitiesMapper
- com.yohobuy.platform.dal.product.CollageProductMapper
- com.yohobuy.platform.dal.product.VipCoinReturnMapper
yhb_operations:
servers:
- ${jdbc.mysql.yhboperations.master}
- ${jdbc.mysql.yhboperations.slave}
username: ${jdbc.mysql.yhboperations.username}
password: ${jdbc.mysql.yhboperations.password}
daos:
- com.yohobuy.platform.dal.cms.IEntranceManagementDao
- com.yohobuy.platform.dal.cms.IOperationSortsDao
- com.yohobuy.platform.dal.cms.IAppVersionWarningDao
- com.yohobuy.platform.dal.search.SearchTermsMapper
- com.yohobuy.platform.dal.operations.MatchWordsDao
- com.yohobuy.platform.dal.operations.SearchWordsDao
- com.yohobuy.platform.dal.cms.IHelpContentDAO
- com.yohobuy.platform.dal.cms.IHelpCategoryDAO
- com.yohobuy.platform.dal.cms.IActivityTemplateDao
- com.yohobuy.platform.dal.cms.IActivityProductDao
- com.yohobuy.platform.dal.cms.IHotRankTagDao
- com.yohobuy.platform.dal.cms.IIconSettingDao
- com.yohobuy.platform.dal.cms.IIconZipDao
- com.yohobuy.platform.dal.cms.INoticeDao
- com.yohobuy.platform.dal.shops.IAppVersionInformationMapper
- com.yohobuy.platform.dal.cms.IWebShareDao
- com.yohobuy.platform.dal.search.EsWordDefMapper
- com.yohobuy.platform.dal.search.DynamicFieldMapper
- com.yohobuy.platform.dal.search.DynamicRuleDetailsMapper
- com.yohobuy.platform.dal.search.DynamicRuleMapper
- com.yohobuy.platform.dal.search.DynamicRulePageRelMapper
- com.yohobuy.platform.dal.cms.GateDao
- com.yohobuy.platform.dal.search.SuggestConversionCustomMapper
- com.yohobuy.platform.dal.search.SuggestWordCustomMapper
- com.yohobuy.platform.dal.search.ScoreRuleMapper
- com.yohobuy.platform.dal.search.ScoreSknRuleMapper
- com.yohobuy.platform.dal.search.ScoreSknLogMapper
- com.yohobuy.platform.dal.search.SknBlockMapper
- com.yohobuy.platform.dal.search.CsBrandKeywordMapper
- com.yohobuy.platform.dal.search.CsRecallConfigCommonMapper
- com.yohobuy.platform.dal.search.CsRecallConfigProductMapper
- com.yohobuy.platform.dal.search.CsRecallConfigSortBrandMapper
yh_operations:
servers:
- ${jdbc.mysql.yhoperations.master}
- ${jdbc.mysql.yhoperations.slave}
username: ${jdbc.mysql.yhoperations.username}
password: ${jdbc.mysql.yhoperations.password}
daos:
- com.yohobuy.platform.dal.suggest.ISuggestDAO
- com.yohobuy.platform.dal.suggest.ISuggestHotDAO
- com.yohobuy.platform.dal.suggest.ISuggestReliableDAO
- com.yohobuy.platform.dal.suggest.ISuggestReplyPersonDAO
- com.yohobuy.platform.dal.operations.SpecialDao
- com.yohobuy.platform.dal.operations.IHtmlContentDao
- com.yohobuy.platform.dal.operations.HtmlContentSortMapper
- com.yohobuy.platform.dal.operations.SpecialStyleMapper
- com.yohobuy.platform.dal.operations.ActivityModuleLayoutMapper
- com.yohobuy.platform.dal.operations.ActivtyTemplatedFloorDetailMapper
- com.yohobuy.platform.dal.operations.ActivtyTemplatedFloorMapper
- com.yohobuy.platform.dal.operations.ActivtyTemplatedLogMapper
- com.yohobuy.platform.dal.operations.ActivtyTemplatedMapper
- com.yohobuy.platform.dal.operations.TemplatedComponentMapper
- com.yohobuy.platform.dal.operations.TemplatedComponentParamMapper
- com.yohobuy.platform.dal.operations.ActivtyTemplatedFloorTableMapper
- com.yohobuy.platform.dal.operations.ISearchBannerDao
- com.yohobuy.platform.dal.operations.ISearchPositionDao
- com.yohobuy.platform.dal.operations.ISearchTempletDao
- com.yohobuy.platform.dal.operations.SettingsMapper
- com.yohobuy.platform.dal.operations.AppEntranceIconCategoryMapper
- com.yohobuy.platform.dal.operations.AppEntranceIconMapper
- com.yohobuy.platform.dal.operations.AppEntranceIconTypeMapper
- com.yohobuy.platform.dal.operations.AppEntranceIconZipMapper
- com.yohobuy.platform.dal.operations.AppStartImageMapper
yh_shops:
servers:
- ${jdbc.mysql.yhshops.master}
- ${jdbc.mysql.yhshops.slave}
username: ${jdbc.mysql.yhshops.username}
password: ${jdbc.mysql.yhshops.password}
daos:
- com.yohobuy.platform.dal.product.SalesCategoryLabelMapper
- com.yohobuy.platform.dal.product.SalesCategoryMapper
- com.yohobuy.platform.dal.product.ProductModelcardMapper
- com.yohobuy.platform.dal.product.ModelCardMapper
- com.yohobuy.platform.dal.product.ProductExtraInfoMapper
- com.yohobuy.platform.dal.product.ProductMapper
- com.yohobuy.platform.dal.product.ProductKeywordsMapper
- com.yohobuy.platform.dal.product.GoodsMapper
- com.yohobuy.platform.dal.frontDB.YhShopsBrandMapper
- com.yohobuy.platform.dal.product.ProductSearchMapper
- com.yohobuy.platform.dal.product.ProductCollocationMapper
- com.yohobuy.platform.dal.product.GoodsImagesMapper
- com.yohobuy.platform.dal.product.ProductSpecialAttrMapper
- com.yohobuy.platform.dal.product.ProductBrandRelationMapper
- com.yohobuy.platform.dal.product.ProductTimingMapper
- com.yohobuy.platform.dal.product.YhModelMapper
- com.yohobuy.platform.dal.product.YhProductIntroMapper
- com.yohobuy.platform.dal.product.ProductShopRelationMapper
- com.yohobuy.platform.dal.product.YhStorageMapper
- com.yohobuy.platform.dal.shops.ShopGoodsImagesMapper
- com.yohobuy.platform.dal.shops.ShopGoodsMapper
- com.yohobuy.platform.dal.shops.ShopModelCardMapper
- com.yohobuy.platform.dal.shops.ShopModelMapper
- com.yohobuy.platform.dal.shops.ShopModelTryMapper
- com.yohobuy.platform.dal.shops.ShopProductCollocationMapper
- com.yohobuy.platform.dal.shops.ShopProductMapper
- com.yohobuy.platform.dal.shops.ShopProductPriceMapper
- com.yohobuy.platform.dal.shops.ShopProductSearchMapper
- com.yohobuy.platform.dal.shops.ShopProductSortMapper
- com.yohobuy.platform.dal.shops.ShopProductSpecialAttrMapper
- com.yohobuy.platform.dal.shops.ShopProductTimingMapper
- com.yohobuy.platform.dal.shops.ShopSizeMapper
- com.yohobuy.platform.dal.shops.ShopStorageMapper
- com.yohobuy.platform.dal.shops.ShopProductExtMapper
- com.yohobuy.platform.dal.product.ProductStandardRelationMapper
- com.yohobuy.platform.dal.product.ModelMapper
- com.yohobuy.platform.dal.shops.IShopSizeRelationsMapper
- com.yohobuy.platform.dal.product.ProductSizeReferenceMapper
- com.yohobuy.platform.dal.product.YhAttributeProValuesMapper
- com.yohobuy.platform.dal.product.StorageMapper
- com.yohobuy.platform.dal.product.LimitProductSkuMapper
- com.yohobuy.platform.dal.activity.ILimitProductDAO
- com.yohobuy.platform.dal.product.ParameterMakeMapper
- com.yohobuy.platform.dal.product.ProductMaterialMapper
- com.yohobuy.platform.dal.product.StandardMapper
- com.yohobuy.platform.dal.product.SizeAttributeMapper
- com.yohobuy.platform.dal.product.ProductColorMapper
- com.yohobuy.platform.dal.product.SizeRelationsMapper
- com.yohobuy.platform.dal.product.SortSizeMapper
- com.yohobuy.platform.dal.product.SortAttributeMapper
- com.yohobuy.platform.dal.product.BrandFolderMapper
- com.yohobuy.platform.dal.product.BrandSeriesMapper
- com.yohobuy.platform.dal.frontDB.ProductExtAttributeMapper
- com.yohobuy.platform.dal.shops.BrandDao
- com.yohobuy.platform.dal.product.IVideosDAO
- com.yohobuy.platform.dal.shops.ProductSalesCategoryMapper
- com.yohobuy.platform.dal.product.ShopsPromoteMapper
- com.yohobuy.platform.dal.product.ProductSingleDayDao
- com.yohobuy.platform.dal.shops.IYhShopsDAO
- com.yohobuy.platform.dal.shops.IShopsDecoratorDAO
- com.yohobuy.platform.dal.shops.IShopsDecoratorTemplateDAO
- com.yohobuy.platform.dal.shops.IShopsDecoratorTemplateResourceDAO
- com.yohobuy.platform.dal.shops.ShopsDecoratorCommentMapper
- com.yohobuy.platform.dal.shops.IFrontShopsBrandsDAO
- com.yohobuy.platform.dal.product.StandardSortMapper
- com.yohobuy.platform.dal.shops.BrandImageMapper
- com.yohobuy.platform.dal.product.IBrandSortDAO
- com.yohobuy.platform.dal.product.IMaterialDao
- com.yohobuy.platform.dal.product.IProductUrlDao
- com.yohobuy.platform.dal.operations.ISearchStyleDao
- com.yohobuy.platform.dal.shops.NewUserRecProductMapper
- com.yohobuy.platform.dal.shops.BrandThirdRelationMapper
- com.yohobuy.platform.dal.product.IFrontProductStoreAllocationMapper
- com.yohobuy.platform.dal.shops.IFrontShopStoreAllocationMapper
- com.yohobuy.platform.dal.product.ProductVipMapper
- com.yohobuy.platform.dal.product.YhShopsProductScanMapper
- com.yohobuy.platform.dal.shops.ShopActivityMapper
- com.yohobuy.platform.dal.shops.IFrontProductAllocationAuditDAO
yh_resource:
servers:
- ${jdbc.mysql.yhresource.master}
- ${jdbc.mysql.yhresource.slave}
username: ${jdbc.mysql.yhresource.username}
password: ${jdbc.mysql.yhresource.password}
daos:
- com.yohobuy.platform.dal.cms.IPlatformDao
- com.yohobuy.platform.dal.cms.IResourcesDao
- com.yohobuy.platform.dal.cms.IResourcesContentDao
- com.yohobuy.platform.dal.cms.IResourcesContentDataDao
- com.yohobuy.platform.dal.cms.IResourcesSortDao
- com.yohobuy.platform.dal.cms.IClientConfigDao
- com.yohobuy.platform.dal.cms.SingleResourcesDao
erp_supplier:
servers:
- ${jdbc.mysql.platform.erp_supplier.master}
- ${jdbc.mysql.platform.erp_supplier.slave}
username: ${jdbc.mysql.platform.erp_supplier.username}
password: ${jdbc.mysql.platform.erp_supplier.password}
maxTotal: 100
daos:
- com.yohobuy.platform.dal.shops.IShopsDAO
- com.yohobuy.platform.dal.shops.IShopsBrandsDAO
- com.yohobuy.platform.dal.shops.ISupplierBrandDAO
- com.yohobuy.platform.dal.supplier.BaseSingleMapper
- com.yohobuy.platform.dal.supplier.ISupplierDAO
- com.yohobuy.platform.dal.supplier.ISupplierCheckDAO
- com.yohobuy.platform.dal.agreement.IAgreementClauseDAO
- com.yohobuy.platform.dal.agreement.IAgreementDAO
- com.yohobuy.platform.dal.agreement.IClauseSettlementDAO
- com.yohobuy.platform.dal.product.BaseProductMapper
- com.yohobuy.platform.dal.product.BaseGoodsMapper
- com.yohobuy.platform.dal.shops.SupplierSalersCategoryMapper
- com.yohobuy.platform.dal.supplier.ErpSupplierProductExtMapper
- com.yohobuy.platform.dal.shops.IShopsAdminDAO
- com.yohobuy.platform.dal.shops.IShopsCheckDAO
- com.yohobuy.platform.dal.shops.ShopDecoratorMapper
- com.yohobuy.platform.dal.shops.ShopDecoratorTemplateMapper
- com.yohobuy.platform.dal.shops.ShopDecoratorModuleResourceMapper
- com.yohobuy.platform.dal.shops.ShopStoreAllocationMapper
- com.yohobuy.platform.dal.shops.ISessionDAO
- com.yohobuy.platform.dal.shops.ShopCrossRecMapper
- com.yohobuy.platform.dal.shops.ShopPriceShowMapper
- com.yohobuy.platform.dal.promotion.ShopCouponLimitMapper
erp_account:
servers:
- ${jdbc.mysql.platform.erp_account.master}
- ${jdbc.mysql.platform.erp_account.slave}
username: ${jdbc.mysql.platform.erp_account.username}
password: ${jdbc.mysql.platform.erp_account.password}
daos:
- com.yohobuy.platform.dal.account.IDeptDAO
- com.yohobuy.platform.dal.account.IProfileDAO
- com.yohobuy.platform.dal.account.IProfileSupplierDAO
- com.yohobuy.platform.dal.account.RoleMapper
bigdata_offline_shop:
servers:
- ${jdbc.mysql.platform.bigdata_store.slave}
- ${jdbc.mysql.platform.bigdata_store.slave}
username: ${jdbc.mysql.platform.bigdata_store.username}
password: ${jdbc.mysql.platform.bigdata_store.password}
daos:
- com.yohobuy.platform.dal.reportform.ISaleReportMapper
yh_events:
servers:
- ${jdbc.mysql.yhevents.master}
- ${jdbc.mysql.yhevents.slave}
username: ${jdbc.mysql.yhevents.username}
password: ${jdbc.mysql.yhevents.password}
daos:
- com.yohobuy.platform.dal.event.SpecialActivityMapper
- com.yohobuy.platform.dal.event.CouponSendManagerMapper
- com.yohobuy.platform.dal.event.ICouponActivityMapper
- com.yohobuy.platform.dal.event.IActivityConfigurationMapper
yh_guang:
servers:
- ${jdbc.mysql.platform.yh_guang.master}
- ${jdbc.mysql.platform.yh_guang.slave}
username: ${jdbc.mysql.platform.yh_guang.username}
password: ${jdbc.mysql.platform.yh_guang.password}
daos:
- com.yohobuy.platform.dal.guang.IArticleDAO
- com.yohobuy.platform.dal.guang.IAuthorDAO
- com.yohobuy.platform.dal.guang.IArticleSortDAO
- com.yohobuy.platform.dal.guang.IArticleBlockDAO
- com.yohobuy.platform.dal.guang.IArticleBrandRelationDAO
- com.yohobuy.platform.dal.guang.IArticleBrowseDAO
- com.yohobuy.platform.dal.guang.IArticleTagsClassifyDAO
- com.yohobuy.platform.dal.guang.IArticleTagsDAO
- com.yohobuy.platform.dal.guang.IBrandImgDAO
- com.yohobuy.platform.dal.guang.IBrandRelationDAO
- com.yohobuy.platform.dal.guang.IBrandRelationshipDAO
- com.yohobuy.platform.dal.guang.ICommentsDAO
- com.yohobuy.platform.dal.guang.IPlustarCategoryDAO
- com.yohobuy.platform.dal.guang.IRelationshipImageDAO
- com.yohobuy.platform.dal.guang.ResourceTabMapper
yhb_promotion:
servers:
- ${jdbc.mysql.yhbpromotion.master}
- ${jdbc.mysql.yhbpromotion.slave}
username: ${jdbc.mysql.yhbpromotion.username}
password: ${jdbc.mysql.yhbpromotion.password}
daos:
- com.yohobuy.platform.dal.promotion.ILimitCodeMapper
- com.yohobuy.platform.dal.promotion.ILimitCodeBatchNoMapper
- com.yohobuy.platform.dal.promotion.IPromotionCodeMapper
- com.yohobuy.platform.dal.promotion.IEventConfigMapper
- com.yohobuy.platform.dal.promotion.IActivityInfoMapper
- com.yohobuy.platform.dal.users.LimitCodeReceiveRecordMapper
- com.yohobuy.platform.dal.promotion.ICouponsSendInfoMapper
- com.yohobuy.platform.dal.promotion.IPCouponsSnMapper
- com.yohobuy.platform.dal.promotion.IBrandCouponMapper
- com.yohobuy.platform.dal.promotion.ILimitCodeSkuMapper
- com.yohobuy.platform.dal.promotion.CouponsSendErrorMapper
- com.yohobuy.platform.dal.promotion.ILimitCodeReceiveRecordMapper
- com.yohobuy.platform.dal.promotion.IErpInstalmentInfoMapper
- com.yohobuy.platform.dal.promotion.IErpInstalmentProductMapper
- com.yohobuy.platform.dal.promotion.ICouponSNMapper
- com.yohobuy.platform.dal.promotion.CouponsUseRuleMapper
- com.yohobuy.platform.dal.promotion.CouponsSknExcludeMapper
- com.yohobuy.platform.dal.promotion.PromotionInfoMapper
- com.yohobuy.platform.dal.promotion.PromotionParamsMapper
- com.yohobuy.platform.dal.promotion.PromotionProductFlagsMapper
- com.yohobuy.platform.dal.promotion.PromotionLogMapper
- com.yohobuy.platform.dal.operations.IProductBuyLimitDAO
- com.yohobuy.platform.dal.promotion.PromotionParamsDao
- com.yohobuy.platform.dal.promotion.PromotionInfoDao
- com.yohobuy.platform.dal.promotion.DepartmentMapper
- com.yohobuy.platform.dal.promotion.ICouponOperationMapper
- com.yohobuy.platform.dal.promotion.ShopCouponsMapper
- com.yohobuy.platform.dal.promotion.CouponShopInfoMapper
- com.yohobuy.platform.dal.promotion.EventConfigMapper
yhb_promotion_split:
servers:
- ${jdbc.mysql.yhbpromotionsplitplatform.master}
- ${jdbc.mysql.yhbpromotionsplitplatform.slave}
username: ${jdbc.mysql.yhbpromotionsplitplatform.username}
password: ${jdbc.mysql.yhbpromotionsplitplatform.password}
cobar: true
clusterName: platform
daos:
- com.yohobuy.platform.dal.promotion.ICouponMapper
- com.yohobuy.platform.dal.promotion.ICouponsLogsMapper
yh_coupons:
servers:
- ${jdbc.mysql.yhbpromotion.master}
- ${jdbc.mysql.yhbpromotion.slave}
username: ${jdbc.mysql.yhbpromotion.username}
password: ${jdbc.mysql.yhbpromotion.password}
daos:
- com.yohobuy.platform.dal.promotion.ICollarCouponsLogsMapper
- com.yohobuy.platform.dal.promotion.ICollarCouponsMapper
- com.yohobuy.platform.dal.promotion.ICollarCouponsRelationMapper
- com.yohobuy.platform.dal.promotion.ProductLimitMapper
yoho_activity:
servers:
- ${jdbc.mysql.yohoactivity.master}
- ${jdbc.mysql.yohoactivity.slave}
username: ${jdbc.mysql.yohoactivity.username}
password: ${jdbc.mysql.yohoactivity.password}
daos:
- com.yohobuy.platform.dal.activity.IDrawlineActivityDAO
- com.yohobuy.platform.dal.activity.IDrawlineLuckyUserDAO
- com.yohobuy.platform.dal.activity.IDrawlinePrizeSettingDAO
- com.yohobuy.platform.dal.activity.IDrawlineUserQueueDAO
- com.yohobuy.platform.dal.staticfile.IStaticFileDAO
- com.yohobuy.platform.dal.activity.IDrawlineLuckyUserBakDAO
- com.yohobuy.platform.dal.activity.IDrawlineActivityLuckydrawDAO
- com.yohobuy.platform.dal.activity.IActivityConfigDAO
- com.yohobuy.platform.dal.activity.IUserCouponHistoryDAO
- com.yohobuy.platform.dal.activity.IUserShareHistoryDAO
- com.yohobuy.platform.dal.activity.IOrderShareCouponDAO
yoho_passport:
servers:
- ${jdbc.mysql.yohopassport.master}
- ${jdbc.mysql.yohopassport.slave}
username: ${jdbc.mysql.yohopassport.username}
password: ${jdbc.mysql.yohopassport.password}
daos:
- com.yohobuy.platform.dal.users.YohoCoinActivityDao
- com.yohobuy.platform.dal.users.IPermitLoginUser
- com.yohobuy.platform.dal.product.RecommendSknMapper
yh_community:
servers:
- ${jdbc.mysql.yhcommunity.master}
- ${jdbc.mysql.yhcommunity.slave}
username: ${jdbc.mysql.yhcommunity.username}
password: ${jdbc.mysql.yhcommunity.password}
daos:
- com.yohobuy.platform.dal.users.IVerifiedGraphicImgDAO
yh_passport:
servers:
- ${jdbc.mysql.yhpassport.master}
- ${jdbc.mysql.yhpassport.slave}
username: ${jdbc.mysql.yhpassport.username}
password: ${jdbc.mysql.yhpassport.password}
daos:
- com.yohobuy.platform.dal.users.ReminderMapper
- com.yohobuy.platform.dal.product.SecKillReminderMapper
- com.yohobuy.platform.dal.users.NoticeTemplateMapper
yh_consult:
servers:
- ${jdbc.mysql.yhconsult.master}
- ${jdbc.mysql.yhconsult.master}
username: ${jdbc.mysql.yhconsult.username}
password: ${jdbc.mysql.yhconsult.password}
daos:
- com.yohobuy.platform.dal.operations.IConsultDAO
yh_inbox:
servers:
- ${jdbc.mysql.yhmessage.master}
- ${jdbc.mysql.yhmessage.slave}
username: ${jdbc.mysql.yhmessage.username}
password: ${jdbc.mysql.yhmessage.password}
cobar: true
clusterName: platform
daos:
- com.yohobuy.platform.dal.message.IInBoxDAO
- com.yohobuy.platform.dal.shops.ShopInboxMapper
yoho_pay:
servers:
- ${jdbc.mysql.pay.master}
- ${jdbc.mysql.pay.slave}
username: ${jdbc.mysql.pay.username}
password: ${jdbc.mysql.pay.password}
daos:
- com.yohobuy.platform.dal.cms.ICmsPayDAO
yh_comment:
servers:
- ${jdbc.mysql.yhcomment.master}
- ${jdbc.mysql.yhcomment.slave}
username: ${jdbc.mysql.yhcomment.username}
password: ${jdbc.mysql.yhcomment.password}
daos:
- com.yohobuy.platform.dal.show.IShowCommentDao
- com.yohobuy.platform.dal.show.IShowCommentDao
- com.yohobuy.platform.dal.show.MarkedSnsImageMapper
- com.yohobuy.platform.dal.show.SnsProductMapper
yh_setting:
servers:
- ${jdbc.mysql.yhsetting.master}
- ${jdbc.mysql.yhsetting.slave}
username: ${jdbc.mysql.yhsetting.username}
password: ${jdbc.mysql.yhsetting.password}
daos:
- com.yohobuy.platform.dal.setting.ISysConfigDAO
yh_unions:
servers:
- ${jdbc.mysql.yh_union.master}
- ${jdbc.mysql.yh_union.slave}
username: ${jdbc.mysql.yh_union.username}
password: ${jdbc.mysql.yh_union.password}
daos:
- com.yohobuy.platform.dal.unionType.IUnionTypeDAO
- com.yohobuy.platform.dal.unionType.IMktMarketingChannelDAO
- com.yohobuy.platform.dal.unionType.IMktMarketingClassDAO
- com.yohobuy.platform.dal.unionType.IMktMarketingDivisionDAO
- com.yohobuy.platform.dal.unionType.IMktMarketingUrlDAO
- com.yohobuy.platform.dal.unionType.IMktOperateLogDAO
- com.yohobuy.platform.dal.unionType.IMktLongShortUrlDAO
- com.yohobuy.platform.dal.unionType.IMktActivityConfigDAO
- com.yohobuy.platform.dal.unionType.IMktMarketingBusinessDAO
- com.yohobuy.platform.dal.unionType.IMktMarketingLandingPageTypeDAO
- com.yohobuy.platform.dal.unionType.IMktAppDownloadUrlDAO
- com.yohobuy.platform.dal.reportform.AllReportFormMapper
- com.yohobuy.platform.dal.reportform.CpsReportFormMapper
- com.yohobuy.platform.dal.reportform.SemReportFormMapper
- com.yohobuy.platform.dal.unionType.IMktPriceCollectionDAO
- com.yohobuy.platform.dal.reportform.IMktReportFormMapper
- com.yohobuy.platform.dal.unionType.IMktUnionCodeDAO
- com.yohobuy.platform.dal.unionType.IQrcodeUnionTypeDAO
- com.yohobuy.platform.dal.unionType.UnionClickCountDayMapper
yh_cms:
servers:
- ${jdbc.mysql.yhboperations.master}
- ${jdbc.mysql.yhboperations.slave}
username: ${jdbc.mysql.yhboperations.username}
password: ${jdbc.mysql.yhboperations.password}
daos:
- com.yohobuy.platform.dal.product.ICountryInfoDAO
bigdata_yh_unions:
servers:
- ${jdbc.mysql.bigdataunion.slave}
- ${jdbc.mysql.bigdataunion.slave}
username: ${jdbc.mysql.bigdataunion.username}
password: ${jdbc.mysql.bigdataunion.password}
daos:
- com.yohobuy.platform.dal.reportform.IVAppAdAppSourceAna
- com.yohobuy.platform.dal.reportform.AppAdWebSourceAnaMapper
- com.yohobuy.platform.dal.reportform.VBdChannelSmsAnaMapper
- com.yohobuy.platform.dal.reportform.IAppAdCouponOrderAna
- com.yohobuy.platform.dal.reportform.IBdChannelBusinessAna
- com.yohobuy.platform.dal.reportform.IBdChannelSmcDetailAna
- com.yohobuy.platform.dal.operations.AppAdCpsSourceAnaMapper
- com.yohobuy.platform.dal.reportform.BigDataReportFormMapper
yh_lottery:
servers:
- ${jdbc.mysql.yhlottery.master}
- ${jdbc.mysql.yhlottery.slave}
username: ${jdbc.mysql.yhlottery.username}
password: ${jdbc.mysql.yhlottery.password}
daos:
- com.yohobuy.platform.dal.operations.ILotteryDAO
- com.yohobuy.platform.dal.operations.IPrizeDAO
yoho_sms:
servers:
- ${jdbc.mysql.yhmessage.master}
- ${jdbc.mysql.yhmessage.slave}
username: ${jdbc.mysql.yhmessage.username}
password: ${jdbc.mysql.yhmessage.password}
cobar: true
clusterName: platform
daos:
- com.yohobuy.platform.dal.message.TemplateMapper
readOnlyInSlave: ${readOnlyInSlave}
... ...
<?xml version="1.0" encoding="UTF-8"?>
<!-- 从高到地低 OFF 、 FATAL 、 ERROR 、 WARN 、 INFO 、 DEBUG 、 TRACE 、 ALL -->
<!-- 日志输出规则 根据当前ROOT 级别,日志输出时,级别高于root默认的级别时 会输出 -->
<!-- 以下 每个配置的 filter 是过滤掉输出文件里面,会出现高级别文件,依然出现低级别的日志信息,通过filter 过滤只记录本级别的日志-->
<!-- 属性描述 scan:性设置为true时,配置文件如果发生改变,将会被重新加载,默认值为true scanPeriod:设置监测配置文件是否有修改的时间间隔,如果没有给出时间单位,默认单位是毫秒。当scan为true时,此属性生效。默认的时间间隔为1分钟。
debug:当此属性设置为true时,将打印出logback内部日志信息,实时查看logback运行状态。默认值为false。 -->
<configuration scan="true" scanPeriod="60 seconds" debug="false">
<!-- ConsoleAppender 控制台输出日志 -->
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<!-- 对日志进行格式化 -->
<encoder>
<pattern>%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger -%msg%n</pattern>
</encoder>
</appender>
<!-- 服务调用统计 appender -->
<appender name="SERVICE_CALL_STAT" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${yoho.logs.basedir}/${yohobuy.pfmaketing.env.namespace}/service-call-stat.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- daily rollover -->
<fileNamePattern>
${yoho.logs.basedir}/${yohobuy.pfmaketing.env.namespace}/archived/service-call-stat.%d{yyyy-MM-dd}.%i.log
</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<!-- or whenever the file size reaches 100MB -->
<maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>
</timeBasedFileNamingAndTriggeringPolicy>
<!-- keep 30 days' worth of history -->
<maxHistory>${yoho.logs.maxHistory}</maxHistory>
</rollingPolicy>
<encoder>
<pattern>%-1relative - %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{0}:%line -- %msg%n</pattern>
</encoder>
</appender>
<appender name="RESOURCE_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${yoho.logs.basedir}/${yohobuy.pfmaketing.env.namespace}/resource.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- daily rollover -->
<fileNamePattern>
${yoho.logs.basedir}/${yohobuy.pfmaketing.env.namespace}/archived/resource.%d{yyyy-MM-dd}.%i.log
</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<!-- or whenever the file size reaches 100MB -->
<maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>
</timeBasedFileNamingAndTriggeringPolicy>
<!-- keep 30 days' worth of history -->
<maxHistory>${yoho.logs.maxHistory}</maxHistory>
</rollingPolicy>
<encoder>
<pattern>%-1relative - %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{0}:%line -- %msg%n</pattern>
</encoder>
</appender>
<appender name="PAYMENT_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${yoho.logs.basedir}/${yohobuy.pfmaketing.env.namespace}/payment.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- daily rollover -->
<fileNamePattern>
${yoho.logs.basedir}/${yohobuy.pfmaketing.env.namespace}/archived/payment.%d{yyyy-MM-dd}.%i.log
</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<!-- or whenever the file size reaches 100MB -->
<maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>
</timeBasedFileNamingAndTriggeringPolicy>
<!-- keep 30 days' worth of history -->
<maxHistory>${yoho.logs.maxHistory}</maxHistory>
</rollingPolicy>
<encoder>
<pattern>%-1relative - %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{0}:%line -- %msg%n</pattern>
</encoder>
</appender>
<!-- DEBUG级别日志 appender -->
<appender name="DEBUG_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${yoho.logs.basedir}/${yohobuy.pfmaketing.env.namespace}/debug.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- daily rollover -->
<fileNamePattern>${yoho.logs.basedir}/${yohobuy.pfmaketing.env.namespace}/archived/debug.%d{yyyy-MM-dd}.%i.log
</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<!-- or whenever the file size reaches 100MB -->
<maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>
</timeBasedFileNamingAndTriggeringPolicy>
<!-- keep 30 days' worth of history -->
<maxHistory>${yoho.logs.maxHistory}</maxHistory>
</rollingPolicy>
<encoder>
<pattern>%-1relative - %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{0}:%line -- %msg%n</pattern>
</encoder>
</appender>
<!-- WARN、ERROR级别日志 appender -->
<appender name="WARN_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${yoho.logs.basedir}/${yohobuy.pfmaketing.env.namespace}/warn-log.log</file>
<!-- 过滤器,过滤掉 TRACE 和 DEBUG 和 INFO 级别的日志 -->
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>WARN</level>
</filter>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- daily rollover -->
<fileNamePattern>${yoho.logs.basedir}/${yohobuy.pfmaketing.env.namespace}/archived/warn.%d{yyyy-MM-dd}.%i.log</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<!-- or whenever the file size reaches 100MB -->
<maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>
</timeBasedFileNamingAndTriggeringPolicy>
<!-- keep 30 days' worth of history -->
<maxHistory>${yoho.logs.maxHistory}</maxHistory>
</rollingPolicy>
<encoder>
<pattern>%-1relative - %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{0}:%line -- %msg%n</pattern>
</encoder>
</appender>
<!-- INFO级别操作日志 appender -->
<appender name="OPERATE_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${yoho.logs.basedir}/${yohobuy.pfmaketing.env.namespace}/operate-log.log</file>
<!-- 过滤器,过滤掉 TRACE 和 DEBUG 和 INFO 级别的日志 -->
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>INFO</level>
</filter>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- daily rollover -->
<fileNamePattern>${yoho.logs.basedir}/${yohobuy.pfmaketing.env.namespace}/archived/operate.%d{yyyy-MM-dd}.%i.log</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<!-- or whenever the file size reaches 100MB -->
<maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>
</timeBasedFileNamingAndTriggeringPolicy>
<!-- keep 30 days' worth of history -->
<maxHistory>${yoho.logs.maxHistory}</maxHistory>
</rollingPolicy>
<encoder>
<pattern>%-1relative - %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{0}:%line -- %msg%n</pattern>
</encoder>
</appender>
<!-- INFO级别定时任务运行日志 appender -->
<appender name="SCHEDULED_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${yoho.logs.basedir}/${yohobuy.pfmaketing.env.namespace}/scheduled-log.log</file>
<!-- 过滤器,过滤掉 TRACE 和 DEBUG 和 INFO 级别的日志 -->
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>INFO</level>
</filter>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- daily rollover -->
<fileNamePattern>${yoho.logs.basedir}/${yohobuy.pfmaketing.env.namespace}/archived/scheduled.%d{yyyy-MM-dd}.%i.log</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<!-- or whenever the file size reaches 100MB -->
<maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>
</timeBasedFileNamingAndTriggeringPolicy>
<!-- keep 30 days' worth of history -->
<maxHistory>${yoho.logs.maxHistory}</maxHistory>
</rollingPolicy>
<encoder>
<pattern>%-1relative - %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{0}:%line -- %msg%n</pattern>
</encoder>
</appender>
<!-- 腾讯智能推荐:商品信息上传log -->
<appender name="TENCENT_LOG_APPENDER" class="ch.qos.logback.core.rolling.RollingFileAppender">
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>${yoho.logs.basedir}/${yohobuy.pfmaketing.env.namespace}/archived/tencent-upload.%d{yyyy-MM-dd}.%i.log</fileNamePattern>
<!-- 日志最大的保存天数 -->
<maxHistory>${yoho.logs.maxHistory}</maxHistory>
</rollingPolicy>
<triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
<maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>
</triggeringPolicy>
<encoder>
<pattern>%-1relative - %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{0}:%line -- %msg%n</pattern>
</encoder>
</appender>
<!-- INFO级别操作日志 appender -->
<appender name="SELLER_OPERATE_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${yoho.logs.basedir}/${yohobuy.pfmaketing.env.namespace}/sellerOperate-log.log</file>
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>INFO</level>
</filter>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>${yoho.logs.basedir}/${yohobuy.pfmaketing.env.namespace}/archived/sellerOperate.%d{yyyy-MM-dd}.%i.log</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>
</timeBasedFileNamingAndTriggeringPolicy>
<maxHistory>${yoho.logs.maxHistory}</maxHistory>
</rollingPolicy>
<encoder>
<pattern>%-1relative - %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{0}:%line -- %msg%n</pattern>
</encoder>
</appender>
<!-- 商家端DEBUG级别日志 appender -->
<appender name="SELLERDEBUG" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${yoho.logs.basedir}/${yohobuy.pfmaketing.env.namespace}/sellerDebug.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- daily rollover -->
<fileNamePattern>${yoho.logs.basedir}/${yohobuy.pfmaketing.env.namespace}/archived/sellerDebug.%d{yyyy-MM-dd}.%i.log
</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<!-- or whenever the file size reaches 100MB -->
<maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>
</timeBasedFileNamingAndTriggeringPolicy>
<!-- keep 30 days' worth of history -->
<maxHistory>${yoho.logs.maxHistory}</maxHistory>
</rollingPolicy>
<encoder>
<pattern>%-1relative - %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{0}:%line -- %msg%n</pattern>
</encoder>
</appender>
<!-- MQ日志 appender -->
<appender name="MQ_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${yoho.logs.basedir}/${yohobuy.pfmaketing.env.namespace}/mqOperate.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- daily rollover -->
<fileNamePattern>${yoho.logs.basedir}/${yohobuy.pfmaketing.env.namespace}/archived/mqOperate.%d{yyyy-MM-dd}.%i.log
</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<!-- or whenever the file size reaches 100MB -->
<maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>
</timeBasedFileNamingAndTriggeringPolicy>
<!-- keep 30 days' worth of history -->
<maxHistory>${yoho.logs.maxHistory}</maxHistory>
</rollingPolicy>
<encoder>
<pattern>%-1relative - %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{0}:%line -- %msg%n</pattern>
</encoder>
</appender>
<!-- 爬虫日志 appender -->
<appender name="REPTILE_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${yoho.logs.basedir}/${yohobuy.pfmaketing.env.namespace}/reptile.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- daily rollover -->
<fileNamePattern>${yoho.logs.basedir}/${yohobuy.pfmaketing.env.namespace}/archived/reptile.%d{yyyy-MM-dd}.%i.log
</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<!-- or whenever the file size reaches 100MB -->
<maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>
</timeBasedFileNamingAndTriggeringPolicy>
<!-- keep 30 days' worth of history -->
<maxHistory>${yoho.logs.maxHistory}</maxHistory>
</rollingPolicy>
<encoder>
<pattern>%-1relative - %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{0}:%line -- %msg%n</pattern>
</encoder>
</appender>
<!-- 批量新增商品日志 appender -->
<appender name="BATCHADDSKN_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${yoho.logs.basedir}/${yohobuy.pfmaketing.env.namespace}/batchAddSkn.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- daily rollover -->
<fileNamePattern>${yoho.logs.basedir}/${yohobuy.pfmaketing.env.namespace}/archived/batchAddSkn.%d{yyyy-MM-dd}.%i.log
</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<!-- or whenever the file size reaches 100MB -->
<maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>
</timeBasedFileNamingAndTriggeringPolicy>
<!-- keep 30 days' worth of history -->
<maxHistory>${yoho.logs.maxHistory}</maxHistory>
</rollingPolicy>
<encoder>
<pattern>%-1relative - %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{0}:%line -- %msg%n</pattern>
</encoder>
</appender>
<!-- 调用erp服务日志 appender -->
<appender name="ERP_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${yoho.logs.basedir}/${yohobuy.pfmaketing.env.namespace}/erpService.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- daily rollover -->
<fileNamePattern>${yoho.logs.basedir}/${yohobuy.pfmaketing.env.namespace}/archived/erpService.%d{yyyy-MM-dd}.%i.log
</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<!-- or whenever the file size reaches 100MB -->
<maxFileSize>${yoho.logs.maxFileSize}</maxFileSize>
</timeBasedFileNamingAndTriggeringPolicy>
<!-- keep 30 days' worth of history -->
<maxHistory>${yoho.logs.maxHistory}</maxHistory>
</rollingPolicy>
<encoder>
<pattern>%-1relative - %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{0}:%line -- %msg%n</pattern>
</encoder>
</appender>
<!-- 数据库操作日志 -->
<logger name="java.sql.PreparedStatement" value="${yoho.logs.level}"/>
<logger name="java.sql.Connection" value="${yoho.logs.level}"/>
<logger name="java.sql.Statement" value="${yoho.logs.level}"/>
<logger name="com.ibatis" value="${yoho.logs.level}"/>
<logger name="com.ibatis.common.jdbc.SimpleDataSource" value="${yoho.logs.level}"/>
<logger name="com.ibatis.common.jdbc.ScriptRunner" level="${yoho.logs.level}"/>
<logger name="com.ibatis.sqlmap.engine.impl.SqlMapClientDelegate" value="${yoho.logs.level}"/>
<logger name="org.springframework" level="INFO"/>
<logger name="org.apache.zookeeper.ClientCnxn" level="WARN"/>
<!-- root级别 DEBUG -->
<root level="INFO">
<!-- 文件输出 -->
<appender-ref ref="DEBUG_LOG"/>
<appender-ref ref="WARN_LOG"/>
</root>
<!-- resources -->
<logger name="resources" additivity="true">
<level value="INFO"/>
<appender-ref ref="RESOURCE_LOG"/>
</logger>
<!-- 服务调用统计 -->
<logger name="gwStatisticLog" additivity="true">
<level value="INFO"/>
<appender-ref ref="SERVICE_CALL_STAT"/>
</logger>
<!-- 操作日志,记录关键操作 -->
<logger name="operateLog" additivity="false">
<level value="INFO"/>
<appender-ref ref="OPERATE_LOG"/>
</logger>
<!-- 定时日志,记录定时任务运行日志 -->
<logger name="scheduledLog" additivity="false">
<level value="INFO"/>
<appender-ref ref="SCHEDULED_LOG"/>
</logger>
<!--info级别重点部分单独记录-->
<logger name="tencentUpload" additivity="false">
<level value="INFO"/>
<appender-ref ref="TENCENT_LOG_APPENDER"/>
</logger>
<!-- 商家端操作日志,记录关键操作 -->
<logger name="com.yohobuy.platform.seller" additivity="false">
<level value="INFO"/>
<appender-ref ref="SELLERDEBUG"/>
</logger>
<logger name="sellerOperateLog" additivity="false">
<level value="INFO"/>
<appender-ref ref="SELLER_OPERATE_LOG"/>
</logger>
<!-- MQ日志 -->
<logger name="mqLog" additivity="false">
<level value="INFO"/>
<appender-ref ref="MQ_LOG"/>
</logger>
<!-- 爬虫相关日志 -->
<logger name="reptileLog" additivity="false">
<level value="INFO"/>
<appender-ref ref="REPTILE_LOG"/>
</logger>
<!-- 批量生成SKN相关日志 -->
<logger name="batchAddSknLog" additivity="false">
<level value="INFO"/>
<appender-ref ref="BATCHADDSKN_LOG"/>
</logger>
<!-- 调用erp服务日志 -->
<logger name="erpService" additivity="true">
<level value="INFO"/>
<appender-ref ref="ERP_LOG"/>
</logger>
</configuration>
\ No newline at end of file
... ...
producer:
- address: ${rabbit_common}
username: ${rabbit_common_user}
password: ${rabbit_common_password}
producers:
- bean: producerCommon
- address: ${rabbit_order}
username: ${rabbit_order_user}
password: ${rabbit_order_password}
producers:
- bean: producerHost
\ No newline at end of file
... ...
redis:
platformRedisTemplate :
servers:
- ${platformRedis.proxy.address}:${platformRedis.proxy.port}
auth: ${platformRedis.proxy.auth}
# cleanMq:
# addresses:
# ${rabbit.cacheclean.producer.host}
yohoNoSyncRedis :
servers:
- ${redis.notsync.twemproxy.addresses}
auth: ${redis.notsync.twemproxy.auth}
unionRedisTemplate :
servers:
- ${unionRedis.proxy.address}:${unionRedis.proxy.port}
auth: ${unionRedis.proxy.auth}
# cleanMq:
# addresses:
# ${rabbit.cacheclean.producer.host}
\ No newline at end of file
... ...
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
id="schedule-console" version="3.0">
<display-name>Archetype Created Web Application</display-name>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath*:META-INF/spring/mybatis-datasource.xml, classpath*:META-INF/spring/spring*.xml</param-value>
</context-param>
<servlet-mapping>
<servlet-name>default</servlet-name>
<url-pattern>/common/ok.jsp</url-pattern>
<url-pattern>/common/batchUpdatePrice.xlsx</url-pattern>
<url-pattern>/common/brandCooperation.xlsx</url-pattern>
<url-pattern>/common/productModelTry.xlsx</url-pattern>
<url-pattern>/common/brandModelSeries.xlsx</url-pattern>
<url-pattern>/common/searchSort.xlsx</url-pattern>
<url-pattern>/common/baseproduct.xlsx</url-pattern>
<url-pattern>/common/batchModifyOutlet.xlsx</url-pattern>
<url-pattern>/common/batchModifySupply.xlsx</url-pattern>
<url-pattern>/common/yohoCoin.xlsx</url-pattern>
<url-pattern>/common/payDelivery.xlsx</url-pattern>
<url-pattern>/common/refundExchange.xlsx</url-pattern>
<url-pattern>/common/modifyFactoryCode.xlsx</url-pattern>
<url-pattern>/common/batchModifyAppType.xlsx</url-pattern>
<url-pattern>/common/productActvityTemplate.xlsx</url-pattern>
<url-pattern>/common/studentSkn.csv</url-pattern>
<url-pattern>/common/instalmentSkn.xlsx</url-pattern>
<url-pattern>/common/productSale.xlsx</url-pattern>
<url-pattern>/common/storeProductSale.xlsx</url-pattern>
<url-pattern>/common/offShelveSkn.xlsx</url-pattern>
<url-pattern>/common/batchAuditPrice.xlsx</url-pattern>
<url-pattern>/common/batchUpdateStudentPrice.xlsx</url-pattern>
<url-pattern>/common/onShelveSkn.xlsx</url-pattern>
<url-pattern>/common/categoryLinkProduct.xlsx</url-pattern>
<url-pattern>/common/batchSknLink.xlsx</url-pattern>
<url-pattern>/common/shopsPromoteBatchImport.xlsx</url-pattern>
<url-pattern>/common/djys.xlsx</url-pattern>
<url-pattern>/common/djysTime.xlsx</url-pattern>
<url-pattern>/common/importProductSingleDay.xlsx</url-pattern>
<url-pattern>/common/productpool.xlsx</url-pattern>
<url-pattern>/common/productBatchImport.xlsx</url-pattern>
<url-pattern>/common/productBundleImport.xlsx</url-pattern>
<url-pattern>/common/uid.xlsx</url-pattern>
<url-pattern>/common/buylimit_import.xlsx</url-pattern>
<url-pattern>/common/buylimit_delete.xlsx</url-pattern>
<url-pattern>/UEDitorController/config.json</url-pattern>
<url-pattern>/common/kuanXingBianMa.xlsx</url-pattern>
<url-pattern>/common/sknYearAndSeason.xlsx</url-pattern>
<url-pattern>/common/skuUpmCode.xlsx</url-pattern>
<url-pattern>/common/batchUpdateProductTag.xlsx</url-pattern>
<url-pattern>/common/brandSaleTime.xlsx</url-pattern>
<url-pattern>/common/brandClassic.xlsx</url-pattern>
<url-pattern>/common/expectSaleTime.xlsx</url-pattern>
<url-pattern>/common/productPhrase.xlsx</url-pattern>
<url-pattern>/common/mkt_productpool.xlsx</url-pattern>
<url-pattern>/common/vipProduct.xlsx</url-pattern>
<url-pattern>/common/productCouponLimit.xlsx</url-pattern>
<url-pattern>/common/activitySknAddBatch.xlsx</url-pattern>
<url-pattern>/common/activitySknDeleteBatch.xlsx</url-pattern>
<url-pattern>/common/updateSort.xlsx</url-pattern>
<url-pattern>/common/couponProductLimit.xlsx</url-pattern>
<url-pattern>/common/timelimit_deposit_import.xlsx</url-pattern>
<url-pattern>/common/advancePrd.xlsx</url-pattern>
<url-pattern>/common/batchDelPool.xlsx</url-pattern>
<url-pattern>/common/followPriceImport.xlsx</url-pattern>
<url-pattern>/common/nationalCode.xlsx</url-pattern>
<url-pattern>/common/timelimit_deposit_import_delete.xlsx</url-pattern>
<url-pattern>/common/shopCouponLimit.xlsx</url-pattern>
<url-pattern>/common/vipCoinReturn.xlsx</url-pattern>
<url-pattern>/common/productShowSize.xlsx</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>dispatcher</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<init-param>
<param-name>contextConfigLocation</param-name>
<param-value></param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>dispatcher</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<listener>
<listener-class>com.yohobuy.platform.common.listener.PlatformServletContextListener</listener-class>
</listener>
<listener>
<listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>
</listener>
<!-- 编码过滤器 -->
<filter>
<filter-name>encodingFilter</filter-name>
<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
<async-supported>true</async-supported>
<init-param>
<param-name>encoding</param-name>
<param-value>UTF-8</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>encodingFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<!-- 防止Spring内存溢出监听器 -->
<listener>
<listener-class>org.springframework.web.util.IntrospectorCleanupListener</listener-class>
</listener>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
</web-app>
... ...
Server Online Resources ok
\ No newline at end of file
... ...