- 博客(6)
- 问答 (4)
- 收藏
- 关注
原创 常用代码块(基于ThinkPHP 框架)
目录递归类请求类常用函数递归类无限上级 function shangji($uid, &$array = []) { $is_parent = Db::name('user')->where('user_id', $uid)->field('father_id')->find(); if ($is_parent["father_id"] != 0) { $array[] = $is_par
2021-07-06 17:47:59
151
2
原创 ThinkPHP 接入以太坊
所需环境 TP版本:thinkphp 5 节点服务器:https://infura.io/ 所需扩展 JSON-RPC(也可以使用web3) guzzlehttp(https://github.com/guzzle/guzzle) ethereum-client (https://github.com/myxtype/ethereum-client) simplito(https://github.com/simplito/elliptic-php) neb.php(h
2020-11-20 09:37:57
1696
原创 极光推送-Thinkphp
// An highlighted blockpublic function test() { $push = A('ts'); $m_type = 'http';//推送附加字段的类型 $m_txt = 'http://www.groex.cn/';//推送附加字段的类型对应的内容(可不填) 可能是url,可能是一段文字。 ...
2019-05-28 11:52:22
230
原创 PHPstorm 远程连接工具找不到
PHPstorm 远程连接工具找不到1、MAC汉化后的找回左上角PhpStorm-》preferences..-》Plugins搜索 Remote Hosts Access 点击单选框进行选中,底部应用-》确定即可2、原版的找回1、MAC汉化后的找回左上角PhpStorm-》preferences…-》Plugins搜索 Remote Hosts Access 点击单选框进行选中,底部应用-...
2019-05-23 09:15:25
1645
空空如也
thinkphp5 定时执行HTTP,执行速度慢,怎么优化?
2021-01-29
数据量较大时,根据经纬度排序
2020-05-14
TA创建的收藏夹 TA关注的收藏夹
TA关注的人