CustomSendStatsService.php 851 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /**
  3. * Created by sublime.
  4. * User: wosinC
  5. * Date: 2017/12/2
  6. * Time: 上午11:39
  7. */
  8. namespace App\Modules\OfficialAccount\Services;
  9. use App\Modules\OfficialAccount\Models\CustomSendDayStats;
  10. use App\Modules\OfficialAccount\Models\CustomSendStats;
  11. class CustomSendStatsService
  12. {
  13. /**
  14. * 通过分销渠道ID和From获取每日智能推送分析
  15. */
  16. static function customSendDayStatsByChannelAndFrom($distribution_channel_id,$from)
  17. {
  18. return CustomSendDayStats::customSendDayStatsByChannelAndFrom($distribution_channel_id,$from);
  19. }
  20. /**
  21. * 通过分销渠道ID和From获取总的智能推送分析
  22. */
  23. static function customSendStatsByChannelAndFrom($distribution_channel_id,$from)
  24. {
  25. return CustomSendStats::customSendStatsByChannelAndFrom($distribution_channel_id,$from);
  26. }
  27. }