1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- <?php
- namespace App\Console\Commands;
- use Illuminate\Console\Command;
- use App\Modules\OfficialAccount\Services\CustomMsgService;
- class SendServiceMsg extends Command
- {
-
- protected $signature = 'sendservicemsg';
-
- protected $description = '发送客服消息';
-
- public function __construct()
- {
- parent::__construct();
- }
-
- public function handle()
- {
- $this->sendStart();
- $this->sendStartPoint();
- }
-
- public function sendStart(){
- CustomMsgService::add_news_top_book();
- }
- public function sendStartPoint(){
- CustomMsgService::add_news_point_book();
- }
- }
|