songxingwei il y a 2 ans
Parent
commit
93880036de
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      app/admin/controller/BestKnowledgeAd.php

+ 1 - 0
app/admin/controller/BestKnowledgeAd.php

@@ -37,6 +37,7 @@ class BestKnowledgeAd extends Controller
      */
     public function ad_edit(){
         $this->ad_vali();
+        $this->assign('category',DataXwCategory::show()->select());
         DataBestKnowledgeAd::mForm('ad_form');
     }
     protected function ad_vali(){