fansLimitNoticeService.php 488 B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: tandunzhao
  5. * Date: 2017/12/2
  6. * Time: 上午11:39
  7. */
  8. namespace App\Modules\Notice\Services;
  9. use App\Modules\Notice\Models\fansLimitNotice;
  10. class fansLimitNoticeService
  11. {
  12. public static function getAllOfficialAccountsLimit($channel_ids){
  13. return fansLimitNotice::whereIn('distribution_channel_id',$channel_ids)
  14. ->where([
  15. ['is_read','=',0],
  16. ['date','=',date('Y-m-d')]
  17. ])->get();
  18. }
  19. }