|
|
|
@ -45,7 +45,7 @@ class DemandBiddingServiceProvider extends ServiceProvider |
|
|
|
if(env('SMS_SWITCH' , '') == true && $demand->isDirty('bidding_id')) { |
|
|
|
if(!empty($demand->publisher->contact_phone)) { |
|
|
|
$sms = new SmsService(); |
|
|
|
$sms->send('demand',[$demand->publisher->name,$demand->id,SmsTraits::$systeaNameText['supplier']],[$demand->biddingUser->contact_phone]); |
|
|
|
$sms->send('demand',[$demand->id,SmsTraits::$systeaNameText['supplier']],[$demand->biddingUser->contact_phone]); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
|