1234567891011121314151617181920212223242526 |
- <?php
- namespace addons\unishop\extend;
- class Snowflake extends \Godruoyi\Snowflake\Snowflake
- {
-
- public function __construct(int $datacenter = 1, int $workerid = 1)
- {
- parent::__construct($datacenter, $workerid);
- self::setStartTimeStamp(strtotime('2020-01-01')*1000);
- }
- }
|