Commit a5731c6b authored by hangjun83's avatar hangjun83

openapi 震坤行

parent 9c0e7c75
......@@ -15,6 +15,7 @@ use App\Repositories\Contracts\ThirdApiPlatformRepository;
use App\Services\Kafka\KafkaService;
use App\Services\ThirdPlatform\Api\BideApiService;
use App\Services\ThirdPlatform\PlatformAbstractService;
use App\Support\Facades\SimpleLogs;
use App\Support\Traits\Helpers;
class BideService
......@@ -55,7 +56,7 @@ class BideService
try{
$result = app(BhProductsService::class)->storeBideProducts($result);
}catch(\Exception $exception){
app(SysLogService::class)->addApiLogs(['error' => $exception->getMessage()]);
SimpleLogs::writeLog($exception->getMessage(),__CLASS__.':batchUpdateApi', 'error');
}
}
}
......@@ -15,6 +15,7 @@ use App\Repositories\Contracts\ThirdApiPlatformRepository;
use App\Services\Kafka\KafkaService;
use App\Services\ThirdPlatform\Api\BjsApiService;
use App\Services\ThirdPlatform\PlatformAbstractService;
use App\Support\Facades\SimpleLogs;
use App\Support\Traits\Helpers;
class BjsService
......@@ -55,7 +56,7 @@ class BjsService
try{
$result = app(BhProductsService::class)->storeBjsProducts($result);
}catch(\Exception $exception){
app(SysLogService::class)->addApiLogs(['error' => $exception->getMessage()]);
SimpleLogs::writeLog($exception->getMessage(),__CLASS__.':batchUpdateApi', 'error');
}
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment