添加MongoDB驱动 <dependency> <groupId>org.mongodb</groupId> <artifactId>mongo-java-driver</artifactId> <version>3.12.0</version> </dependency> //连接 MongoD ...
分类:
数据库 时间:
2020-12-25 12:03:15
阅读次数:
0
#导入requests库 #第一次需要安装:pip install requests import requests #测试天气预报接口,发送Get请求,查看返回的JSON结果 #提供请求的URL地址 url = 'http://apis.juhe.cn/simpleWeather/query' # ...
分类:
其他好文 时间:
2020-12-25 11:43:04
阅读次数:
0
接口调用方式 原生ajax 基于jQuery的ajax fetch axios URL地址格式 格式:schema://host:port/path?query#fragment schema:协议。例如HTTP,https,ftp等 hsot:域名或者I地址 port:端口,http默认端口80, ...
分类:
其他好文 时间:
2020-12-24 11:46:30
阅读次数:
0
版本:【 "JYadmin-react-antd": "^1.0.0"】 版权所有:微信公众号【微新悦】 原文链接:https://www.weixinyue.cn/frontCourses/#/JYAdminReactAntd1.0/1(阅读效果更佳) 文章说明:本课题会带大家从零到一打造一套基于 ...
分类:
其他好文 时间:
2020-12-24 11:43:17
阅读次数:
0
背景:1.服务器处于内网或无法连接外网实验步骤1.挂载镜像到/mnt/cdrommkdir/mnt/cdrommount-tiso9660/dev/cdrom/mnt/cdrom2.切换目录到/etc/yum.repos.d/下cd/etc/yum.repos.d/3.将除了CentOS-Media.repo之外的文件修改其文件名mvCentOS-Base.repoCentOS-Base.repo
分类:
其他好文 时间:
2020-12-23 11:58:11
阅读次数:
0
this.$route:当前激活的路由的信息对象。每个对象都是局部的,可以获取当前路由的 path, name, params, query 等属性。 this.$router:全局的 router 实例。通过 vue 根实例中注入 router 实例,然后再注入到每个子组件,从而让整个应用都有路由 ...
分类:
其他好文 时间:
2020-12-23 11:43:40
阅读次数:
0
前言 先引用一张图片 目录图 一、SQL语句优化 开启慢查询功能 vim /etc/my.cnf [mysqld] slow-query-log = on # 开启慢查询功能 slow_query_log_file = /data/slow-query.log # 慢查询日志存放路径与名称 long ...
分类:
数据库 时间:
2020-12-22 12:33:42
阅读次数:
0
Write a SQL query to get the nth highest salary from the Employee table. + + + | Id | Salary | + + + | 1 | 100 | | 2 | 200 | | 3 | 300 | + + + For exa ...
分类:
其他好文 时间:
2020-12-22 12:23:32
阅读次数:
0
简单介绍,使用keep-alive的时候,返回前一页,没有保持滚动条位置。事实上,就算不使用keep-alive,位置也没有被记录。但是,在不使用keep-alive的时候,页面内容会刷新,所以就随他去了……就是这么任性…… 思路 官方有推荐一个scrollBehavior,链接,但是上面标注,只在 ...
分类:
其他好文 时间:
2020-12-19 12:39:32
阅读次数:
1
Entity: package com.example.ec.domain; import javax.persistence.*; @Entity public class Tour { @Id @GeneratedValue private Integer id; @Column private ...
分类:
编程语言 时间:
2020-12-18 12:13:36
阅读次数:
2