Commit 7866bada authored by tywldx's avatar tywldx

fix

parent 7f6e8db3
......@@ -86,7 +86,7 @@ reStartProject "xyqb-user2" "$env_ip" "$cmd"
echo "部署xyqb"
# ssh root@192.168.4.3 "sed -i \"s#h5-ui.url=.*#h5-ui.url=http://$pay_url#g\" $base_path/$env_ip/java/xyqb.properties"
# ssh root@192.168.4.3 "sed -i \"s#wechat.secret=.*#wechat.secret=$dev_secury#g\" $base_path/$env_ip/public/java/xyqb.properties"
cmd="\\\" -Dh5-ui.url=http://$pay_url -Dwechat.secret=$dev_secury \\\""
cmd="\\\" -Dh5.http=http://$pay_url -Dwechat.secret=$dev_secury \\\""
echo "$cmd"
reStartProject "xyqb" "$env_ip" "$cmd"
echo "部署结束,如果之后修改代码,部署project后,请重新执行该部署脚本,否则有可能出现测试环境配置文件被回退的可能。"
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