后台管理 """ 当一个文件夹下文件比较多的时候 你还可以继续创建文件夹分类处理 templates文件夹 backend文件夹 应用1文件夹 应用2文件夹 """ 添加文章 有两个需要注意的问题 1.文章的简介 不能直接切去 应该先想办法获取到当前页面的文本内容之后截取150个文本字符 2.XSS ...
分类:
其他好文 时间:
2020-06-15 23:01:01
阅读次数:
62
问题来源: Spring Boot 项目集成 ActiveMQ。 报错内容: Description:Field jmsTemplate in XXX required a bean of type 'org.springframework.jms.core.JmsMessagingTemplate ...
分类:
编程语言 时间:
2020-06-15 21:17:09
阅读次数:
136
oracle数据库静默安装 环境配置 系统:CentOS7.6 cpu:2*4=8核 硬盘:120G 内存:8G 一,配置 1,关闭防火墙及selinux [root@localhost ~]# iptables -F [root@localhost ~]# systemctl stop firew ...
分类:
数据库 时间:
2020-06-15 17:50:10
阅读次数:
76
刚接触nodejs,写博客只是记录一下自己的学习心得 我这里的静态资源是指一个包括文字、图片、以及点击会有详情框的页面。需要2个js文件和一个html文件 首先新建一个01.js文件 const http = require('http'); var server = http.createServ ...
分类:
其他好文 时间:
2020-06-14 20:38:37
阅读次数:
51
直接上代码: 1 <?php 2 require_once 'db_const.php'; 3 require_once 'helperPub.php'; 4 5 //测试存储过程的事务 6 //http://localhost/API_WMS/WMS_BatchTest.php 7 8 echo ...
分类:
其他好文 时间:
2020-06-14 16:57:18
阅读次数:
57
const { Article } = require('../../model/acticle'); const pagination = require('mongoose-sex-page'); module.exports = async(req, res) => { const page ...
分类:
其他好文 时间:
2020-06-13 21:32:41
阅读次数:
71
public function orderList() { $rules = [ 'order_status' => 'required|integer|in:1,2,3,4,5', 'page' => 'required|integer|min:1', 'per_page' => 'require ...
分类:
其他好文 时间:
2020-06-13 19:13:02
阅读次数:
119
消息 7405,级别 16,状态 1,过程 Queryxxxxx ,第 32 行 Heterogeneous queries require the ANSI_NULLS and ANSI_WARNINGS options to be set for the connection. This ens ...
分类:
其他好文 时间:
2020-06-12 14:31:48
阅读次数:
76
// 引入mongoose 第三方模块 const mongoose = require('mongoose'); // 连接数据库 mongoose.connect('mongodb://localhost/blog', { useNewUrlParser: true, useUnifiedTop ...
分类:
其他好文 时间:
2020-06-12 14:13:49
阅读次数:
67
2009年,Node.js 项目诞生,所有模块一律为 CommonJS 格式。 时至今日,Node.js 的模块仓库 npmjs.com ,已经存放了15万个模块,其中绝大部分都是 CommonJS 格式。 这种格式的核心就是 require 语句,模块通过它加载。学习 Node.js ,必学如何使 ...
分类:
其他好文 时间:
2020-06-12 10:32:21
阅读次数:
36