From 3b9b32916c96aa9e63ef1a7ef8df37565b8e99a3 Mon Sep 17 00:00:00 2001 From: "PC-202302260912\\Administrator" <1769111741@qq.com> Date: Thu, 27 Jul 2023 14:17:03 +0800 Subject: [PATCH] =?UTF-8?q?gm=E6=9B=B4=E6=96=B0=E8=84=9A=E6=9C=AC=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- function/function.sh | 1 + update_gm.sh | 2 ++ 2 files changed, 3 insertions(+) diff --git a/function/function.sh b/function/function.sh index f292c7c..d6e5e02 100644 --- a/function/function.sh +++ b/function/function.sh @@ -105,6 +105,7 @@ mod_gm_package(){ } +#gm 发送包 gm_send_package(){ ip_txt=${1} if is_valid_ip "$ip_txt"; then diff --git a/update_gm.sh b/update_gm.sh index 421b660..65db805 100644 --- a/update_gm.sh +++ b/update_gm.sh @@ -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