SELECT *,zan_num+fake_zan_num show_zan FROM `tf_news` order by show_zan desc

TP实现

$news = M('news');
$result_list = $news->where($where)->limit($start . ',' . $step)->field('*,zan_num+fake_zan_num show_num')->order($order)->select();

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-09
  • 2022-12-23
  • 2022-01-20
  • 2021-10-03
猜你喜欢
  • 2021-08-03
  • 2022-12-23
  • 2021-11-13
  • 2022-03-04
  • 2022-12-23
  • 2021-05-27
  • 2021-06-03
相关资源
相似解决方案