diff --git a/plugs/think-plugs-points-mall/src/controller/api/auth/UserPoint.php b/plugs/think-plugs-points-mall/src/controller/api/auth/UserPoint.php index 46b39ff..3a8f592 100644 --- a/plugs/think-plugs-points-mall/src/controller/api/auth/UserPoint.php +++ b/plugs/think-plugs-points-mall/src/controller/api/auth/UserPoint.php @@ -16,7 +16,7 @@ class UserPoint extends Auth } public function myPointLog() { - $page = PointsMallUserPointLog::mk()->where('uid', $this->usid)->order('create_at desc')->paginate(); + $page = PointsMallUserPointLog::mk()->where('uid', $this->usid)->where("point", "<>", 0)->order('create_at desc')->paginate(); $this->success('获取积分记录', $page); } } \ No newline at end of file