Processing math: 16%

https://blog.csdn.net/u010244476

posted @ 2018-10-19 10:38 阿星小栈 阅读(115) 评论(0) 推荐(0) 编辑
摘要: laravel whereRaw 和 where(DB::raw('')) 看标题就知道,明显whereRaw似乎是专业和靠谱一些 用 where(DB::raw(''))的时候,结尾会被增加一个莫名其妙的 is null() 用toSql()发现的。 $student=DB::table("vip 阅读全文
posted @ 2018-03-06 09:56 阿星小栈 阅读(11607) 评论(0) 推荐(2) 编辑
摘要: 阅读全文
posted @ 2019-04-19 14:05 阿星小栈 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 最近开始写一个比较大的东西,所以需要用到git,之前一直在用金山快盘和乌龟搭建的SVN,最近想尝试一下git 1.安装 Ubuntu: 1 sudo apt-get install git 老版本的Ubuntu下: 1 sudo apt-get install git-core 其他版本的Linux 阅读全文
posted @ 2019-02-13 11:52 阿星小栈 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 1、从数据表中取得单一数据列 user=DB::table(users)>where(name,John)>first();2:users = DB::table('users')->get(); foreach (users as 阅读全文
posted @ 2018-11-15 13:26 阿星小栈 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 原文:https://blog.csdn.net/chajinglong/article/details/52598757 阅读全文
posted @ 2018-11-15 13:17 阿星小栈 阅读(178) 评论(0) 推荐(0) 编辑
摘要: csdn地址:https://blog.csdn.net/u010244476/article/details/84101881 阅读全文
posted @ 2018-11-15 11:54 阿星小栈 阅读(413) 评论(0) 推荐(0) 编辑
摘要: 1. 使用 Request 类: url = Request::getRequestUri(); 2. 使用 request 对象: public function show(Request request) { $url = $request->url(); } 3. 使用 URL 类: 阅读全文
posted @ 2018-11-13 10:25 阿星小栈 阅读(399) 评论(0) 推荐(0) 编辑
摘要: 路径:项目/app/Exceptions/Handler.php 阅读全文
posted @ 2018-11-07 17:10 阿星小栈 阅读(232) 评论(0) 推荐(0) 编辑
摘要: 第一种是链接的方式: 注:target=”_blank”在a标签加上这个,如果对方不在线会提醒打开qq,如果对方在线会提示添加好友页面 如果a标签不加target=”_blank”,弹框会闪退 第二种是通过window.open(): 援引:https://blog.csdn.net/zshsats 阅读全文
posted @ 2018-11-07 13:57 阿星小栈 阅读(473) 评论(0) 推荐(0) 编辑
摘要: 设置cookie function setCookie(c_name, value, expiredays) { var exdate = new Date(); exdate.setTime(Number(exdate) + expiredays); document.cookie = c_nam 阅读全文
posted @ 2018-11-05 16:11 阿星小栈 阅读(312) 评论(0) 推荐(0) 编辑
摘要: html代码 PHP代码 阅读全文
posted @ 2018-11-05 15:56 阿星小栈 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 今天重启游戏服务器在连接redis数据库时突然报错:MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify 阅读全文
posted @ 2018-10-31 15:40 阿星小栈 阅读(413) 评论(0) 推荐(0) 编辑
摘要: 1. 使用 Request 类: url = Request::getRequestUri(); 2. 使用 request 对象: public function show(Request request) { $url = $request->url(); } 3. 使用 URL 类: 阅读全文
posted @ 2018-10-31 10:53 阿星小栈 阅读(904) 评论(0) 推荐(0) 编辑
摘要: 原文:https://www.93jc.cn/article/61.html 阅读全文
posted @ 2018-10-18 17:44 阿星小栈 阅读(449) 评论(0) 推荐(0) 编辑
摘要: FTP各种连不上,网上各种查之后说是被动模式配置端口 https://blog.csdn.net/qq_16030133/article/details/79962153 服务端用的是FileZilla,进入FileZilla设置里面切换成被动加上端口: 结果发现还是不行,原来是阿里云的安全组也要把 阅读全文
posted @ 2018-10-17 14:39 阿星小栈 阅读(1003) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示