updates for dev environment

This commit is contained in:
JiaSheng
2023-11-22 16:18:02 +08:00
parent 1f057e464e
commit 8f20c0e8a8
5 changed files with 23 additions and 9 deletions
@@ -19,9 +19,11 @@ class ApproveIdentificationDocumentOnShippingProcessor
if (App::environment(['production'])) {
dd("Delete this line before push to production");
$url = "https://izyim.cief-malaysia.com/api/v1/exchange/company/{$companyId}/identification/approval/{$status}";
} else {
} else if (App::environment(['local'])) {
$url = "http://127.0.0.1:8001/api/v1/exchange/company/{$companyId}/identification/approval/{$status}";
}
} else {
$url = "https://dev.portal.cief-malaysia.com/api/v1/exchange/company/{$companyId}/identification/approval/{$status}";
}
try {
$client = new \GuzzleHttp\Client(['verify' => false]);
$token = $request->bearerToken();