this.wxInfo.redirect_uri = encodeURIComponent(window.location.href); var h = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=" + this.wxInf ...
分类:
微信 时间:
2020-06-30 17:39:40
阅读次数:
150
location / { root /Users/heyang/Desktop/web/static; index index.html index.htm; try_files $uri $uri/ /index.html; } ...
分类:
其他好文 时间:
2020-06-30 17:12:37
阅读次数:
64
div的局部刷新 $(".dl").load(location.href+" .dl"); 全页面的刷新方法 window.location.reload()刷新当前页面. parent.location.reload()刷新父亲对象(用于框架) opener.location.reload()刷新 ...
分类:
Web程序 时间:
2020-06-30 12:39:42
阅读次数:
312
声明:此MySQL基础学习源自尚硅谷。(推荐)b站官方链接:https://www.bilibili.com/video/BV1xW411u7ax?p=1 进阶5:分组查询 语法: select 查询列表 from 表 【where 筛选条件】 group by 分组的字段 【order by 排序 ...
分类:
数据库 时间:
2020-06-29 23:09:29
阅读次数:
114
异常描述: 解决方法: 安装nuget包:Microsoft.NET.Sdk.Razor 参考:https://stackoverflow.com/questions/55633137/assembly-location-for-razor-sdk-tasks-was-not-specified ...
分类:
其他好文 时间:
2020-06-29 15:20:25
阅读次数:
92
React不像Vue那样有router.beforeEach这样的路由钩子,但是它提供了一个组件:Prompt import { Prompt } from 'react-router-dom'; <Prompt when={true} message={location => '信息还没保存,确定 ...
分类:
其他好文 时间:
2020-06-29 13:25:25
阅读次数:
149
-o /dev/null 屏蔽原有输出信息 -s silent -w % 控制额外输出 -I 仅测试HTTP头 -m 10 最多查询10s #!/bin/bash status_code=curl -I -m 10 -o /dev/null -s -w %{http_code} www.baidu. ...
分类:
Web程序 时间:
2020-06-28 20:53:35
阅读次数:
209
PHP获取下拉菜单的数据 PHP下拉菜单单选 <?php //htmlspecialchars()函数把预定义的字符转换为HTML实体 $q = isset($_GET['q'])? htmlspecialchars($_GET['q']) : ''; if ($q) { if ($q == 'Py ...
分类:
Web程序 时间:
2020-06-28 15:28:49
阅读次数:
80
function UrlSearch() { var name,value; var str=location.href; //取得整个地址栏 var num=str.indexOf("?") str=str.substr(num+1); //取得所有参数 stringvar.substr(star ...
分类:
其他好文 时间:
2020-06-27 20:29:18
阅读次数:
65
<?php /** * Description of Rsa * * @author lsf */ namespace lib; class GaoDeTsapi { //put your code here //创建服务 static public $service_add = "https:// ...
分类:
Web程序 时间:
2020-06-27 15:58:40
阅读次数:
151