...
|
...
|
@@ -1833,7 +1833,7 @@ class User extends Api |
|
|
->where('video_id',$video_s)
|
|
|
->find();
|
|
|
if(!empty($res)){
|
|
|
$this->error('error',['code'=>2]);
|
|
|
$this->error('该属性视频您已经买过了',['code'=>2]);
|
|
|
}
|
|
|
$param['video_id'] = serialize($video);
|
|
|
}else{
|
...
|
...
|
@@ -1845,7 +1845,7 @@ class User extends Api |
|
|
foreach ($arr as &$v){
|
|
|
if(!empty($v['pic_id'])){
|
|
|
if($v['pic_id'] == $pic_id){
|
|
|
$this->error('error',['code'=>2]);
|
|
|
$this->error('您已经买过了',['code'=>2]);
|
|
|
}
|
|
|
}
|
|
|
}
|
...
|
...
|
|