新增两个API接口

master
iyuu.cn 5 years ago
parent 53902ee878
commit 53533df4b9
  1. 6
      app/AutoReseed.php

@ -23,7 +23,7 @@ class AutoReseed
// 不辅种的站点 'ourbits','hdchina' // 不辅种的站点 'ourbits','hdchina'
private static $noReseed = array(); private static $noReseed = array();
// 不转移的站点 'hdarea','hdbd' // 不转移的站点 'hdarea','hdbd'
private static $noMove = array('hdarea'); private static $noMove = array('');
// cookie检查 // cookie检查
private static $cookieCheck = array('hdchina','hdcity'); private static $cookieCheck = array('hdchina','hdcity');
// 缓存路径 // 缓存路径
@ -36,7 +36,9 @@ class AutoReseed
'login' => '/user/login', 'login' => '/user/login',
'sites' => '/api/sites', 'sites' => '/api/sites',
'infohash'=> '/api/infohash', 'infohash'=> '/api/infohash',
'notify' => '/api/notify', 'notify' => '/api/notify',
'alike' => '/api/alike',
'hash' => '/api/hash',
); );
// curl // curl
private static $curl = null; private static $curl = null;

Loading…
Cancel
Save