gm更新脚本修改
parent
0219eb655c
commit
3b9b32916c
|
|
@ -105,6 +105,7 @@ mod_gm_package(){
|
|||
|
||||
}
|
||||
|
||||
#gm 发送包
|
||||
gm_send_package(){
|
||||
ip_txt=${1}
|
||||
if is_valid_ip "$ip_txt"; then
|
||||
|
|
|
|||
|
|
@ -27,9 +27,11 @@ mvn clean package
|
|||
|
||||
#删除旧文件
|
||||
rm -rf ${BASE_DIR}/gm/*
|
||||
|
||||
#创建新目录文件
|
||||
json_dir=${BASE_DIR}/gm/config/jsonconf
|
||||
mkdir -p ${json_dir}
|
||||
|
||||
#复制文件
|
||||
cp -f ${TABLE_DIR}/miduo_server/conf/server/ItemConfig.txt ${json_dir}/ItemConfig.txt
|
||||
cp -f ${TABLE_DIR}/miduo_server/conf/server/RechargeCommodityConfig.txt ${json_dir}/RechargeCommodityConfig.txt
|
||||
|
|
|
|||
Loading…
Reference in New Issue