|
@@ -288,7 +288,7 @@ class ChapterController extends BaseController
|
|
|
}
|
|
|
|
|
|
//未付费 要提醒
|
|
|
- $user_info = $this->_user_info;
|
|
|
+ $user_info = $this->user_info;
|
|
|
//未付费 余额不足
|
|
|
$fee = $this->getPrice($book_info, $chapter->size);
|
|
|
$data = [
|
|
@@ -443,7 +443,7 @@ class ChapterController extends BaseController
|
|
|
'chapter_id' => $cid,
|
|
|
'pay_type' => $book_info->charge_type,
|
|
|
'fee' => $fee,
|
|
|
- 'user_balance' => $this->_user_info['balance'],
|
|
|
+ 'user_balance' => $this->user_info['balance'],
|
|
|
'product_id' => $book_info->product_id,
|
|
|
'uid' => $this->uid,
|
|
|
'distribution_channel_id' => $this->distribution_channel_id,
|
|
@@ -474,7 +474,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;
|
|
|
}
|