|
|
@@ -378,12 +378,12 @@ class BetService extends BaseService
|
|
|
if ($betFake) {
|
|
|
// 期数验证
|
|
|
|
|
|
-// $pc28Switch = Config::where('field', 'pc28_switch')->first()->val;
|
|
|
-// if ($pc28Switch == 1) {
|
|
|
-// $issueInfo = PcIssue::where('status', IssueService::model()::STATUS_BETTING)->orderBy('id', 'desc')->first();
|
|
|
-// } else {
|
|
|
-// }
|
|
|
- $issueInfo = IssueService::model()::where('status', IssueService::model()::STATUS_BETTING)->orderBy('id', 'desc')->first();
|
|
|
+ $pc28Switch = Config::where('field', 'pc28_switch')->first()->val;
|
|
|
+ if ($pc28Switch == 1) {
|
|
|
+ $issueInfo = PcIssue::where('status', IssueService::model()::STATUS_BETTING)->orderBy('id', 'desc')->first();
|
|
|
+ } else {
|
|
|
+ $issueInfo = IssueService::model()::where('status', IssueService::model()::STATUS_BETTING)->orderBy('id', 'desc')->first();
|
|
|
+ }
|
|
|
|
|
|
if ($issueInfo) {
|
|
|
$betFakeRandAmount = Config::where('field', 'bet_fake_rand_amount')->first()->val;
|