|
@@ -1266,7 +1266,7 @@ class ChapterController extends BaseController
|
|
|
private function getPrice($book_info, $chapter)
|
|
|
{
|
|
|
if ($book_info->charge_type == 'BOOK') {
|
|
|
- $fee = $book_info->price * 100;
|
|
|
+ return $book_info->price * 100;
|
|
|
} else {
|
|
|
//$fee = ceil($chapter->size/100);
|
|
|
//$channel_fee = BookService::getChapterPrice()
|
|
@@ -1297,11 +1297,13 @@ class ChapterController extends BaseController
|
|
|
if($start_time && $template_10_site && in_array($this->distribution_channel_id,explode(',',$template_10_site))){
|
|
|
if($this->uid %2 == 0 && strtotime($this->user->created_at) > $start_time){
|
|
|
if($fee <37) $fee = 37;
|
|
|
+ if($fee >45) $fee = 45;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
if($template_10_no_abtest_site && in_array($this->distribution_channel_id,explode(',',$template_10_no_abtest_site)) ){
|
|
|
if($fee <37) $fee = 37;
|
|
|
+ if($fee >45) $fee = 45;
|
|
|
}
|
|
|
return $fee;
|
|
|
}
|