直接使用 (string) Str::orderedUuid ();会报错!
错误原因大概是
When calling Ramsey\Uuid\Converter\Time\DegradedTimeConverter::calculateTime on a 32-bit system, Moontoast\Math\BigNumber must be present.
解决方法就是composer require moontoast/math
推荐文章: