mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim-api.git
synced 2026-08-29 17:34:06 +00:00
Delivery Info Insert
This commit is contained in:
@@ -49,7 +49,7 @@ class AuthController extends Controller
|
||||
$token = mt_rand(0000,9999);
|
||||
|
||||
// for testing
|
||||
if($request->phone == '0123456789'){
|
||||
if($request->phone == '0143499252'){
|
||||
$token = "1234";
|
||||
}
|
||||
|
||||
@@ -159,6 +159,12 @@ class AuthController extends Controller
|
||||
|
||||
return response()->json(['success'=> true, 'message'=> 'Profile updated.'], 200);
|
||||
}
|
||||
public function show()
|
||||
{
|
||||
return response()->json(['user' => Auth::user()]);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
@@ -294,4 +300,6 @@ class AuthController extends Controller
|
||||
'success' => false, 'data'=> ['message'=> 'Invalid token or email or expired code']
|
||||
]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user