composer require chillerlan/php-qrcode $data = 'id=100&barn_id=125'; $QRCode = new QRCode(); $img_content = $QRCode->render($data); $img_content = str_replace('data:image/...
laravel的orm操作 namespace App\model; use support\Db; use support\Model; class DemoModel extends Model { protected $table="demo"; public function __construct(array $attributes = []) { $...
在控制器里面直接推送 就跟结合tp框架那样直接调用 是需要自己去实现还是可以用gatewayworker去做? 解决方案: 直接用webman/push 插件,超级好用 https://www.workerman.net/doc/webman/plugin/push.html...