songxingwei 2 years ago
parent
commit
93880036de
1 changed files with 1 additions and 0 deletions
  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(){