Commit f99e3ecf by 杨树贤

加上日志

parent 67aa169f
Showing with 9 additions and 0 deletions
......@@ -6,6 +6,7 @@ use Illuminate\Http\Request;
use App\Model\SkuUploadLogModel;
use App\Http\Services\SkuService;
use App\Model\SupplierChannelModel;
use Illuminate\Support\Facades\Log;
use App\Http\Controllers\Controller;
use function GuzzleHttp\Promise\all;
use App\Http\Services\SupplierTagService;
......@@ -74,6 +75,14 @@ class SkuApiController extends Controller
$uploadLogId = SkuUploadLogModel::where('supplier_code', $supplierCode)
->where('status', SkuUploadLogModel::STATUS_HANDLED)->orderBy('id', 'desc')
->value('id');
$content = [
'supplier_code' => $supplierCode,
'brand_id' => $brandId,
'log_id' => $uploadLogId,
"down_type" => 1,
'user_name' => $request->user->name,
];
Log::info($content);
$data = [
'supplier_code' => $supplierCode,
......
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 sign in to comment