import com.google.common.collect.Lists; import lombok.extern.slf4j.Slf4j; import org.springframework.core.io.Resource; import org.springframework.core ...
分类:
编程语言 时间:
2021-05-24 17:06:24
阅读次数:
0
前提条件是要设置secure_file_priv,该参数是需要重启实例的 mysql> show variables like '%secure%';+ + +| Variable_name | Value |+ + +| require_secure_transport | OFF || secu ...
分类:
数据库 时间:
2021-05-24 17:05:50
阅读次数:
0
import requests from requests import request import json from collections import OrderedDict url = 'https://zabbix-xn.test.bestpay.net/api_jsonrpc.php ...
1、项目文件下src文件夹=>request文件夹=>http.js和api.js http.js // 封装拦截器 // 封装get post // 1.引入模块 import axios from "axios" import qs from "qs" import Vue from "vue" ...
分类:
移动开发 时间:
2021-05-24 17:02:36
阅读次数:
0
#1.Vue 组件库(UI库) 栅格布局、布局、button、form、data展示、反馈组件、其他 element-ui PC端 1.官网: https://element.eleme.cn/#/zh-CN 2.下载 npm i element-ui --save 3.引入 //引入element ...
分类:
Web程序 时间:
2021-05-24 16:55:15
阅读次数:
0
python 实现 kakfa 的 生产消费模式 和 发布订阅模式(已安装好 kafka 的情况下) 生产者 producer_demo.py from kafka import KafkaProducer, KafkaConsumer from kafka.errors import kafka_ ...
分类:
编程语言 时间:
2021-05-24 16:44:34
阅读次数:
0
如果只使用类式组件,满足以下功能很容易: 在组件挂载时,启动定时器,每隔1s加1; 组件将要卸载时,停止定时器 点击按钮卸载组件 具体实现: import React, { Component } from 'react' import ReactDOM from 'react-dom' expor ...
分类:
其他好文 时间:
2021-05-24 16:38:38
阅读次数:
0
数组去重不仅在工作中经常使用,也会在面试中经常问到,现在有几种常用的方法: 比如要将数组去重: const arr = [1, 2, 3, "1", 2, undefined, undefined, "undefined", NaN, NaN]; 方法一: 直接通过indexOf 或者 includ ...
分类:
编程语言 时间:
2021-05-24 16:35:21
阅读次数:
0
批量删除 sleep 进程状态的连接数解决方法。 直接在MySQL命令控制台操作: mysql> show processlist; mysql> SELECT concat('KILL ',id,';') FROM information_schema.processlist WHERE user ...
分类:
数据库 时间:
2021-05-24 16:34:09
阅读次数:
0
python k-means F:\PythonProject\K-Means import pandas as pd import numpy as np from sklearn.preprocessing import StandardScaler from sklearn.model_sel ...
分类:
编程语言 时间:
2021-05-24 16:18:04
阅读次数:
0