上一页 1 2 3 4 5 6 ··· 8 下一页
摘要: package main import ( "fmt" "time" ) func main() { // 斐波那契数列 start := time.Now().UnixNano() nRes := fibo(30) fmt.Println(nRes) end := time.Now().UnixN 阅读全文
posted @ 2020-12-05 20:04 A毛毛 阅读(323) 评论(0) 推荐(0) 编辑
摘要: package main import ( "encoding/json" "fmt" "math" "math/rand" "sort" "time" ) type Prize struct { PlayerId int64 Weight int } func main() { //设置奖项名称、 阅读全文
posted @ 2020-11-20 09:54 A毛毛 阅读(2884) 评论(0) 推荐(0) 编辑
摘要: 用我的步骤前,请一定要保证自己的网站能够用https正常打开;方法也是非常的简单,具体步骤如下: 一、登陆服务器 不管你的服务器是linux还是windos,原理都是一样的,我拿windos服务器来举例吧! 登陆windos服器方法很简单,需要“远程桌面连接”。 我们直接点击左下角“开始” =》 “ 阅读全文
posted @ 2020-06-10 14:47 A毛毛 阅读(1692) 评论(0) 推荐(0) 编辑
摘要: 前端请求方法:GET PHPExcel类库下载链接: https://pan.baidu.com/s/1PkN5-jGhWWWvT2Vf07JiPQ 提取码: f66s 导出EXCEL乱码问题 解决方法:ob_end_clean(); //清除缓冲区,避免乱码 代码实现: public functi 阅读全文
posted @ 2020-05-13 15:44 A毛毛 阅读(953) 评论(0) 推荐(0) 编辑
摘要: 控制器 public function list() { // $list = member::get(); $list = member::paginate(2); return view('home/index/list',compact('list')); } 视图 <table> <tr> 阅读全文
posted @ 2020-05-10 23:13 A毛毛 阅读(366) 评论(0) 推荐(0) 编辑
摘要: 方法1: 用SET PASSWORD命令首先登录MySQL。格式:mysql> set password for 用户名@localhost = password('新密码');例子:mysql> set password for root@localhost = password('123');方 阅读全文
posted @ 2020-05-08 14:28 A毛毛 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 一. 创建用户 命令:CREATE USER 'username'@'host' IDENTIFIED BY 'password'; 说明:username:你将创建的用户名host:指定该用户在哪个主机上可以登陆,如果是本地用户可用localhost,如果想让该用户可以从任意远程主机登陆,可以使用 阅读全文
posted @ 2020-05-08 11:20 A毛毛 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 1、打开链接: http://www.microsoft.com/zh-cn/download/confirmation.aspx?id=7435 2、保存文件: rewrite_x64_zh-CN.msi 3、安装 4、重新打开IIS服务器管理器 或者 刷新要操作的网站 5、管理区多了“URL重写 阅读全文
posted @ 2020-05-08 11:10 A毛毛 阅读(432) 评论(0) 推荐(0) 编辑
摘要: (图文并茂) 点击查看:安装配置IIS+MySQL+PHP环境的详细教程(之篇一IIS安装) 点击查看:安装配置IIS+MySQL+PHP环境的详细教程(之篇二PHP安装) 点击查看:安装配置IIS+MySQL+PHP环境的详细教程(之篇三MySQL安装) 点击查看:IIS 配置 HTTPS详细步骤 阅读全文
posted @ 2020-05-08 10:06 A毛毛 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 打开iis绑定域名时,点击绑定弹出绑定框,在选择类型为“https”的时候,主机名为灰色的无法填写 解决方法: 1. 选择https,在选择相应的SSL证书,点击确定 2. 打开C:\Windows\system32\inetsrv\config\applicationHost.config 3.  阅读全文
posted @ 2020-05-08 09:52 A毛毛 阅读(503) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 8 下一页