|
@@ -437,7 +437,7 @@ class ChapterController extends BaseController
|
|
|
protected function balancePay($book_info, $chapter_id, $chapter_size, $chapter_name, $is_remind)
|
|
|
{
|
|
|
$fee = $this->getPrice($book_info, $chapter_size);
|
|
|
- if ((int) $this->user_info['balance'] >= $fee) {
|
|
|
+ if ((int)$this->user_info['balance'] >= $fee) {
|
|
|
if ($this->bookOrderOrChapterOrder($book_info, $chapter_id, $fee, $chapter_name, $is_remind)) {
|
|
|
return true;
|
|
|
}
|