|
|
@@ -319,7 +319,7 @@ class PcIssueService extends BaseService
|
|
|
|
|
|
|
|
|
$pc28Switch = Config::where('field', 'pc28_switch')->first()->val;
|
|
|
- $wanFaGuiZeTime = Cache::get("玩法规则推送时间",0);
|
|
|
+ $wanFaGuiZeTime = Cache::get("玩法规则推送时间", 0);
|
|
|
$now = time();
|
|
|
if ($now - $wanFaGuiZeTime > (60 * 15)) {
|
|
|
$replyInfo = KeyboardService::findOne(['button' => '玩法规则']);
|
|
|
@@ -376,6 +376,7 @@ class PcIssueService extends BaseService
|
|
|
//根据指定0-27的数字 得到20个数字
|
|
|
public static function getMatchingNumbers($target): array|null
|
|
|
{
|
|
|
+ $target = intval($target);
|
|
|
$numbers = range(1, 80);
|
|
|
$bestMatch = null;
|
|
|
for ($i = 0; $i < 100000; $i++) {
|