陌潇 2019-01-18 16:40:36 3095 收藏 4分类专栏: Laravel框架 文章标签: Laravel 返回值版权先理解几个概念:StdClass 对象 => 基础的对象 Eloquent 模型对象(Model 对象) => 和模型相关的类对象 Eloquent 集合 => 可以 ...
分类:
其他好文 时间:
2021-05-24 09:27:45
阅读次数:
0
####先来一个较全的模板 <?xml version="1.0" encoding="UTF-8"?> <!--Configuration后面的status,这个用于设置log4j2自身内部的信息输出,可以不设置--> <!--monitorInterval:Log4j能够自动检测修改配置 文件和 ...
分类:
其他好文 时间:
2021-05-24 08:53:11
阅读次数:
0
现象 [root@ln0-181 src]# docker login harbor.spos.lab Authenticating with existing credentials... Login did not succeed, error: Error response from daem ...
分类:
其他好文 时间:
2021-05-24 07:34:00
阅读次数:
0
firewall的操作 1.firewalld的基本使用 启动: systemctl start firewalld查状态:systemctl status firewalld 停止: systemctl disable firewalld禁用: systemctl stop firewalld在开 ...
分类:
其他好文 时间:
2021-05-24 06:54:27
阅读次数:
0
博主在用 Hexo 搭建博客的时候,一直在考虑评论系统用什么,最终比较了多家,决定用 Gitalk,这是一个基于 Github Issues 的评论系统,所有的评论内容都保存在 Github Issues 中,每篇博客对应一个 Issues。只有登陆 Github 账号才能评论,大多数人应该都会有 ...
分类:
其他好文 时间:
2021-05-24 06:44:23
阅读次数:
0
1、查看当前防火墙的状态 sudo ufw status #输入安装系统时创建的密码,乌班图不支持直接使用root账号登录 inactive状态是防火墙关闭状态 active是开启状态。 2、开启防火墙 sudo ufw enable 输入y会提示Firewall is active and ena ...
分类:
其他好文 时间:
2021-05-24 06:41:54
阅读次数:
0
单纯使用读写分离功能 3.20.10.0版本开始dble?持单纯的读写分离,可以和分库分表功能分开单独使?。 若想启?dble的读写分离,仅需在 user.xml ?件中配置 rwSplitUser并指定对应的dbGroup即可。 1、修改user.xml配置文件 <dble:user xmlns: ...
分类:
数据库 时间:
2021-05-24 06:12:25
阅读次数:
0
## nginx的日志```SHELL #log_format main '$remote_addr - $remote_user [$time_local] "$request" ' # '$status $body_bytes_sent "$http_referer" ' # '"$http_u ...
分类:
系统相关 时间:
2021-05-24 04:12:29
阅读次数:
0
https://www.cnblogs.com/sharpest/p/10390035.html InnoDB和MyISAM区别 区别:1. InnoDB 支持事务,MyISAM 不支持事务。这是 MySQL 将默认存储引擎从 MyISAM 变成 InnoDB 的重要原因之一;2. InnoDB 支 ...
分类:
数据库 时间:
2021-05-24 04:09:35
阅读次数:
0
###1、http.STATUS_CODES 是一个对象,属性名都是状态码,属性值则是该状态码的简短解释。 ###2、用法 var http = require('http'); //引入http模块 http.createServer(function(req, res) { //调用http模块 ...
分类:
Web程序 时间:
2021-05-24 02:07:12
阅读次数:
0