您现在的位置是:
    • php通过cookie操控验证码显示隐藏

      public function index(){ // 是否显示验证码,默认不显示 $this-ProisShowAuthCode=2; if(cookie(loginNum)=3){ $this-ProisShowAuthCode=1; } $this-assign([isShowAuthCode=$this-ProisShowAuthCode]); return view(); }public function dolog(){ $captc....

      发布时间:2023-05-27 浏览量:
    • ALTER TABLE causes auto_increment resequencing, resulting i

      ALTER TABLE causes auto_increment resequencing, resulting in duplicate entry 12 for key PRIMARY 这句话什么意义呢? 更改表引发递增重排序,造成了键输入了多次12。 也就是说要修改成递增的字段中,输入了重复的....

      发布时间:2023-05-27 浏览量:
    • tp5 composer wechatpay微信支付v3

      问题: 正常使用中的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....

      发布时间:2023-05-25 浏览量:
    • v3 退款400 Bad Request

      报错: Client error: `POST https://api.mch.weixin.qq.com/v3/refund/domestic/refunds` resulted in a `400 Bad Request` response 解决: 请求参数仔细查查,看看值对不对。打印看看 json = [ out_trade_no = $out_trade_no, out_refund_n....

      发布时间:2023-05-24 浏览量:
    • 输入源“/body/amount/total”映射到数值 (truncated...)

      报错: 1,Client error: `POST https://api.mch.weixin.qq.com/v3/refund/domestic/refunds` resulted in a `400 Bad Request` response: {code:PARAM_ERROR,detail:{location:body,value:0},message:输入源 /body/amount/total 映射到数值 (truncated...) ....

      发布时间:2023-05-24 浏览量:
    • 'Cannot found the serial(`7961E289E4FD04`)\'s configuration,

      // 从本地文件中加载「微信支付平台证书」 ,用来验证微信支付应答的签名。使用composer 下载的平台证书路径添加至此 $filecert=file://.EXTEND_PATH .wechatpay_796C4533804444683DE4FD04.pem; $platformCertificateFi....

      发布时间:2023-05-18 浏览量:
    • curl_setopt_array(): cannot represent a stream of type Outpu

      在guzzle(版本6.3)设置了option中 debug为true 的时候,linux下没有问题,windows下报如下错误: curl_setopt_array(): cannot represent a stream of type Output as a STDIO FILE* // 发送请求 $resp = $instance-chain(v3/certifica....

      发布时间:2023-05-18 浏览量:
    • composer下载微信支付平台证书

      第1:验证是否正确,如下命令:composer exec -l ,如下图: 显示有可执行文件 CertificateDownloader.php 表示此文件可执行。 第三:运行命令得到一些参数说明,命令:php vendor/bin/CertificateDownloader.php ....

      发布时间:2023-05-18 浏览量: