作者 郭盛
1 个管道 的构建 通过 耗费 1 秒

修改接口

@@ -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']);