浏览代码

消费榜调整

zhangxiaobin 1 年之前
父节点
当前提交
defef7edca
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      application/api/controller/Index.php

+ 1 - 1
application/api/controller/Index.php

@@ -287,7 +287,7 @@ class Index extends Api
 
         $timeArr = [1=>$hour,2=>$today,3=>$weekend,4=>$month];
         $where = [];
-        $where["a.type"] = ["in",[0,2,3,5,6,11,13]];//查看wallet.php文件
+        $where["a.type"] = ["in",[0,2,3,5,6,13]];//查看wallet.php文件
         $where["a.createtime"] = ["gt",$timeArr[$time]];
         $list = model('UserJewelLog')->alias("a")
             ->field("sum(a.value) as total_price,a.user_id,u.avatar,u.nickname")