|
@@ -3,6 +3,7 @@
|
|
|
|
|
|
|
|
namespace App\Services;
|
|
namespace App\Services;
|
|
|
|
|
|
|
|
|
|
+use App\Models\Cao;
|
|
|
use App\Models\Prediction;
|
|
use App\Models\Prediction;
|
|
|
use App\Services\BaseService;
|
|
use App\Services\BaseService;
|
|
|
use App\Models\Issue;
|
|
use App\Models\Issue;
|
|
@@ -261,6 +262,7 @@ class IssueService extends BaseService
|
|
|
$oddOrEven = in_array("双", $awards);
|
|
$oddOrEven = in_array("双", $awards);
|
|
|
$oddOrEven = $oddOrEven ? "双" : "单";
|
|
$oddOrEven = $oddOrEven ? "双" : "单";
|
|
|
Prediction::result($info->issue_no, $size, $oddOrEven, $info->winning_numbers);
|
|
Prediction::result($info->issue_no, $size, $oddOrEven, $info->winning_numbers);
|
|
|
|
|
+ Cao::updateData($awards);
|
|
|
|
|
|
|
|
|
|
|
|
|
$replyInfo = KeyboardService::findOne(['button' => '本期开奖']);
|
|
$replyInfo = KeyboardService::findOne(['button' => '本期开奖']);
|