|
@@ -72,7 +72,7 @@ abstract class PaySuccessAbstract
|
|
|
{
|
|
|
$bid = ReadRecordService::getSimpleFirstReadRecord($this->order->uid);
|
|
|
$book_id = book_hash_encode($bid);
|
|
|
- $book = BookConfig::where('bid', $bid)->select('$book_name')->first();
|
|
|
+ $book = BookConfig::where('bid', $bid)->select('book_name')->first();
|
|
|
$book_name = $book ? $book->book_name : '';
|
|
|
$job = new QappTikTokUserCharge($this->order->uid, $this->order->price, $this->order->created_at, QappTikTokUserCharge::CURRENT_DAY_REGISTER, $book_id, $book_name);
|
|
|
dispatch($job->onConnection('rabbitmq')->onQueue('qapp_tiktok_user_charge_queue'));
|