打开 http://localhost:5000/swagger/v1/swagger.json 提示错误 An unhandled exception occurred while processing the request. NotSupportedException: HTTP method ...
替换数据:update 表名 set 列=replace(列,'要替换的数据','替换成的数据'),例子:update kers set KeyConn=replace(KeyConn,'-','/') 更新为第一个字符之前的数据:update ker set kname =m.qq FROM ke ...
分类:
数据库 时间:
2020-05-23 18:09:13
阅读次数:
65
1、安装 sudo apt-add-repository ppa:mosquitto-dev/mosquitto-ppa #添加源到软件仓库 sudo apt-get update #更新软件仓库列表 sudo apt-get install mosquitto #安装mosquitto 2、试运行 ...
分类:
其他好文 时间:
2020-05-23 16:28:09
阅读次数:
66
使用 yum yum update yum 方式安装mysql 一、检查系统是否安装老版本,有的话干掉 #yum list installed | grep mysqlmysql-libs.x86_64 5.1.73-5.el6_6 @anaconda-CentOS-201508042137.x86 ...
分类:
其他好文 时间:
2020-05-23 15:04:52
阅读次数:
54
更换国内源: 1、web界面——>插件管理——>高级 替换:https://mirrors.tuna.tsinghua.edu.cn/jenkins/updates/update-center.json 2、进入jenkins工作目录,/root/.jenkins/updates/default.j ...
分类:
其他好文 时间:
2020-05-23 13:23:12
阅读次数:
65
[toc] 一、Swagger2介绍 前后端分离开发模式中,api文档是最好的沟通方式。 Swagger 是一个规范和完整的框架,用于生成、描述、调用和可视化 RESTful 风格的 Web 服务。 1. 及时性 ( 接口变更后,能够及时准确地通知相关前后端开发人员 ) 2. 规范性 ( 并且保证接 ...
分类:
其他好文 时间:
2020-05-22 21:04:24
阅读次数:
55
1. 安装前检查 1 #ContOS 7安装Docker系统为64位,内核版本为3.10+ 2 lsb_release -a 3 4 uname -r 5 6 #更新yum源 7 yum -y update 8 9 #查看是否已经安装Docker 10 yum list installed | gr ...
分类:
数据库 时间:
2020-05-22 18:54:34
阅读次数:
65
UPDATE Table_A SET Table_A.col1 = Table_B.col1, Table_A.col2 = Table_B.col2 FROM Some_Table AS Table_A INNER JOIN Other_Table AS Table_B ON Table_A.id ...
分类:
数据库 时间:
2020-05-22 16:46:30
阅读次数:
57
在GO中处理的话,比较方便。 而在python中的话,也就是短短几句代码 ...
分类:
编程语言 时间:
2020-05-22 12:35:31
阅读次数:
48
...占位 説明 Redhat系 Debian系 更新缓存 yum makecache apt-get update 更新包 yum update apt-get upgrade 检索包 yum search apt-cache search 检索包内文件 yum provides apt-file ...
分类:
其他好文 时间:
2020-05-22 10:05:56
阅读次数:
66