This commit is contained in:
2025-08-15 09:48:20 +08:00
parent e51fd9b825
commit bf5b0efffc
2 changed files with 4 additions and 3 deletions

View File

@@ -2,6 +2,7 @@
namespace app\czg\app\controller;
use app\api\model\Announcement;
use app\common\controller\Frontend;
use app\czg\app\model\TbUser;
@@ -13,7 +14,7 @@ class AnnouncementController extends Frontend
public function index()
{
$get = $this->request->get();
return $this->ApiDataReturn(\app\czg\app\model\Announcement::list($get['type']));
return $this->ApiDataReturn(Announcement::list($get['type']));
}