09 2020 档案
摘要:官方文档:https://cloud.tencent.com/document/product/436/34282 三方扩展:https://github.com/hongfs/flysystem-cos https://blog.csdn.net/qq_42805749/article/detai
阅读全文
摘要:php实现 <?php // 源文件 $apk = "gb.apk"; // 生成临时文件 $file = tempnam("tmp", "zip"); // 复制文件 if(false file_put_contents($file, file_get_contents($apk))){ exit
阅读全文
摘要:android的URLEncoder.encode与PHPrawurlencode()区别 + 改为"%20" "*" 改为 "%2A" "%7E" 改为 "~" 有两种处理方法 java端处理 URLEncoder.encode(str,"UTF-8").replace("+", "%20").r
阅读全文
摘要:优化 SHOW COLUMNS FROM https://www.cnblogs.com/xdtx/p/9185914.html http://www.thinkphp.cn/topic/37558.html php think optimize:schema https://www.kanclou
阅读全文
摘要:class MainTask extends Phalcon\Cli\Task{ /** * 默认方法,入口方法 */ public function mainAction(){ $this->console->handle(array( 'task' => 'main', 'action' =>
阅读全文
摘要:本文转载: 一文说清 InnoDB 的事务机制 我们从一个转账的故事开始。 隔壁小王从美团上找到了一家水饺店,准备中午吃水饺。下单成功,支付20元。 商家这里响了一下:叮叮,您有美团外卖新订单啦,请及时处理。水饺一份,好嘞,下锅。 很快小王吃到外卖了,吃完美美地躺下开始睡觉。 突然手机一顿猛响。一个
阅读全文
摘要:显示当前所有远程库的详细信息 git remote -v git切换源 git remote set-url origin {新git地址}
阅读全文
摘要:查询列表 return User::query() ->where("app_id = {$app_id}") ->execute()->toArray(); 查询单条 return User::findFirst([ "app_id = {$app_id}", ])->toArray(); ord
阅读全文