backup: 线上最终版本全量备份
包含所有线上运行的改动: - 荷官端倒计时卡顿修复(CountdownService TTL+10/前端watchdog) - 停止下注debounce防重复(8个handle.js) - 洗码量规则重写(单边/双边/开和不计/百家乐+龙虎) - 龙虎和局不杀庄闲(全额退回) - 日志系统(Logger工具类/日志查看/清理脚本) - 好路提醒异常处理(WaybillRemindService try-catch) - 扫牌器连接改进(ScanConnectService) - 牛牛/三卡开牌修复 - .gitignore更新/.DS_Store清理
This commit is contained in:
@@ -65,6 +65,24 @@ class Index extends Common{
|
||||
//View::assign('localSbServer',Env::get('system.SB_SERVER'));
|
||||
View::assign('localSbServer', $tableInfo['media_near_rtmp']); // 无用的字段来作为本地识别设备IP
|
||||
}
|
||||
public function log_report(): Json
|
||||
{
|
||||
if (!Request::instance()->isPost()) return json(['status' => 0]);
|
||||
$data = Request::instance()->post();
|
||||
\app\utils\Logger::error(\app\utils\Logger::CAT_FRONTEND, $data['message'] ?? 'unknown', [
|
||||
'source' => $data['source'] ?? 'unknown',
|
||||
'type' => $data['type'] ?? 'error',
|
||||
'stack' => isset($data['stack']) ? substr($data['stack'], 0, 2000) : '',
|
||||
'file' => $data['file'] ?? '',
|
||||
'url' => $data['url'] ?? '',
|
||||
'line' => $data['line'] ?? '',
|
||||
'col' => $data['col'] ?? '',
|
||||
'ua' => Request::instance()->header('user-agent', ''),
|
||||
'ip' => Request::instance()->ip(),
|
||||
]);
|
||||
return json(['status' => 1]);
|
||||
}
|
||||
|
||||
function get_lang(): Json
|
||||
{
|
||||
if (!Request::instance()->isPost()) return json();
|
||||
@@ -157,7 +175,7 @@ class Index extends Common{
|
||||
$forecast = intval(Request::instance()->post('forecast'));
|
||||
// 验证靴ID
|
||||
if($bootId > 0){
|
||||
$ns = NumberTab::getByBootIdDone($bootId,'result,pair');
|
||||
$ns = NumberTab::getByBootIdDone($bootId,'result,pair,luck_six,dragon_seven,panda_eight');
|
||||
if($forecast == 1){
|
||||
// 庄问路
|
||||
$ns[] = array('result'=>1,'pair'=>0);
|
||||
|
||||
Reference in New Issue
Block a user