正在显示
1 个修改的文件
包含
3 行增加
和
2 行删除
@@ -2171,8 +2171,9 @@ class User extends Api | @@ -2171,8 +2171,9 @@ class User extends Api | ||
2171 | foreach ($data['info'] as &$v){ | 2171 | foreach ($data['info'] as &$v){ |
2172 | if(!empty($v['pic_id'])){ | 2172 | if(!empty($v['pic_id'])){ |
2173 | $v1 = Db::name('pic')->field('id,title,thumbnail,url,code,price,number')->where('id',$v['pic_id'])->find(); | 2173 | $v1 = Db::name('pic')->field('id,title,thumbnail,url,code,price,number')->where('id',$v['pic_id'])->find(); |
2174 | - $v1['thumbnail'] = $rule.$v1['thumbnail']; | ||
2175 | - $v1['vipprice'] = $v1['price']*0.75; | 2174 | + $v['thumbnail'] = $rule.$v1['thumbnail']; |
2175 | + $v['title'] = $v1['title']; | ||
2176 | + $v['vipprice'] = $v1['price']*0.75; | ||
2176 | } | 2177 | } |
2177 | if(!empty($v['video_id'])){ | 2178 | if(!empty($v['video_id'])){ |
2178 | $v['video_id'] = unserialize($v['video_id']); | 2179 | $v['video_id'] = unserialize($v['video_id']); |
-
请 注册 或 登录 后发表评论