dever 3 năm trước cách đây
mục cha
commit
581dd75d4e
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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;
     }