tukar position utk mobile view
This commit is contained in:
@@ -38,8 +38,8 @@ class HomeController extends Controller
|
||||
|
||||
// }
|
||||
|
||||
|
||||
$CustomerInfo = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url') .'/portal/customer/info',['ic' => $auth_user['icno']])->json();
|
||||
$CustomerInfo = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url') .'/portal/customer/info',['ic' => $auth_user['icno']]);
|
||||
//dd($CustomerInfo)
|
||||
|
||||
$total = 0.00;
|
||||
$sixmonths = 0;
|
||||
|
||||
@@ -88,17 +88,17 @@ class TacController extends Controller
|
||||
$mobileno = '6' . $customer['telefon'];
|
||||
$messages = 'AR-RAHN PKB PORTAL : TAC: ' . $tac_token . ' ' . $currentDateTime . '. AR-RAHN CARELINE CENTRE 1300-22-4343';
|
||||
|
||||
$status = Http::get('http://gateway.onewaysms.com.my:10001/api.aspx',[
|
||||
'apiusername' => 'APIUK330HDAFO',
|
||||
'apipassword' => 'APIUK330HDAFOUK330',
|
||||
'senderid' => 'INFO',
|
||||
'mobileno' => $mobileno,
|
||||
'message'=> $messages,
|
||||
'languagetype'=> 1
|
||||
]);
|
||||
// $status = Http::get('http://gateway.onewaysms.com.my:10001/api.aspx',[
|
||||
// 'apiusername' => 'APIUK330HDAFO',
|
||||
// 'apipassword' => 'APIUK330HDAFOUK330',
|
||||
// 'senderid' => 'INFO',
|
||||
// 'mobileno' => $mobileno,
|
||||
// 'message'=> $messages,
|
||||
// 'languagetype'=> 1
|
||||
// ]);
|
||||
|
||||
return response($status);
|
||||
// return response(1);
|
||||
// return response($status);
|
||||
return response(1);
|
||||
}
|
||||
|
||||
private function randum_number($len = 6,$dup = 1, $sort = false){
|
||||
|
||||
Reference in New Issue
Block a user