Commit a5731c6b authored by hangjun83's avatar hangjun83

openapi 震坤行

parent 9c0e7c75
...@@ -15,6 +15,7 @@ use App\Repositories\Contracts\ThirdApiPlatformRepository; ...@@ -15,6 +15,7 @@ use App\Repositories\Contracts\ThirdApiPlatformRepository;
use App\Services\Kafka\KafkaService; use App\Services\Kafka\KafkaService;
use App\Services\ThirdPlatform\Api\BideApiService; use App\Services\ThirdPlatform\Api\BideApiService;
use App\Services\ThirdPlatform\PlatformAbstractService; use App\Services\ThirdPlatform\PlatformAbstractService;
use App\Support\Facades\SimpleLogs;
use App\Support\Traits\Helpers; use App\Support\Traits\Helpers;
class BideService class BideService
...@@ -55,7 +56,7 @@ class BideService ...@@ -55,7 +56,7 @@ class BideService
try{ try{
$result = app(BhProductsService::class)->storeBideProducts($result); $result = app(BhProductsService::class)->storeBideProducts($result);
}catch(\Exception $exception){ }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; ...@@ -15,6 +15,7 @@ use App\Repositories\Contracts\ThirdApiPlatformRepository;
use App\Services\Kafka\KafkaService; use App\Services\Kafka\KafkaService;
use App\Services\ThirdPlatform\Api\BjsApiService; use App\Services\ThirdPlatform\Api\BjsApiService;
use App\Services\ThirdPlatform\PlatformAbstractService; use App\Services\ThirdPlatform\PlatformAbstractService;
use App\Support\Facades\SimpleLogs;
use App\Support\Traits\Helpers; use App\Support\Traits\Helpers;
class BjsService class BjsService
...@@ -55,7 +56,7 @@ class BjsService ...@@ -55,7 +56,7 @@ class BjsService
try{ try{
$result = app(BhProductsService::class)->storeBjsProducts($result); $result = app(BhProductsService::class)->storeBjsProducts($result);
}catch(\Exception $exception){ }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