Add new config for wabot local testing
This commit is contained in:
@@ -2347,7 +2347,9 @@ class LelongController extends Controller
|
||||
//blast whatsapp notifikasi
|
||||
$mobileno = ltrim($userdetailsnoti['notelbimbit'], '+');
|
||||
$messages = 'AR-RAHN PKB: Tahniah Anda Pemenang ArrahnBid, Sila Semak Melalui Sistem ArrahnBid. Terima kasih.';
|
||||
|
||||
if(config('app.env') != 'production'){
|
||||
$mobileno = config('app.admin_phone_number');
|
||||
}
|
||||
$status = Http::get(env('WABOT_API'),[
|
||||
'number' => $mobileno,
|
||||
'type' => 'text',
|
||||
@@ -2497,7 +2499,9 @@ class LelongController extends Controller
|
||||
|
||||
$mobile_no = ltrim($user_true->notelbimbit, '+');
|
||||
$message = 'AR-RAHN PKB: Tahniah Anda Menang Bidaan Sebanyak RM' . $total_bid_win_converted . '. Sila Semak Melalui Sistem ArrahnBid. Terima Kasih.';
|
||||
|
||||
if(config('app.env') != 'production'){
|
||||
$mobile_no = config('app.admin_phone_number');
|
||||
}
|
||||
$response = Http::get(env('WABOT_API'), [
|
||||
'number' => $mobile_no,
|
||||
'type' => 'text',
|
||||
|
||||
Reference in New Issue
Block a user