When fastjs converts the serialized object, the one whose property is null is converted to '' (empty string)

Understanding of rules: SerializerFeature.WriteMapNullValue output field with null value, default is falseThat is to say, when there is null, it will output instead of ignore (the default policy is ignore, so no null field can be seen) WriteNullStringAsEmpty - if the character type field is null, the output is "", no ...

Added by spamyboy on Thu, 02 Apr 2020 04:31:21 +0300

Using AsyncHttp to access the network, get data, explain and examples

What is AsyncHttp It is a plug-in on github, which is used to obtain network data. Its function is similar to that of HttpUrlConnection This article is to translate and supplement the information in github documents. github document link Make a Static Http Client: create a static method (which can realize c ...

Added by Pha on Thu, 02 Apr 2020 01:51:21 +0300

Deployment steps of FISCO-BCOS blockchain open source platform (2)

Chapter II deployment of Genesis node 2.1 initialize node environment The path used in this article is / mydata/nodedata-1/ #Create directory mkdir -p /mydata/nodedata-1/data/ #Store various files of the node mkdir -p /mydata/nodedata-1/log/ #Storage log mkdir -p /mydata/nodedata-1/keystore/ #Deposit account key #Copy node configuration cd / ...

Added by fris on Wed, 01 Apr 2020 23:35:32 +0300

[front end statistical chart] echarts to realize single line chart

Five minutes to start: Picture.png <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Line chart in five minutes</title> <!-- Introduce echarts.js --> <script src="js/echarts.min.js"></script> <script src=" ...

Added by nomadrw on Wed, 01 Apr 2020 18:58:56 +0300

Various writing methods of wx.request()

post request, parameter is key value pair format wx.request({ url: 'http://192.168.1.103/yiji/skillList.php', method: 'POST', data:'pageSize=1&pageNum=10', //Parameter is key value pair string header: { //Set the parameter content type to x-www-form-urlencoded 'conten ...

Added by whisher06 on Wed, 01 Apr 2020 13:21:28 +0300

Node.js tries to solve the reasoning questions of the Criminal Investigation Department of Jiangsu internet police

  A month ago, Jiangsu network police A set of "2018 criminal investigation subject reasoning test questions" was released on Weibo, which is hard to defeat many heroes, and the comment area is full of leather voice. @Bidirectional foil icon Before the college entrance examination, the head teacher taught us all the questions th ...

Added by covert215 on Wed, 01 Apr 2020 10:46:44 +0300

Vue obtains router dynamically from server

Preparatory work Provide interface Rewrite route Provide interface laravel provides the interface. It's in minutes, isn't it api.php Route::group(['prefix'=>'admin','middleware'=>'format'], function (){ Route::get('routes','Manager\RouterController@getRouter'); }); Then write a getRouter method like RouterController pu ...

Added by Ayon on Tue, 31 Mar 2020 19:29:41 +0300

Eight queens question display code

1. introduction Eight empresses estimate everybody knows what problem is, did not elaborate (do not know Baidu) The display version mainly depends on vue, so the display and internal logic are separated when writing code, so it's no more difficult than the non display version. The only advantage is that you can try it first, which is more intui ...

Added by mmponline on Tue, 31 Mar 2020 15:41:01 +0300

Asp.net common submission methods

There are no more than two types of submission: Express submission and ajax submission 1: Form submission      html <form action="TestWebspx.aspx"  method="post">           <input  type="text" name="username"/>           <input  type="submit" value="submit"/>       </form>   Get the submitted dat ...

Added by mjdamato on Tue, 31 Mar 2020 13:02:17 +0300

Are you hungry? Learning (1) basic introduction

Hungry? Study (1) Project preparation Project construction Install vue scaffold npm install -g vue-cli Project initialization Vue init webpack < project name > Others omitted: webpack configuration needs to be recorded separately for learning stylus Learn to use stylus in this project Install stylus and in ...

Added by homerjsimpson on Mon, 30 Mar 2020 22:14:09 +0300