Browse Source

答题提醒

lizhen_gitee 5 tháng trước cách đây
mục cha
commit
522126269c
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      application/api/controller/Subject.php

+ 1 - 0
application/api/controller/Subject.php

@@ -211,6 +211,7 @@ class Subject extends Api
             'status'     => 1,
         ];
 
+        //vote_jigou表的score需要做一个纠正
         $lists = Db::name('vote_jigou')->field('id,title,score')->where($map)->order('score desc,id desc')->select();
 //dump($lists);
         //根据公式,重新计算排名分数