【程序目录】更新雪花算法

This commit is contained in:
吴昊天 2023-02-15 14:51:51 +08:00
parent d2addf80b8
commit b420ef3610

View File

@ -64,7 +64,7 @@ class StoreOrderCreateServices extends BaseServices
$snowflake = new \Godruoyi\Snowflake\Snowflake();
if (Config::get('cache.default') == 'file') {
//32位
//32位
if (PHP_INT_SIZE == 4) {
$id = abs($snowflake->id());
} else {