add image : GWM
This commit is contained in:
parent
62d9141601
commit
f0e4dba9e4
@ -244,7 +244,7 @@ class ApiServiceController extends BaseController
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public function getWellnessUrl()
|
public function getWellnessUrl()
|
||||||
{
|
{
|
||||||
@ -358,7 +358,7 @@ class ApiServiceController extends BaseController
|
|||||||
// ---------- STEP 1: Build plaintext payload ----------
|
// ---------- STEP 1: Build plaintext payload ----------
|
||||||
$plainPayload = json_encode([
|
$plainPayload = json_encode([
|
||||||
"email" => $email,
|
"email" => $email,
|
||||||
"corporateId" => env('VIDAL_WELLNESS_CORPORATE_ID'),
|
// "corporateId" => env('VIDAL_WELLNESS_CORPORATE_ID'),
|
||||||
"urlIdentifier" => env('VIDAL_WELLNESS_URL_IDENTIFIER')
|
"urlIdentifier" => env('VIDAL_WELLNESS_URL_IDENTIFIER')
|
||||||
]);
|
]);
|
||||||
|
|
||||||
@ -373,7 +373,7 @@ class ApiServiceController extends BaseController
|
|||||||
// ---------- STEP 3: Call Authentication API ----------
|
// ---------- STEP 3: Call Authentication API ----------
|
||||||
$requestBody = json_encode([
|
$requestBody = json_encode([
|
||||||
"payload" => $encryptedPayload,
|
"payload" => $encryptedPayload,
|
||||||
"source" => "portal",
|
"source" => env('VIDAL_WELLNESS_SUB_PARTNER_ID'),
|
||||||
"subPartnerId" => env('VIDAL_WELLNESS_SUB_PARTNER_ID')
|
"subPartnerId" => env('VIDAL_WELLNESS_SUB_PARTNER_ID')
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|||||||
@ -3176,7 +3176,9 @@ class EmployeeRestController extends AdminController
|
|||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
|
||||||
$img = $this->addImgModel->where('is_active', 1)->findAll();
|
$client_id = $this->request->getGet('client_id');
|
||||||
|
|
||||||
|
$img = $this->addImgModel->where('is_active', 1)->where('client_id',$client_id)->findAll();
|
||||||
|
|
||||||
if (count($img) > 0) {
|
if (count($img) > 0) {
|
||||||
$data = [];
|
$data = [];
|
||||||
|
|||||||
@ -620,8 +620,8 @@ class MediAssistApiController extends BaseController
|
|||||||
|
|
||||||
$headers = [
|
$headers = [
|
||||||
'Content-Type: application/json',
|
'Content-Type: application/json',
|
||||||
'Username:' .'NhanceUsr',
|
'Username:' . getenv('MEDI_ASSIST_API_USERNAME'),
|
||||||
'Password:' .'NhU$p&Cc5wGQbr2',
|
'Password:' . getenv('MEDI_ASSIST_API_PASSWORD'),
|
||||||
];
|
];
|
||||||
|
|
||||||
$body = [
|
$body = [
|
||||||
|
|||||||
@ -13,6 +13,7 @@ class AddImgModel extends Model
|
|||||||
"created_by",
|
"created_by",
|
||||||
"updated_by",
|
"updated_by",
|
||||||
"is_active",
|
"is_active",
|
||||||
|
"client_id",
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user