no message
This commit is contained in:
1 parent
70f9f0c810
commit
528586fad7
7 files changed
+152
-14
No files matched your search
@@ -4,6 +4,8 @@ namespace App\Http\Controllers\Article;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
use App\Models\ArticleList;
|
||||
use App\Models\Option;
|
||||
use App\Models\Jichang;
|
||||
use App\Services\Time;
|
||||
use App\Services\Tag;
|
||||
use voku\helper\AntiXSS;
|
||||
@@ -86,14 +88,13 @@ class SingleController extends Controller
|
||||
|
||||
$this->aData['clashPath'] = env('APP_URL')."/feed/clash-".$iCode.".yaml";
|
||||
|
||||
$this->aData['jichang'] = Jichang::first()->toArray();
|
||||
|
||||
$oHttp = new Http();
|
||||
$oHttp->sToUrl = env("url_jichang_base")."/api/huodong/datehit";
|
||||
$oHttp->sToUrl = $this->aData['jichang']['url']."/api/huodong/datehit";
|
||||
// $oHttp->sToUrl = env("url_jichang_base")."/api/huodong/datehit/2025-01-01";
|
||||
$sHuodong = $oHttp->send();
|
||||
$aHuodong = json_decode($sHuodong, 1);
|
||||
|
||||
// if
|
||||
|
||||
$this->aData['aHuodong'] = $aHuodong;
|
||||
|
||||
$this->sViewPath = 'freenode/single';
|
||||
|
||||
Reference in new issue
Block a user