|
@@ -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")
|