作者 刘锟

update

... ... @@ -3,6 +3,8 @@
namespace App\Models\AutoPull;
use App\Models\Base;
use App\Models\Devops\ServerConfig;
use App\Models\Devops\Servers;
class AutoPullNotify extends Base
{
... ... @@ -10,25 +12,7 @@ class AutoPullNotify extends Base
public static function serversMap()
{
return [
1 => '硅谷云服务器',
25 => '硅谷建站服务器02',
15 => '硅谷IDC服务器01',
14 => '硅谷IDC服务器02',
21 => '硅谷IDC服务器03',
2 => '俄罗斯服务器',
12 => '俄罗斯IDC服务器01',
4 => '阿里云深圳服务器',
5 => '日本服务器',
8 => '香港服务器',
17 => '解析IP专用服务器',
22 => '白帽专属服务器01',
24 => '白帽专属服务器02',
23 => '西班牙服务器',
6 => '自建站服务器群',
27 => '硅谷建站服务器01',
29 => '硅谷IDC服务器04',
];
return Servers::where('status', 0)->where('id', '!=', ServerConfig::SELF_TEST_ID)->orderBy('sort', 'desc')->pluck('server_name', 'id')->toArray();
}
public static function processMap()
... ...