songxingwei 2 anos atrás
pai
commit
93880036de
1 arquivos alterados com 1 adições e 0 exclusões
  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(){