SpringBoot 2.0 image upload plus echo
These two days, the company needs to make a business registration background function, which requires businesses to upload a number of pictures and echo. Since I haven't done anything in this area before, this article is used to record some knowledge points for subsequent review.
upload
Controller's code is very simple, because it uses the Spri ...
Posted by Peter on Fri, 19 Jul 2019 11:48:24 +0200
DjangoRestFramework series: Serialization: Formatting python objects into json
Tutorial 1: Serialization
introduction
This tutorial will show you how to create simple Web API (restful) code with good cohesion. In the process, it will introduce the various components that make up the REST framework and give you a comprehensive understanding of how everything comes together.
E ...
Posted by hezll on Fri, 19 Jul 2019 11:34:32 +0200
Establishment of parity node in ETF alliance chain
https://www.cnblogs.com/sumingk/articles/9097996.html
The last article introduced the construction of get node of private chain in Yitaifang. This article introduced the construction of enterprise application alliance chain, using parity wallet as service node to realize multi-node construction of alliance chain.
I. parity consensus POA
St ...
Posted by zoffi on Fri, 19 Jul 2019 07:50:13 +0200
SpringBoot Unified Response Body Solution
Preface
Recently, before optimizing itself, the implementation scheme of unified responder based on Spring AOP is proposed.
What is a unified responder? In the current front-end and back-end separation architecture, the back-end is mainly a RESTful API data interface.
However, the number of HTTP status codes is limited, and with the growth of b ...
Posted by EternalSorrow on Thu, 18 Jul 2019 04:26:01 +0200
ES6 Top 10 Common Features
Below is a list of the top ten ES6 features (ranked first and last):
Default Parameters (default parameter) in ES6
Template Literals (Template Text) in ES6
Multi-line Strings (multi-line string) in ES6
Destructuring Assignment in ES6
Enhanced Object Literals (Enhanced Object Text) in ES6
Arrow Functions in ES6
Promises in ES6
Block-Scoped Co ...
Posted by parka on Wed, 17 Jul 2019 19:06:09 +0200
How does Paypal achieve circular deductions (subscriptions)?
cause
Business needs to integrate Paypal to achieve circular deduction function, but Baidu and GOOGLE have a circle, except for the official website, did not find the relevant development tutorials, had to look at Paypal, spent two days after the integration success, here on how to use Paypal payment interface to make a summary.
Paypal now has ...
Posted by matt_wood87 on Tue, 16 Jul 2019 20:06:31 +0200
[Challenge Tiny Framework] Super front-end and back-end multi-terminal adaptive template, rapid and agile development!
I can't see it any more. Today I'm going to kill the Tiny Framework, which is called the front-end framework of componentization.
Write 3 days of code, want to tell Tiny what is modularization, if you say success, I will open source the core code of this framework! Another contribution to Tiny's use of page template is the latest v1.5, pure st ...
Posted by mikawhat on Mon, 15 Jul 2019 23:49:43 +0200
Relevant Problems and Solutions of tabbar Page Display in the Development of Wechat Widget Program
If there are any students who have used tabbar in the development process of Wechat applet, I believe they will encounter some problems. Why do you sometimes add tabbar to app.json in your code so that it doesn't appear on the page? Can some pages display tabbar, while some pages do not display tabbar? Today, I've sorted out the problems I en ...
Posted by barneybarney68 on Sun, 14 Jul 2019 22:59:49 +0200
In-depth study and understanding of json
The full name of json(javascript object notation) is JavaScript object representation. It is a text format for data exchange, not a programming language, for reading structured data.
Rule of grammar
JSONl can represent three types of values.
1: Simple values,
Simple values use the same syntax as javascript and can represent strings, values ...
Posted by julien on Sat, 13 Jul 2019 21:12:47 +0200
Python Learning Requests Library
The Requests Library in python is an encapsulated python utility that requests http and returns the corresponding results
Initial Requests Library
Official Documents http://cn.python-requests.org/zh_CN/latest/
Code Address https://github.com/kennethreitz/requests
Requests Environment Preparation
Install pip https://pypi.python.org/pypi ...
Posted by BIOSTALL on Sat, 13 Jul 2019 20:12:38 +0200