thinkphp6
逍遥596607010
这个作者很懒,什么都没留下…
展开
-
thinkphp6.1 filesystem
/*** config/filesystem.php 配置文件系统路径。* disk('public) 是选取config/filesystem.php 里面的public配置,可以省略disk,如果省略默认就是runtime/storage路径。*/原创 2022-11-17 20:49:26 · 1357 阅读 · 1 评论 -
php think worker:gateway
php think worker:gateway原创 2021-12-10 22:45:06 · 528 阅读 · 0 评论 -
自定义数组分页
public function iconList(){ $List = [ '24-hours-fill', '24-hours-line', '4k-fill', '4k-line', 'a-b', 'account-box-fill', 'account-box-line', 'accou...原创 2021-11-04 15:09:51 · 262 阅读 · 0 评论 -
location /wss
location /wss { proxy_pass http://127.0.0.1:8071; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; proxy_set_header X-Real-IP $remote_addr; }原创 2021-09-27 00:33:40 · 467 阅读 · 0 评论 -
cd swoole-4.3.2
宝塔安装swoole新建文件夹mkdir swoole切入到文件夹中,进行下载安装包wget http://pecl.php.net/get/swoole-4.3.2.tgz解压tar -zxvf swoole-4.3.2.tgzcd swoole-4.3.2进行如下操作phpize./configure./configure --with-php-config=/www/server/php/72/bin/php-configmake && make原创 2021-09-26 06:13:55 · 76 阅读 · 0 评论 -
找到个免费验证银行卡的接口
function getBankCard($cardid){ $card = file_get_contents("https://ccdcapi.alipay.com/validateAndCacheCardInfo.json?cardNo={$cardid}&cardBinCheck=true"); $bankCard = json_decode($card,true); if($bankCard['validated']==false){ return.原创 2021-09-19 04:38:45 · 390 阅读 · 0 评论 -
thinkphp6使用oauth2服务
一、创建数据库对应的表,通过方法获取sql CREATE TABLE a_oauth_clients ( client_id VARCHAR(80) NOT NULL, client_secret VARCHAR(80), redirect_uri VARCHAR(...原创 2019-12-16 16:00:06 · 1519 阅读 · 0 评论