摘要: win10 kms 激活 slmgr命令方法 1,右键开始按钮,在快捷菜单点击命令提示符(管理员),或者Windows PowerShell(管理员); 2,输入命令 slmgr /skms kms.03k.org 回车,如下图 点确定,再继续输入 slmgr /ato 回车 重启电脑。 3,查看是 阅读全文
posted @ 2020-07-18 15:35 pensive2019 阅读(354) 评论(0) 推荐(0)
摘要: 一、不安全Http请求头: X-Content-Type-Options(Head字段) X-XSS-Protection(Head字段) X-Frame-Options(Head字段) 在IIS网站->HTTP响应头->修改如下: 原有: 名称:X-Powered-By 值:ASP.NET 在对应 阅读全文
posted @ 2020-06-25 17:53 pensive2019 阅读(1573) 评论(0) 推荐(0)
摘要: //在接收回调端的PHP页开头加入下面这句 header("Access-Control-Allow-Origin:*");//允许跨域 阅读全文
posted @ 2020-06-09 15:45 pensive2019 阅读(1067) 评论(0) 推荐(0)
摘要: 织梦添加栏目时提示“保存目录数据时失败,请检查你的输入资料是否存在问题!” 那是因为你的后台栏目添加文件php里有做过二次开发,添加了栏目数据表里不存在的字段。 跟着下面的步骤,让程序告诉你缺少什么引起的保存失败吧。 解决方法 1、打开 /dede/catalog_add.php 找到 (大概在23 阅读全文
posted @ 2020-05-24 21:12 pensive2019 阅读(643) 评论(0) 推荐(0)
摘要: 1,控制器 App\Http\Controllers\Index\ArticleController.php 上新增 search() 方法 <?php namespace App\Http\Controllers\Index; use App\Models\Admin\Article; use I 阅读全文
posted @ 2020-05-22 23:46 pensive2019 阅读(444) 评论(0) 推荐(0)
摘要: 1,编辑 App\Http\Controllers\Index\ArticleController.php <?php namespace App\Http\Controllers\Index; use App\Models\Admin\Article; class ArticleControlle 阅读全文
posted @ 2020-05-22 21:48 pensive2019 阅读(190) 评论(0) 推荐(0)
摘要: 1,直接复制前台首页模板index.blade.php 到 前台列表 模板 cate.blade.php 2,App\Http\Controllers\Index\CateController.php 前台栏目控制台修改为 <?php namespace App\Http\Controllers\I 阅读全文
posted @ 2020-05-22 17:51 pensive2019 阅读(116) 评论(0) 推荐(0)
摘要: 1,直接复制CSS文件 到 \public\static\index\css\pagination.css #pull_right{ text-align:center; } .pull-right { /*float: left!important;*/ } .pagination { displ 阅读全文
posted @ 2020-05-22 16:46 pensive2019 阅读(168) 评论(0) 推荐(0)
摘要: 1,App\Http\Controllers\Index\IndexController.php 修改前台首页的控制器为 <?php namespace App\Http\Controllers\Index; use App\Models\Admin\Article; class IndexCont 阅读全文
posted @ 2020-05-22 16:01 pensive2019 阅读(190) 评论(0) 推荐(0)
摘要: 1, App\Http\Controllers\Index\CateController.php 栏目控制器index()方法 改成 分配当前栏目ID到模板 <?php namespace App\Http\Controllers\Index; class CateController extend 阅读全文
posted @ 2020-05-22 10:55 pensive2019 阅读(182) 评论(0) 推荐(0)