调整渠道数据统计
This commit is contained in:
@@ -22,7 +22,7 @@ class IndexController extends Controller
|
|||||||
|
|
||||||
$coupons = Coupon::where('user_id', $user->id)
|
$coupons = Coupon::where('user_id', $user->id)
|
||||||
->whereYear('created_at', $month[0])
|
->whereYear('created_at', $month[0])
|
||||||
// ->whereMonth('created_at', $month[1])
|
->whereMonth('created_at', $month[1])
|
||||||
->where('status', 2)
|
->where('status', 2)
|
||||||
->get(['id', 'thirdPartyGoodsId', 'created_at']);
|
->get(['id', 'thirdPartyGoodsId', 'created_at']);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user