PointToLoveJob.php 853 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. /****************************************************************
  3. * Author: libaojia
  4. * Date: 2017/11/22 上午11:26
  5. * Email: livsyitian@163.com
  6. * QQ: 995265288
  7. * User: 芸众商城 www.yunzshop.com
  8. ****************************************************************/
  9. namespace app\Jobs;
  10. use app\common\services\finance\PointToLoveService;
  11. use Illuminate\Bus\Queueable;
  12. use Illuminate\Contracts\Queue\ShouldQueue;
  13. use Illuminate\Queue\InteractsWithQueue;
  14. use Illuminate\Queue\SerializesModels;
  15. class PointToLoveJob implements ShouldQueue
  16. {
  17. use InteractsWithQueue, Queueable, SerializesModels;
  18. public $uniacid;
  19. public function __construct($uniacid)
  20. {
  21. $this->uniacid = $uniacid;
  22. }
  23. public function handle()
  24. {
  25. (new PointToLoveService())->handleTransferQueue($this->uniacid);
  26. }
  27. }