|
@@ -286,7 +286,9 @@ class ChapterController extends BaseController
|
|
$book_info->is_on_shelf = 0;
|
|
$book_info->is_on_shelf = 0;
|
|
}
|
|
}
|
|
// 华为整改强制下架
|
|
// 华为整改强制下架
|
|
-
|
|
|
|
|
|
+ if ($this->distribution_channel_id == 13131 && in_array($bid,[13762,65327,66643])){
|
|
|
|
+ $book_info->is_on_shelf = 4;
|
|
|
|
+ }
|
|
|
|
|
|
if (!in_array($book_info->is_on_shelf, [1, 2])) {
|
|
if (!in_array($book_info->is_on_shelf, [1, 2])) {
|
|
if ($book_info->is_on_shelf != 4) {
|
|
if ($book_info->is_on_shelf != 4) {
|
|
@@ -302,7 +304,7 @@ class ChapterController extends BaseController
|
|
//是否购买过该书,购买过则不删除
|
|
//是否购买过该书,购买过则不删除
|
|
$res = BookOrderService::getRecordByuidBid($this->uid, $bid);
|
|
$res = BookOrderService::getRecordByuidBid($this->uid, $bid);
|
|
} elseif ($charge_type == 'CHAPTER') {
|
|
} elseif ($charge_type == 'CHAPTER') {
|
|
- if ($package == 13131 && in_array($bid,[13762,65327,66643])){
|
|
|
|
|
|
+ if ($this->distribution_channel_id == 13131 && in_array($bid,[13762,65327,66643])){
|
|
$res = ReadRecordService::getReadRecord($this->uid);
|
|
$res = ReadRecordService::getReadRecord($this->uid);
|
|
if ($res){
|
|
if ($res){
|
|
$res = array_column($res,null,'bid');
|
|
$res = array_column($res,null,'bid');
|