1.写个配置类CorsConfig (如果不行,可以不写此类,和springcloud的版本有关) package net.youqu.micro.service.config; import org.springframework.context.annotation.Bean; import o ...
分类:
其他好文 时间:
2021-06-05 18:32:57
阅读次数:
0
访问同一个 URI 时,服务器可以返回不同类型的资源。比如在浏览器中访问 http://www.example.com/user 可以是个网页,也可以是个 JSON 接口,甚至可以是张图片等。 具体返回哪种类型,就需要引入内容协商的机制,以达到返回正确资源类型的目的。 内容协商分为服务器主导(ser ...
分类:
Web程序 时间:
2021-06-05 18:29:14
阅读次数:
0
# -*- coding: utf-8 -*- import urllib import urllib2 import re import json import xlwt import time workbook = xlwt.Workbook(encoding='utf-8') #新建一个Exc ...
分类:
其他好文 时间:
2021-06-05 18:28:32
阅读次数:
0
#coding:utf-8 #Author:LSA #Description:hishop sqli for /user/UserRefundApply?OrderId= #Date:20190701 import sys import requests from bs4 import Beauti ...
分类:
数据库 时间:
2021-06-05 18:27:44
阅读次数:
0
1:查看防火状态 systemctl status firewalld service iptables status 2:暂时关闭防火墙 systemctl stop firewalld service iptables stop 3:永久关闭防火墙 systemctl disable firew ...
分类:
系统相关 时间:
2021-06-05 17:51:23
阅读次数:
0
1 package com.future; 2 3 import java.util.concurrent.*; 4 5 6 public class FDemo { 7 public static final ExecutorService service = Executors.newSingl ...
分类:
其他好文 时间:
2021-06-04 19:55:49
阅读次数:
0
安装axios npm install axios 封装 import axios from 'axios' // 创建axios实例 const service = axios.create({ baseURL: 'http://localhost:9001', // api的base_url t ...
分类:
移动开发 时间:
2021-06-04 19:39:19
阅读次数:
0
云服务器ECS 云服务器ECS(Elastic Compute Service)是阿里云提供的性能卓越、稳定可靠、弹性扩展的IaaS(Infrastructure as a Service)级别云计算服务。云服务器ECS免去了您采购IT硬件的前期准备,让您像使用水、电、天然气等公共资源一样便捷、高效 ...
分类:
其他好文 时间:
2021-06-04 19:32:13
阅读次数:
0
1.打开idea2.点击右边侧边栏DataBase,点击加号,进行添加Data Soure 如果找不到,可以试试从导航栏找 View-Tool Windows-DataBase3.配置连接及测试下载jar包 点击右上角的加号箭头,点击第一个,可以查看自己下载的路径 测试成功之后才能进行连接 最近单位 ...
分类:
数据库 时间:
2021-06-04 19:17:46
阅读次数:
0
Barefoot Networks P4 Studio Build Tool P4 Studio Build is a tool that helps a user to install dependencies, build and install all the required compone ...
分类:
其他好文 时间:
2021-06-04 19:14:12
阅读次数:
0