Giter Club home page Giter Club logo

sometips's Introduction

someTips

记录一些开发中可以去使用的小东西 主要针对java吧。

因为有时候发现,有一些编程中想要用到的东西,可能因为不是很好如何根据要求去找,
或者因为自己接触面和知识点的局限,不知道那些东西,所以可以在遇到了以后简单记录一下。
毕竟`闻道有先后`,编程语言也是一门语言,重在积累。

BindingResult

BindingResult可以用来在controller层校验传入的逐个参数值,结合@Valid和@NotBlank(message = "密码不能为空!")做非空判断等。 可以用这个小教程直接使用。

获取服务器接口调用耗时

curl -o /dev/null -s -w '%{time_connect}:%{time_starttransfer}:%{time_total}\n' -d 'mobile=13683100592&idNum=130528199201016425&cardNo=6228480018466574573&name=耿娜&appId=HT7wZQPy&appKey=testfGCifw' 'https://api.253.com/open/bankcard/card-auth'

结果:0.945:2.884:2.884

sometips's People

Contributors

oceanbbbbbb avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.