最新回答 / 慕无忌7233295
【蜘蛛侠TG@abin789】-5000【蜘蛛侠TG@abin789】-5001【蜘蛛侠TG@abin789】-5002【蜘蛛侠TG@abin789】-5003【蜘蛛侠TG@abin789】-5004【蜘蛛侠TG@abin789】-5005【蜘蛛侠TG@abin789】-5006【蜘蛛侠TG@abin789】-5007【蜘蛛侠TG@abin789】-5008【蜘蛛侠TG@abin789】-5009【蜘蛛侠TG@abin789】-5010【蜘蛛侠TG@abin789】-5011【蜘蛛侠TG@abin789】...
2021-09-10
最新回答 / 慕无忌7233295
【蜘蛛侠TG@abin789】-5000【蜘蛛侠TG@abin789】-5001【蜘蛛侠TG@abin789】-5002【蜘蛛侠TG@abin789】-5003【蜘蛛侠TG@abin789】-5004【蜘蛛侠TG@abin789】-5005【蜘蛛侠TG@abin789】-5006【蜘蛛侠TG@abin789】-5007【蜘蛛侠TG@abin789】-5008【蜘蛛侠TG@abin789】-5009【蜘蛛侠TG@abin789】-5010【蜘蛛侠TG@abin789】-5011【蜘蛛侠TG@abin789】...
2021-04-07
最新回答 / 慕无忌7233295
【蜘蛛侠TG@abin789】-5000【蜘蛛侠TG@abin789】-5001【蜘蛛侠TG@abin789】-5002【蜘蛛侠TG@abin789】-5003【蜘蛛侠TG@abin789】-5004【蜘蛛侠TG@abin789】-5005【蜘蛛侠TG@abin789】-5006【蜘蛛侠TG@abin789】-5007【蜘蛛侠TG@abin789】-5008【蜘蛛侠TG@abin789】-5009【蜘蛛侠TG@abin789】-5010【蜘蛛侠TG@abin789】-5011【蜘蛛侠TG@abin789】...
2020-12-28
最新回答 / 慕无忌7233295
【蜘蛛侠TG@abin789】-4800【蜘蛛侠TG@abin789】-4801【蜘蛛侠TG@abin789】-4802【蜘蛛侠TG@abin789】-4803【蜘蛛侠TG@abin789】-4804【蜘蛛侠TG@abin789】-4805【蜘蛛侠TG@abin789】-4806【蜘蛛侠TG@abin789】-4807【蜘蛛侠TG@abin789】-4808【蜘蛛侠TG@abin789】-4809【蜘蛛侠TG@abin789】-4810【蜘蛛侠TG@abin789】-4811【蜘蛛侠TG@abin789】...
2020-07-10
还有一点再说一下,老师用的ftp连接软件是WinSCP,代码编写软件是Sublime Text 3,都是免费的不要钱的,搜一下就有。Sublime Text 3可能需要汉化和配置,可能需要科学上网,搜一下按部就班去做就行了。工欲善其事必先利其器。
2020-01-22
sort($array);
//拼接成字符串,与signature校验
$str = sha1( implode( $array ) );
if( $str == $signature){
echo $echostr;
exit;
}
}
public function show(){
echo 'weixin';
}
}
//拼接成字符串,与signature校验
$str = sha1( implode( $array ) );
if( $str == $signature){
echo $echostr;
exit;
}
}
public function show(){
echo 'weixin';
}
}
2020-01-22
$nonce = $_GET['nonce'];
$token = 'shiyanpingtaitest';
$timestamp = $_GET['timestamp'];
$signature = $_GET['signature'];
$echostr = $_GET['echostr'];
//形成数组,按字典序排序并sha1加密
$array = array();
$array = array( $nonce, $timestamp, $token);
$token = 'shiyanpingtaitest';
$timestamp = $_GET['timestamp'];
$signature = $_GET['signature'];
$echostr = $_GET['echostr'];
//形成数组,按字典序排序并sha1加密
$array = array();
$array = array( $nonce, $timestamp, $token);
2020-01-22
indexContorller.class.php全代码:
<?php
namespace Home\Controller;
use Think\Controller;
class IndexController extends Controller {
public function index(){
//获得参数 signature nonce timestamp token echostr
<?php
namespace Home\Controller;
use Think\Controller;
class IndexController extends Controller {
public function index(){
//获得参数 signature nonce timestamp token echostr
2020-01-22
ps3. 注意目录,要加一个home。比如在 indexController.class.php后面写了public function show后应该浏览器进入https://123321123.aaaa.net/imooc.php/home/index/show,同理微信服务器地址就是https://123321123.aaaa.net/imooc.php/home/index/
2020-01-22
thinkphp3.2.3用下面代码可以成功认证:
ps1. 3.2.3的action类统一被换成controller类,所以不要找action文件夹而是找controller文件夹里的indexController.class.php,然后操作。
ps2. indexController.class.php里只能有一个public function index,所以应该删去自带的展示的东西再修改。
ps1. 3.2.3的action类统一被换成controller类,所以不要找action文件夹而是找controller文件夹里的indexController.class.php,然后操作。
ps2. indexController.class.php里只能有一个public function index,所以应该删去自带的展示的东西再修改。
2020-01-22
我来记录一下吧,自己用的 laravel 框架学习,关注时的事件推送一直接收不到,耗费很多时间才发现,post 请求被 csrf middleware 拦截了,所以直接没有请求到接口中,把这个接口写在 csrf 的不检测清单中就可以了。
2019-12-31
简单说一下几个坑吧
1.回复的xml里面要检查有没有空格
2.微信消息发送的是post请求,记得设置好路由
1.回复的xml里面要检查有没有空格
2.微信消息发送的是post请求,记得设置好路由
2019-11-22
最新回答 / 慕无忌7233295
【蜘蛛侠TG@abin789】-4400【蜘蛛侠TG@abin789】-4401【蜘蛛侠TG@abin789】-4402【蜘蛛侠TG@abin789】-4403【蜘蛛侠TG@abin789】-4404【蜘蛛侠TG@abin789】-4405【蜘蛛侠TG@abin789】-4406【蜘蛛侠TG@abin789】-4407【蜘蛛侠TG@abin789】-4408【蜘蛛侠TG@abin789】-4409【蜘蛛侠TG@abin789】-4410【蜘蛛侠TG@abin789】-4411【蜘蛛侠TG@abin789】...
2019-11-10
最新回答 / 慕无忌7233295
【蜘蛛侠TG@abin789】-4400【蜘蛛侠TG@abin789】-4401【蜘蛛侠TG@abin789】-4402【蜘蛛侠TG@abin789】-4403【蜘蛛侠TG@abin789】-4404【蜘蛛侠TG@abin789】-4405【蜘蛛侠TG@abin789】-4406【蜘蛛侠TG@abin789】-4407【蜘蛛侠TG@abin789】-4408【蜘蛛侠TG@abin789】-4409【蜘蛛侠TG@abin789】-4410【蜘蛛侠TG@abin789】-4411【蜘蛛侠TG@abin789】...
2019-08-22
最新回答 / 慕无忌7233295
【蜘蛛侠TG@abin789】-4200【蜘蛛侠TG@abin789】-4201【蜘蛛侠TG@abin789】-4202【蜘蛛侠TG@abin789】-4203【蜘蛛侠TG@abin789】-4204【蜘蛛侠TG@abin789】-4205【蜘蛛侠TG@abin789】-4206【蜘蛛侠TG@abin789】-4207【蜘蛛侠TG@abin789】-4208【蜘蛛侠TG@abin789】-4209【蜘蛛侠TG@abin789】-4210【蜘蛛侠TG@abin789】-4211【蜘蛛侠TG@abin789】...
2019-07-10