WIN-2308041133\Administrator 8 月之前
父节点
当前提交
1685b50b06
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. 2 3
      application/admin/controller/platform/Crecord.php

+ 2 - 3
application/admin/controller/platform/Crecord.php

@@ -19,9 +19,8 @@ class Crecord extends Backend
     public function _initialize()
     {
         parent::_initialize();
-//        $this->model = new \app\admin\model\third\Platform;
         $this->model = new \app\common\model\VideoContributionRecord();
-//        $this->model = model('platform');
+
     }
 
     /**
@@ -50,7 +49,7 @@ class Crecord extends Backend
                 ->count();
             $list = $this->model
                 ->where($where)
-                ->with('platform,videolist')
+                ->with('user,videolist')
                 ->order($sort, $order)
                 ->limit($offset, $limit)
                 ->select();