WIN-2308041133\Administrator 7 months ago
parent
commit
226c867eb1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/common/model/VideoPlatform.php

+ 1 - 1
application/common/model/VideoPlatform.php

@@ -20,7 +20,7 @@ class VideoPlatform extends Model
 
     public function videolist()
     {
-        return $this->belongsTo('Videolist', 'pid', 'id', [], 'LEFT')->setEagerlyType(0);
+        return $this->belongsTo('Videolist', 'vid', 'id', [], 'LEFT')->setEagerlyType(0);
     }
     public function platform()
     {