Wechat code scanning payment (detailed code)

Wechat code scanning payment Recently, when the project was rebuilt, she was responsible for the payment module. WeChat scan code payment (NATIVE) and Alipay scan code payment were also the first contact. Although it was written out according to official documents and some blogs, there were many proble ...

Posted on Mon, 15 Jun 2020 04:48:05 -0400 by ams007

hadoop high availability installation (HA)

High availability hadoop installation HA Write at the beginning Installation procedure 1. Distribute JDK 1.1 install jdk 2. Synchronization time 3. Configuration file check before installation 4. Secret key free settings of NN and other three machines 5. No secret key between two NN 6. Modify some c ...

Posted on Mon, 15 Jun 2020 03:30:10 -0400 by ludachris

Spring source code analysis 10: automatic configuration of Mybatis in spring boot

Article catalog 1, Foreword 2, MybatisAutoConfiguration 1. Declaration of mybatisautoconfiguration. 2. SqlSessionFactory injection 3. Injection of autoconfiguredmapperscannerregistrar 4. Encapsulation of mypper MapperFactoryBean 3, MapperScannerConfigurer 1. processPropertyPlaceHolders(); 2. Gener ...

Posted on Sun, 14 Jun 2020 05:41:37 -0400 by labourstart

Android architecture component -- ViewBinding learning notes

Android architecture components – ViewBinding learning notes 1. Problems solved The purpose of ViewBinding is to reduce the use of template code findViewById(int), improve development efficiency, and simplify the code of Activity and Fragment. 2. Using ViewBinding The use of ViewBinding req ...

Posted on Sun, 14 Jun 2020 04:40:48 -0400 by Wes1890

Spring boot core log

1. Log framework Xiao Zhang; develop a large system; ​ 1, System.out.println(""); print key data on the console; remove the "key data" button? Write in a file? 2. Framework to record some runtime information of the system; log framework; zhanglogging.jar ; 3. How many functions ar ...

Posted on Sun, 14 Jun 2020 00:41:48 -0400 by jobs

Stage 5: microservice system development: Spring Cloud getting started operation manual (day01)

Stage 5: distributed system development: microservice system development (day01) http://doc.canglaoshi.org/ Article catalog Chapter 1: Spring Cloud development environment Chapter 2: introduction to spring cloud framework Section 1: introduction to the concept of spring cloud Section 2: composition ...

Posted on Sat, 13 Jun 2020 06:18:57 -0400 by mlewis

Spring Data Elasticsearch4.0.1 Chinese translation document (sections 8-11)

8. Elasticsearch Repositories This chapter includes details of the implementation of the elastic search repository 8.1.1. Query methods The elastic search module supports all basic query building features, such as string queries, native search queries, condition based queries, or derived queries from ...

Posted on Sat, 13 Jun 2020 04:11:07 -0400 by Fabrizzio PHP

MyBatis first day of study

Introduction The mybatis framework is a Java-based persistent layer framework that supports custom frameworks. This article is mainly to understand the mybatis framework, to give a simple introduction to the mybatis framework, to understand how the mybatis framework achieves the operation of the Java ...

Posted on Fri, 12 Jun 2020 21:34:54 -0400 by beinerts

[SpringCloud] 12 Hystrix Fuse

1. What is Hystrix and why do I need him? 1. In the micro-service architecture, services are split into individual services based on business, and there is a dependency between services (e.g. user adjusts commodities, Adjust inventory, order, etc.), using RestTemplate+Ribbon and Feign between multiple ...

Posted on Thu, 11 Jun 2020 21:46:36 -0400 by shainh

Chapter 5 advanced CustomView animation

It is difficult to achieve some complex animation effects only by changing the control properties, such as the Nexus boot animation. This will show how to use PathMeasure and SVG animation to achieve complex animation effects. initialization: PathMeasure is similar to a calculator. It can calculate ...

Posted on Thu, 11 Jun 2020 03:34:19 -0400 by steve m