dever 3 年之前
父節點
當前提交
581dd75d4e
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      app/shop/src/Buy.php

+ 4 - 0
app/shop/src/Buy.php

@@ -41,6 +41,10 @@ class Buy extends Core
 
         $this->data['shop'] = $this->shop;
 
+        $act_id = Dever::input('act_id', 1);
+
+        $this->data['act'] = Dever::db('act/info')->find($act_id);
+
         return $this->data;
     }