上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 36 下一页
摘要: 引入相关pom依赖 <!-- https://mvnrepository.com/artifact/com.google.zxing/core 生成二维码 --> <dependency> <groupId>com.google.zxing</groupId> <artifactId>core</a 阅读全文
posted @ 2019-09-02 09:50 雷神约 阅读(553) 评论(0) 推荐(0)
摘要: # Spring boot applicationspring: application: name: hello-dubbo-service-user-provider# UserService service versionuser: service: version: 1.0.0# Dubbo 阅读全文
posted @ 2019-08-26 08:53 雷神约 阅读(988) 评论(0) 推荐(0)
摘要: 连接操作相关的命令 ping:测试连接是否存活如果正常会返回 pong echo:打印 select:切换到指定的数据库,数据库索引号 index 用数字值指定,以 0 作为起始索引值 quit:关闭连接(connection) auth:简单密码认证 #服务端相关命令 time:返回当前服务器时间 阅读全文
posted @ 2019-08-23 17:06 雷神约 阅读(439) 评论(1) 推荐(0)
摘要: import time, datetime, re, subprocess, sys, os, win32net, win32api, win32con, win32netcon, win32security, pymysql, time, \ wmi, requests, ctypes, json 阅读全文
posted @ 2019-08-23 13:51 雷神约 阅读(1942) 评论(0) 推荐(1)
摘要: @JsonFormat与@DateTimeFormat注解的使用 背景:从数据库获取时间传到前端进行展示的时候,我们有时候可能无法得到一个满意的时间格式的时间日期,在数据库中显示的是正确的时间格式,获取出来却变成了很丑的时间戳,@JsonFormat注解很好的解决了这个问题,我们通过使用@JsonF 阅读全文
posted @ 2019-08-22 13:35 雷神约 阅读(276) 评论(0) 推荐(0)
摘要: 方法一、 在Controller里面写入相应的方法 加入 @InitBinder protected void initBinder(WebDataBinder binder) { //binder.setFieldDefaultPrefix(""); //设置默认前缀 //binder.setDi 阅读全文
posted @ 2019-08-22 11:34 雷神约 阅读(692) 评论(0) 推荐(0)
摘要: 修复版本 阅读全文
posted @ 2019-08-21 09:58 雷神约 阅读(893) 评论(0) 推荐(0)
摘要: fastjson将json字符串转化成map的五种方法 复制代码 1 package com.zkn.newlearn.json; 2 3 import com.alibaba.fastjson.JSON; 4 import com.alibaba.fastjson.JSONObject; 5 im 阅读全文
posted @ 2019-08-08 12:30 雷神约 阅读(884) 评论(0) 推荐(0)
摘要: springboot使用restTemplate post提交值 restTemplate post值 post提交有 FormData和Payload 两种形式: 第一种是formdata形式,在header参数里可以直接看到 payload则封装成json格式post过去,获取以后需要再解析成实 阅读全文
posted @ 2019-08-08 10:42 雷神约 阅读(48715) 评论(0) 推荐(0)
摘要: 原文:https://www.jianshu.com/p/496fd1cbee8d npm install qrcodejs2 save 页面中引入 import QRCode from "qrcodejs2" export default { data(){ link: 'https://baid 阅读全文
posted @ 2019-08-07 14:51 雷神约 阅读(2696) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 36 下一页