diff --git a/pushplus/pushplus/scripts/pushplus_check.sh b/pushplus/pushplus/scripts/pushplus_check.sh index 86c9384..b7f75d1 100755 --- a/pushplus/pushplus/scripts/pushplus_check.sh +++ b/pushplus/pushplus/scripts/pushplus_check.sh @@ -422,7 +422,7 @@ for nu in ${token_nu}; do pushplus_config_topic=$(dbus get pushplus_config_topic_${nu}) # pushplus_config_channel=`dbus get pushplus_config_channel_${nu}` pushplus_config_channel="wechat" - url="http://pushplus.hxtrip.com/send/${pushplus_config_token}" + url="http://www.pushplus.plus/send/${pushplus_config_token}" reqstr="curl -H \"content-type:application/json\" -X POST -d '{\"template\":\"route\",\"topic\":\""${pushplus_config_topic}"\",\"channel\":\""${pushplus_config_channel}"\",\"title\":\""${pushplus_send_title}"\",\"content\":"${pushplus_send_content}"}' ${url}" result=$(eval ${reqstr}) if [[ -n "$(echo $result | grep "success")" ]]; then diff --git a/pushplus/pushplus/scripts/pushplus_dhcp_trigger.sh b/pushplus/pushplus/scripts/pushplus_dhcp_trigger.sh index dabba41..9f2d4f7 100755 --- a/pushplus/pushplus/scripts/pushplus_dhcp_trigger.sh +++ b/pushplus/pushplus/scripts/pushplus_dhcp_trigger.sh @@ -147,7 +147,7 @@ for nu in ${token_nu}; do pushplus_config_topic=$(dbus get pushplus_config_topic_${nu}) # pushplus_config_channel=`dbus get pushplus_config_channel_${nu}` pushplus_config_channel="wechat" - url="http://pushplus.hxtrip.com/send/${pushplus_config_token}" + url="http://www.pushplus.plus/send/${pushplus_config_token}" reqstr="curl -H \"content-type:application/json\" -X POST -d '{\"template\":\"route\",\"topic\":\""${pushplus_config_topic}"\",\"channel\":\""${pushplus_config_channel}"\",\"title\":\""${pushplus_send_title}"\",\"content\":"${pushplus_send_content}"}' ${url}" result=$(eval ${reqstr}) if [[ -n "$(echo $result | grep "success")" ]]; then diff --git a/pushplus/pushplus/scripts/pushplus_ifup_trigger.sh b/pushplus/pushplus/scripts/pushplus_ifup_trigger.sh index 1409763..fae8a11 100755 --- a/pushplus/pushplus/scripts/pushplus_ifup_trigger.sh +++ b/pushplus/pushplus/scripts/pushplus_ifup_trigger.sh @@ -93,7 +93,7 @@ for nu in ${token_nu}; do pushplus_config_topic=$(dbus get pushplus_config_topic_${nu}) # pushplus_config_channel=`dbus get pushplus_config_channel_${nu}` pushplus_config_channel="wechat" - url="http://pushplus.hxtrip.com/send/${pushplus_config_token}" + url="http://www.pushplus.plus/send/${pushplus_config_token}" reqstr="curl -H \"content-type:application/json\" -X POST -d '{\"template\":\"route\",\"topic\":\""${pushplus_config_topic}"\",\"channel\":\""${pushplus_config_channel}"\",\"title\":\""${pushplus_send_title}"\",\"content\":"${pushplus_send_content}"}' ${url}" result=$(eval ${reqstr}) if [[ -n "$(echo $result | grep "success")" ]]; then