|
@@ -29,6 +29,7 @@ class ShareController extends BaseController
|
|
|
if(empty($distribution_channel_id)||empty($uid)||empty($bid_encode)) {
|
|
|
return response()->error('PARAM_EMPTY');
|
|
|
}
|
|
|
+ $distribution_channel_id = decodeDistributionChannelId($distribution_channel_id);
|
|
|
$bid =Hashids::decode($bid_encode)[0];
|
|
|
$book_info = BookConfigService::getBookById($bid);
|
|
|
if(!$book_info){
|