diff --git a/app/Http/Controllers/Api/Images/GetController.php b/app/Http/Controllers/Api/Images/GetController.php index b18e1b8..802699b 100644 --- a/app/Http/Controllers/Api/Images/GetController.php +++ b/app/Http/Controllers/Api/Images/GetController.php @@ -45,7 +45,7 @@ private function findValidUrlBySubKey($sSubKey, $iNum, $oFlow) $sAuthors = ArticleKeyAuthorMap::where("key", $sSubKey)->first()?->authors; $aAuthors = json_decode($sAuthors, true); - $oQuery = ModelArticles::whereIn("sAuthorCode", $aAuthors)->->orderBy("id", "asc"); + $oQuery = ModelArticles::whereIn("sAuthorCode", $aAuthors)->orderBy("id", "asc"); // $oQuery = ArticleKeyAuthorMap::where("key", $sSubKey)->first()?->authors; // $oQuery = ModelArticles::where("sAuthorCode", $sAuthorCode)->orderBy("id", "asc"); // $oQuery = ModelArticles::where("aOpt", "like", $sSubKey)->orderBy("id", "asc");