|
@@ -372,8 +372,10 @@ class BookController extends BaseController
|
|
|
|
|
|
public function library(Request $request)
|
|
public function library(Request $request)
|
|
{
|
|
{
|
|
- $channel_id = $request->input('distribution_channel_id',0);
|
|
|
|
- if (in_array($channel_id,[9487,9390])){
|
|
|
|
|
|
+ $package = $request->header('x-package', '');
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ if (in_array($package ,["com.app.kyy.dmzyd","com.app.kyy.tths"])){
|
|
return $this->getSpecialLibrary($request);
|
|
return $this->getSpecialLibrary($request);
|
|
}
|
|
}
|
|
$where = [];
|
|
$where = [];
|