问题: 正常使用中的tp5程序需要安装微信支付v3。 tp5使用cmd面板composer require wechatpay/wechatpay会报错。 比如下面 1,The topthink/think-installer plugin was skipped because it requires a Plugin API version (^1.0) that....
支付宝电脑网页支付 写一个类把支付、退款、查询都放在一起 ?php namespace app\home\controller; use think\Controller; use think\Db; use think\Request; use think\Loader; /** * 支付宝 */ class Alipay extends Allow{ //生成唯一....
1、composer安装: composer require phpoffice/phpspreadsheet 2. 在thinkphp5控制中引入 use PhpOffice\PhpSpreadsheet\Spreadsheet;use PhpOffice\PhpSpreadsheet\Writer\Xlsx; //数据导出 public function e(){ $spreadsheet = new Spreadsheet(); $wo....