songdb 4 年之前
父節點
當前提交
b087baaf39
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Modules/Trade/Pay/PaySuccessAbstract.php

+ 1 - 1
app/Modules/Trade/Pay/PaySuccessAbstract.php

@@ -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'));