Authored by Rock Zhang

修复商品咨询点赞或者有用接口接受传递参数错误的bug

Code Review By Rock Zhang
@@ -397,7 +397,7 @@ class UserModel @@ -397,7 +397,7 @@ class UserModel
397 // 处理数据 397 // 处理数据
398 foreach ($banner['data'] as $val) { 398 foreach ($banner['data'] as $val) {
399 foreach ($val['data'] as $single) { 399 foreach ($val['data'] as $single) {
400 - $result['url'] = ''; 400 + $result['url'] = Helpers::getFilterUrl($single['url']);
401 $result['img'] = Helpers::getImageUrl($single['src'], 640, 200); 401 $result['img'] = Helpers::getImageUrl($single['src'], 640, 200);
402 } 402 }
403 } 403 }