android APP version detection and upgrade

1. This time, the server uses HTTP Servlet to return json data First, build a Java Web project and create a Servlet class. The code is implemented in doGet /** * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse * response) */ protected void doGet(HttpServletRequest request, HttpServletResponse response) ...

Posted by chiefrokka on Fri, 17 Apr 2020 09:01:40 -0700

Detailed tutorial of spring MVC framework

Although this section is simple, it's very tedious. You can first understand the use of @ RequestMapping. It doesn't matter if you don't understand it very well. First, continue to learn. When you look back again, you will find that @ RequestMapping is so simple! @RequestMapping @RequestMapping can be used on controller classes or controller me ...

Posted by vbnullchar on Fri, 17 Apr 2020 08:51:37 -0700

JS-SDK + PHP developed by WeChat to realize recording, uploading and speech recognition

First look at the effect picture: first record, after the recording is successful, add the recording to the list, click the list to play; after the recording is completed, upload the recording, and then voice recognition.   Official wechat documents https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/JS-SDK.html Implementation process ...

Posted by tolputt-craig on Fri, 17 Apr 2020 08:34:00 -0700

Elegant implementation of Go json time format

At the beginning, the requirement is very simple. You only need to deserialize the time string in json according to the specified format https://www.jianshu.com/p/c02af04165e2 , the code is as follows: package main import ( "encoding/json" "fmt" "time" ) // set time format const ( timeFormat = "2006-01-02 15:04:05" ) // Custo ...

Posted by colossus_09 on Fri, 17 Apr 2020 07:38:58 -0700

golang Gin framework with websocket

Summary golang websocket Library Example back-end Front end conclusion Summary For the web development of golang, I have written two blog s before, which respectively introduced: Under the Gin framework, various http API development methods (including file upload, download, etc.) golang Web solution Use of reverse proxy in the Gin fram ...

Posted by EchoFool on Thu, 16 Apr 2020 09:05:42 -0700

java docking seven cattle background content audit (yellow, sensitive, violent fear)

Introduction to the content audit of qiniu Find intelligent multimedia in the console of qiniu Next, find the intelligent content audit, and you can see some audit data, mainly including: Yellow River identification, violent terrorism, sensitive people In addition, see the API interface description: The view address is: https://developer.qini ...

Posted by tolli on Thu, 16 Apr 2020 02:10:23 -0700

Python practice: one click export of wechat books and notes

The era of reading for all has come. At present, there are 210 million users who use reading software and more than 5 million daily active users. Among them, more than 60% are 19-35-year-old young users, 80% are undergraduates or above, and more than 80% are beishangguangshen and other provincial capitals / municipalities directly under the cen ...

Posted by AcidRain on Thu, 16 Apr 2020 01:21:39 -0700

Pthon Implementation of Express Bird API Interface for Zhongtong Express Single Query

In the last article, we introduced a logistics service provider. We recommend you to use Express Bird Interface. It mainly describes how to register an account, get a key, and find a registered address. I'll send it: http://kdniao.com/reg Today, let's talk about how to use python to do real-time queries using the interface provided by courier ...

Posted by alant on Wed, 15 Apr 2020 18:02:13 -0700

Pull-up loading of native ajax writes

The idea of pull-up loading Pull up loading is to trigger ajax event request data when the screen is pulled to the bottom 2. All the codes below the height of the document and the height of the scroll to get the height of the screen are compatible and can be used directly Javascript: alert(document.body.clientWidth); //Page visible area ...

Posted by scbookz on Wed, 15 Apr 2020 13:16:56 -0700

Life cycle function in React

Life cycle function refers to the function that the component will automatically execute at a certain time constructor can be regarded as a common life cycle function of a class, but it is not a unique life cycle function of react render() is a function that automatically executes when the data changes, so it belongs to the life cycle function ...

Posted by wmvdwerf on Tue, 14 Apr 2020 10:16:16 -0700