[exam] add progress do update the same time

This commit is contained in:
xiaomlove
2021-04-27 02:44:44 +08:00
parent 465fd2bca8
commit d1b7561aae
17 changed files with 97 additions and 81 deletions

View File

@@ -3,7 +3,8 @@
if (!empty($_SERVER['HTTP_X_REQUEST_ID'])) {
define('REQUEST_ID', $_SERVER['HTTP_X_REQUEST_ID']);
} else {
define('REQUEST_ID', intval(LARAVEL_START * 10000));
$requestId = str_replace('.', '', LARAVEL_START);
define('REQUEST_ID', str_pad($requestId, 14, "0", STR_PAD_RIGHT));
}
define('IN_NEXUS', false);