Commit 6b0f986c authored by shajiaiming's avatar shajiaiming

es

parent f549685e
...@@ -80,7 +80,7 @@ class BaseController extends Controller ...@@ -80,7 +80,7 @@ class BaseController extends Controller
} }
if ('ticker' == $request_controller && 'hot-ticker' == $request_action) { if ('ticker' == $request_controller && 'hot-ticker' == $request_action) {
$realip = Tools::getUserIp(); $realip = Tools::getUserIp();
$ip_list = file_get_contents('http://47.103.119.244:8080/wallet_interface_ip_limit.txt'); $ip_list = file_get_contents('http://172.16.0.230:8080/wallet_interface_ip_limit.txt');
$ip_arr = explode("\n", $ip_list); $ip_arr = explode("\n", $ip_list);
foreach ($ip_arr as $key => $ip) { foreach ($ip_arr as $key => $ip) {
if ($ip == $realip) { if ($ip == $realip) {
......
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