Skip to content

thefunpower/sony_flake_id

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sony_flake

配置

global $config;
$config['redis'] = [
  'host'=>'',
  'port'=>'',
  'auth'=>'', 
];

$config['sony_flake'] = [ 
  'from_date'=>'2022-10-27',
];

调用

thefunpower\sonyflake\id::create($center_id=0,$work_id=1)

License

Apache License 2.0