摘要:
<?php /** * SnowFlake ID Generator * Based on Twitter Snowflake to generate unique ID across multiple * datacenters and databases without having dupli 阅读全文
摘要:
Mac 开启crontab定时任务调试一般使用微信tocken还有Scret时候需要定时通过get到微信制定网站获取,需要7200秒获取一次。多次请求,每天有请求上限,一般做法缓存起来,然后7200失效后重新获取。 *参考文献:*http://linuxtools-rst.readthedocs.i 阅读全文
摘要:
Controller::::::$user = User::findOne(['ID'=>Yii::$app->user->getId()]);dd($user->toArray());Model:::::::::: public function fields() { $fields = pare 阅读全文