Browse Source

tracelog for redeemTGood

OMEGA\EricYH.Huang 2 years ago
parent
commit
cf703700e9
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      app/Http/Services/Web/Api2021Service.php

+ 2
- 0
app/Http/Services/Web/Api2021Service.php View File

2826
             $tplayerinfo = $this->tplayerManagementDb->select(['gp'])->where('lineId', $lineId)->first()->toArray();
2826
             $tplayerinfo = $this->tplayerManagementDb->select(['gp'])->where('lineId', $lineId)->first()->toArray();
2827
             $fromGp = $tplayerinfo['gp'];
2827
             $fromGp = $tplayerinfo['gp'];
2828
             $toGp = $tplayerinfo['gp'] - $this->settingManagementSv->getSetting()['TMZ_GP_DRAW'];
2828
             $toGp = $tplayerinfo['gp'] - $this->settingManagementSv->getSetting()['TMZ_GP_DRAW'];
2829
+            \Log::info($tgoodinfo);
2830
+            \Log::info($this->settingManagementSv->getSetting()['TMZ_ISSUE_BUFFER']);
2829
             // 所有銘謝惠顧的可能(獎項雖然有點數但已被兌換完畢 || 獎項被設定為未啟用)
2831
             // 所有銘謝惠顧的可能(獎項雖然有點數但已被兌換完畢 || 獎項被設定為未啟用)
2830
             if (
2832
             if (
2831
                 $tgoodinfo['totalQty'] - $tgoodinfo['issuedQty'] <= $this->settingManagementSv->getSetting()['TMZ_ISSUE_BUFFER']
2833
                 $tgoodinfo['totalQty'] - $tgoodinfo['issuedQty'] <= $this->settingManagementSv->getSetting()['TMZ_ISSUE_BUFFER']