上一页 1 2 3 4 5 6 7 ··· 15 下一页
摘要: springcloud-gateway自带web依赖,如果引用spring-boot-starter-web会报如下错误: gateway yml配置: spring: cloud: gateway: discovery: locator: enabled: true lower-case-serv 阅读全文
posted @ 2022-01-14 08:50 陈扬天 阅读(1075) 评论(0) 推荐(0) 编辑
摘要: 基于neo4j的数据可视化 Neo4j是一个高性能的,NOSQL图形数据库,它将结构化数据存储在网络上而不是表中。它是一个嵌入式的、基于磁盘的、具备完全的事务特性的Java持久化引擎,但是它将结构化数据存储在网络(从数学角度叫做图)上而不是表中。Neo4j也可以被看作是一个高性能的图引擎,该引擎具有 阅读全文
posted @ 2021-11-30 20:33 陈扬天 阅读(260) 评论(0) 推荐(0) 编辑
摘要: def quick_sort(alist, start, end): if start >= end: # 退出递归 return pivot = alist[start] right = end left = start # 控制right -= 1不满足条件交换 while left < rig 阅读全文
posted @ 2021-11-07 16:54 陈扬天 阅读(52) 评论(0) 推荐(0) 编辑
摘要: #coding=UTF-8 import csv #用于把爬取的数据存储为csv格式,可以excel直接打开的 import time #用于对请求加延时,爬取速度太快容易被反爬 from time import sleep #同上 import random #用于对延时设置随机数,尽量模拟人的行 阅读全文
posted @ 2021-11-04 21:21 陈扬天 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 一、 (1)使用idea生成一个python项目,安装Django框架: pip install django==1.8.2 (2)初始化项目: django-admin startproject xxx //xxx为项目名称 (3)初始化应用: python manage.py startapp 阅读全文
posted @ 2021-10-24 16:43 陈扬天 阅读(2095) 评论(0) 推荐(0) 编辑
摘要: 首先创建项目,在此之前,我们需要全局安装npm 接着执行如下指令: npm install -g vue-cli vue init webpack vueDemo cd vueDemo npm install npm run dev webpack为官方推荐的模板,还可以执行如下代码创建vue项目( 阅读全文
posted @ 2021-10-14 17:28 陈扬天 阅读(1648) 评论(0) 推荐(0) 编辑
摘要: npm install axios http.js import axios from 'axios' // 引入axios // 响应拦截器 // 响应拦截器 axios.interceptors.response.use( response => { console.log(response) 阅读全文
posted @ 2021-10-10 22:02 陈扬天 阅读(61) 评论(0) 推荐(0) 编辑
摘要: server: port: 8081 #端口号 servlet: context-path: / #项目访问路径 spring: thymeleaf: prefix: classpath:/templates/ suffix: .html encoding: UTF-8 mode: LEGACYHT 阅读全文
posted @ 2021-10-10 19:40 陈扬天 阅读(155) 评论(0) 推荐(0) 编辑
摘要: package com.fwz.homework.cfg; import org.springframework.boot.SpringBootConfiguration; import org.springframework.web.servlet.config.annotation.CorsRe 阅读全文
posted @ 2021-10-10 19:39 陈扬天 阅读(552) 评论(0) 推荐(0) 编辑
摘要: 百度的图片上传插件功能强大,但是整合到自己的项目还是有些不能满足需求,只能自己一点点修改。 成品如下: 上传成功后图片回显 图片预览 如果超过自定义上传数量,会有提示 以下是相关demo <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtm 阅读全文
posted @ 2021-10-10 10:48 陈扬天 阅读(240) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 15 下一页