PHP 锁

<?php namespace app\common\utils; use Exception; use Memcache; use think\db\connector\Mysql; /** * LockSystem.php * php锁机制 */ class LockSystem { const LOCK_TYPE_DB = 'SQLLock'; const L

- 阅读全文 -

js canvas生成图片

// 用到的库 https://html2canvas.hertzen.com/ // div转图片 <script src="https://html2canvas.hertzen.com/dist/html2canvas.min.js"></script> <script type="text/javascript">

- 阅读全文 -

js 打印

// 打印图片 function printThisWindow(url) { let iframe = document.createElement('IFRAME') let doc = null iframe.setAttribute('class', 'print-iframe') iframe.setAttr

- 阅读全文 -

PHP redis工具类

class RedisUtil { private Redis|\Swoole\Coroutine\Redis $redis; //当前数据库ID号 protected int $dbId = 0; //当前权限认证码 protected mixed $auth; /** * 实例化的对象,

- 阅读全文 -

PHP QQ邮箱Imap

<?php namespace app\common\email; class QqEmailImap { protected $host = '{imap.qq.com:993/imap/ssl}'; // IMAP服务器地址 protected $username; // 邮箱地址,例如:xxx@qq.com protected $password; // 授

- 阅读全文 -

最新文章

最近回复

  • chen: Hello,Currently, this software i...
  • Georgebug: Sawubona, bengifuna ukwazi inten...
  • chen: 添加快递哪里你应该是没有添加店铺就添加快递了吧
  • chen: 加一下我微信,这里我不怎么看
  • : 添加快递那里点击没反应,无法添加

分类

标签

归档

其它