Open dingjia opened 8 years ago
使用了TPwechat.class,php 载入缓存,但是依然提示获取access_token时AppSecret错误,或者access_token无效。如果注释掉 /* * 重载获取缓存 * @param string $cachename * @return mixed / protected function getCache($cachename){ return S($cachename); }
中的return S($cachename); 就正常了,求助
我第一次接触这样的框架,没有找到S这个function 在哪里定义,可否告知下?
@cainiaoDJ 这个是thinkphp 封装的S方法,去看下手册有写到
@nongzhenli 谢谢
使用了TPwechat.class,php 载入缓存,但是依然提示获取access_token时AppSecret错误,或者access_token无效。如果注释掉 /* * 重载获取缓存 * @param string $cachename * @return mixed / protected function getCache($cachename){ return S($cachename); }
中的return S($cachename); 就正常了,求助