上一页 1 2 3 4 5 6 7 8 9 10 ··· 15 下一页
摘要: 插件合集 点击跳转 源地址 https://github.com/helei112g/payment 安装 当前 Payment 项目仅支持 PHP version > 7.0 的版本,并且仅支持通过 composer 进行安装。 需要 PHP 安装以下扩展: - ext-curl - ext-mb 阅读全文
posted @ 2020-12-02 17:19 Cyber_nnno 阅读(1203) 评论(11) 推荐(0)
摘要: 插件合集 点击跳转 安装 composer require phpmailer/phpmailer 配置 QQ邮箱 --> 设置 --> 账户 --> 往下拉 --> 打开它 直接上代码 <?php /** * Created by PhpStorm. * User: Zhangyongfeng * 阅读全文
posted @ 2020-12-02 15:35 Cyber_nnno 阅读(323) 评论(0) 推荐(0)
摘要: 基类 在application目录的model中新建Base基类 直接上代码 <?php /** * Created by PhpStorm. * User: Zhangyongfeng * Date: 2020/12/1 * Time: 11:32 * * ━━━━━━━━━神兽出没━━━━━━━ 阅读全文
posted @ 2020-12-02 13:30 Cyber_nnno 阅读(230) 评论(0) 推荐(0)
摘要: 插件合集 点击跳转 安装 composer require alibabacloud/sdk 后台 <?php /** * Created by PhpStorm. * User: Zhangyongfeng * Date: 2020/11/24 * Time: 13:57 * * ━━━━━━━━ 阅读全文
posted @ 2020-12-02 13:07 Cyber_nnno 阅读(467) 评论(0) 推荐(0)
摘要: RewriteEngine On RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /in 阅读全文
posted @ 2020-11-16 09:04 Cyber_nnno 阅读(209) 评论(0) 推荐(0)
摘要: 安装 在phpstorm中请求一直报错,只能老老实实在项目文件夹cmd了 composer require okcoder/think5-apidoc dev-master 配置 官方文档说会在config目录里自动生成okcoder_doc.php,我的没有,只能自己创建了 <?php /** * 阅读全文
posted @ 2020-11-14 14:23 Cyber_nnno 阅读(1471) 评论(0) 推荐(0)
摘要: try_files $uri $uri/ /exploit/index.php?$query_string; if (!-e $request_filename) { rewrite ^(.*)$ /index.php?s=$1 last; break; } 阅读全文
posted @ 2020-11-13 16:39 Cyber_nnno 阅读(115) 评论(0) 推荐(0)
摘要: 核心类(用到了模型) <?php /** * Created by PhpStorm. * User: Administrator * Date: 2020/11/11 * Time: 16:37 */ namespace app\common\controller; use app\model\C 阅读全文
posted @ 2020-11-13 13:03 Cyber_nnno 阅读(2700) 评论(4) 推荐(1)
摘要: 定义 promise是一个对象,对象和函数的区别就是对象可以保存状态,函数不可以(闭包除外) 并未剥夺函数return的能力,因此无需层层传递callback,进行回调获取数据 代码风格,容易理解,便于维护 多个异步等待合并便于解决 操作 new Promise( function (resolve 阅读全文
posted @ 2020-09-30 10:53 Cyber_nnno 阅读(332) 评论(0) 推荐(1)
摘要: 1xx: 信息 消息:描述: 100 Continue 服务器仅接收到部分请求,如果服务器没有拒绝该请求,客户端应该继续发送其余的请求。 101 Switching Protocols 服务器转换协议:服务器将遵从客户的请求转换到另外一种协议。 103 Checkpoint 用于 PUT 或者 PO 阅读全文
posted @ 2020-09-29 11:04 Cyber_nnno 阅读(143) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 15 下一页