|
@@ -1011,10 +1011,11 @@ class BookController extends BaseController
|
|
$type = $request->get('type','');
|
|
$type = $request->get('type','');
|
|
$id = $request->get('ids','');
|
|
$id = $request->get('ids','');
|
|
$distribution_id = $this->distribution_channel_id;
|
|
$distribution_id = $this->distribution_channel_id;
|
|
|
|
+ \Log::info('getCheckAdvertisement:type:'.$type.' id:'.$id.' $distribution_id:'.$distribution_id);
|
|
if(empty($id) || empty($distribution_id)){
|
|
if(empty($id) || empty($distribution_id)){
|
|
return response()->success();
|
|
return response()->success();
|
|
}
|
|
}
|
|
- \Log::info('getCheckAdvertisement:type:'.$type.' id:'.$id);
|
|
|
|
|
|
+
|
|
$id = Hashids::decode($id)[0];
|
|
$id = Hashids::decode($id)[0];
|
|
if(!$id){
|
|
if(!$id){
|
|
return response()->success();
|
|
return response()->success();
|