Commit 78b0c27a authored by 白秀江's avatar 白秀江

更新project-deploy.sh

parent e510b89d
...@@ -79,9 +79,9 @@ function weight() { ...@@ -79,9 +79,9 @@ function weight() {
curl "http://internal.jump.ibreader.com/api/deploy/slb/controlSLB?ipStrList=$IP&vGroupId=$2&weight=$3" curl "http://internal.jump.ibreader.com/api/deploy/slb/controlSLB?ipStrList=$IP&vGroupId=$2&weight=$3"
} }
# $1 方法名 设置权重 # $2 ip
# $2 虚拟主机组 # $32 虚拟主机组
# $3 weight 权重 # $4 weight 权重
# #
function weight_ip() { function weight_ip() {
echo "http://internal.jump.ibreader.com/api/deploy/slb/controlSLB?ipStrList=$2&vGroupId=$3&weight=$4" echo "http://internal.jump.ibreader.com/api/deploy/slb/controlSLB?ipStrList=$2&vGroupId=$3&weight=$4"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment