|
@@ -5,6 +5,7 @@ namespace App\Repositories;
|
|
|
|
|
|
use App\Models\CmsSubject;
|
|
|
use App\Models\CmsSubjectProduct;
|
|
|
+use Illuminate\Support\Facades\Log;
|
|
|
use Symfony\Component\HttpKernel\Exception\HttpException;
|
|
|
use Dingo\Api\Http\Response;
|
|
|
use Illuminate\Support\Facades\DB;
|
|
@@ -53,6 +54,8 @@ class CmsSubjectRepository {
|
|
|
'is_open' => $request['is_open'],
|
|
|
'used_count' => 0
|
|
|
];
|
|
|
+ Log::debug('request-param-createSubject:'.json_encode($subject));
|
|
|
+
|
|
|
$date = date('Y-m-d H:i:s');
|
|
|
|
|
|
DB::beginTransaction();
|