|
|
@@ -148,10 +148,10 @@ class Platform extends Api
|
|
|
];
|
|
|
$id = Db::name('VideoContributionRecord')->insertGetId($up);
|
|
|
@file_put_contents("quanju.txt", $id . "-记录id\r\n", 8);
|
|
|
- $user = model('VideoList')->where('id',$v['vid'])->find();
|
|
|
+ $user = model('Videolist')->where('id',$v['vid'])->find();
|
|
|
$user_contribution = $user['share']+$v['num'];
|
|
|
@file_put_contents("quanju.txt", $user_contribution . "-修改后版权\r\n", 8);
|
|
|
- $res2 = model('VideoList')->where('id',$v['vid'])->update(['share'=>$user_contribution]);
|
|
|
+ $res2 = model('Videolist')->where('id',$v['vid'])->update(['share'=>$user_contribution]);
|
|
|
}
|
|
|
}
|
|
|
}
|