正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -1833,7 +1833,7 @@ class User extends Api | @@ -1833,7 +1833,7 @@ class User extends Api | ||
1833 | ->where('video_id',$video_s) | 1833 | ->where('video_id',$video_s) |
1834 | ->find(); | 1834 | ->find(); |
1835 | if(!empty($res)){ | 1835 | if(!empty($res)){ |
1836 | - $this->error('error',['code'=>2]); | 1836 | + $this->error('该属性视频您已经买过了',['code'=>2]); |
1837 | } | 1837 | } |
1838 | $param['video_id'] = serialize($video); | 1838 | $param['video_id'] = serialize($video); |
1839 | }else{ | 1839 | }else{ |
@@ -1845,7 +1845,7 @@ class User extends Api | @@ -1845,7 +1845,7 @@ class User extends Api | ||
1845 | foreach ($arr as &$v){ | 1845 | foreach ($arr as &$v){ |
1846 | if(!empty($v['pic_id'])){ | 1846 | if(!empty($v['pic_id'])){ |
1847 | if($v['pic_id'] == $pic_id){ | 1847 | if($v['pic_id'] == $pic_id){ |
1848 | - $this->error('error',['code'=>2]); | 1848 | + $this->error('您已经买过了',['code'=>2]); |
1849 | } | 1849 | } |
1850 | } | 1850 | } |
1851 | } | 1851 | } |
-
请 注册 或 登录 后发表评论