Merge branch 'production' of https://bitbucket.org/arrahn-pkb/api_arrahn into cherrypick/api_fix_button_terima_gadai
This commit is contained in:
@@ -649,7 +649,7 @@ class LelongController extends Controller
|
|||||||
$cawangan = Cawangan::on('mysql7')->where('kodcaw', '=', $request->kodcaw)->first();
|
$cawangan = Cawangan::on('mysql7')->where('kodcaw', '=', $request->kodcaw)->first();
|
||||||
|
|
||||||
if ($cawangan['tagarrahnbid'] == 0){
|
if ($cawangan['tagarrahnbid'] == 0){
|
||||||
$lelong = Http::withOptions(['verify' => true])->get(config('app.api_arrahnbid').'portalApi',[
|
$lelong = Http::withOptions(['verify' => true])->get(config('app_parameter.api_arrahnbid').'portalApi',[
|
||||||
'norujukan' => $request->norujukan
|
'norujukan' => $request->norujukan
|
||||||
])->json();
|
])->json();
|
||||||
$lelong = ($lelong != null) ? $lelong['lelong'] : [];
|
$lelong = ($lelong != null) ? $lelong['lelong'] : [];
|
||||||
@@ -722,7 +722,7 @@ class LelongController extends Controller
|
|||||||
|
|
||||||
if($cawangan['tagarrahnbid'] == 1)
|
if($cawangan['tagarrahnbid'] == 1)
|
||||||
{
|
{
|
||||||
$lelong = Http::withOptions(['verify' => true])->get(config('app.api_arrahnbid').'portalApi',['norujukan' => $request->norujukan])->json();
|
$lelong = Http::withOptions(['verify' => true])->get(config('app_parameter.api_arrahnbid').'portalApi',['norujukan' => $request->norujukan])->json();
|
||||||
$lelong = ($lelong != null) ? $lelong['lelong'] : [];
|
$lelong = ($lelong != null) ? $lelong['lelong'] : [];
|
||||||
}else{
|
}else{
|
||||||
$lelong = Lelong::on($cawangan['mysql'])->where([['norujukan',$request->norujukan]])->first();
|
$lelong = Lelong::on($cawangan['mysql'])->where([['norujukan',$request->norujukan]])->first();
|
||||||
|
|||||||
+1
-1
@@ -4,7 +4,7 @@ namespace App;
|
|||||||
|
|
||||||
use Illuminate\Database\Eloquent\Model;
|
use Illuminate\Database\Eloquent\Model;
|
||||||
|
|
||||||
class Logsession extends Model
|
class LogSession extends Model
|
||||||
{
|
{
|
||||||
protected $table = 'logusers';
|
protected $table = 'logusers';
|
||||||
|
|
||||||
|
|||||||
@@ -63,6 +63,7 @@ $app->configure('app');
|
|||||||
$app->configure('tinker');
|
$app->configure('tinker');
|
||||||
$app->configure('tennant_master');
|
$app->configure('tennant_master');
|
||||||
$app->configure('report');
|
$app->configure('report');
|
||||||
|
$app->configure('app_parameter');
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user