dever 4 tahun lalu
induk
melakukan
c7ced42d05
1 mengubah file dengan 3 tambahan dan 0 penghapusan
  1. 3 0
      app/collection/src/Api.php

+ 3 - 0
app/collection/src/Api.php

@@ -56,6 +56,9 @@ class Api extends Core
         # 基本配置
         $data['config'] = Dever::db('main/config')->one();
 
+        # 宣传栏推送位
+        $data['xuanchuan'] = Dever::load('push/lib/data')->get('xuanchuan', '首页宣传栏', 3);
+
         return $data;
     }