暴露那里一定要这两参数,不然死活是传不成功的
增加体验效果请勿用IE、 本站对IE不友好、 o(∩_∩)o 哈哈
增加体验效果请勿用IE、 本站对IE不友好、 o(∩_∩)o 哈哈
jq使用: $("#test1").parent(); // 父节点 $("#test1").parents(); // 全部父节点 $("#test1").parents(".mui-content");//返回class为mui-content的父节点 $("#test1").children(); // 全部子节点 $("#test1").children("#test1"); //返回id为test1的子节点 $("#test1").contents(); // 返回id为test里面的所有内容,包括节点和文本 $("#test1").contents("#test1"); //返回id
上代码 //获取小程序access_token(测试用文件的方式存储微信AccessToken) private function getAccessToken1() { $appid = config('wx_lite')['appid']; $appsecret = config('wx_lite')['appSecret']; $token_file = 'wxtoken.txt';//dirname(dirname(__FILE__)) . if (!file_exists($token_file) || ((time() - filemtime($token_file)) > 7000)) { $TOKEN_URL = "https://api.weixin.qq.com/cgi-bin/token?grant_type=cl
第一种: 新建或更改ThinkPHP5扩展配置文件夹extra中的配置文件 /** * 修改扩展配置文件 * @param array $arr 需要更新或添加的配置 * @param string $file 配置文件名(不需要后辍) * @return bool */ function extraconfig($arr = [], $file = 'extraconfig') { if (is_array($arr)) { $filename = $file . EXT; $filepath = APP_PATH . 'extra/' . $filename; if (!file_exists($filepath)) { $co