Java docking WeChat public number template message push
There are a lot of content, please be patient!
Recently, the company had this business demand, and I happened to complete it:
First, you want to connect, first you need a public number, and then you develop the document. https://developers.weixin.qq.com/doc/offiaccount/Getting_Started/Overview.html
But please pay attention to this
ok, let's c ...
Posted by Yola on Thu, 23 Jan 2020 03:00:42 -0800
File: A Task + Exercise Review
##A task
_Task: Split the data in the file (record.txt) and save it according to the following rules:
Keep the conversation as a separate boy_.txt file (remove "Little Turtle:")
Keep the conversation as a separate file for girl_.txt (remove "Little Customer Service:")
() - There are ...
Posted by ThYGrEaTCoDeR201 on Wed, 22 Jan 2020 19:09:20 -0800
Python common built-in functions
Built in function table
abs()
all()
any()
ascii()
bin()
bool()
bytes()
callable()
compile()
complex()
chr()
delattr()
dir()
divmod()
enumerate()
eval()
exec()
exit()
filter()
float()
frozenset()
getattr()
globals()
hasattr()
hash()
help()
hex()
id()
input()
int()
isinstance()
iter()
le ...
Posted by 448191 on Tue, 21 Jan 2020 09:19:14 -0800
Implementation of Ctrip ticket query in Python
I used to refer to other people's code and made a 12306 command-line train ticket query tool in Python. It's very interesting! So I made a similar - Ctrip ticket finder.
The effect of Ctrip's official website query is as follows:
The effect of Python command line interface query is as follows:
Enter the departure, destination and boarding dat ...
Posted by usefulphp on Tue, 21 Jan 2020 09:11:10 -0800
Back end data interaction before learning HAP framework
Functional requirements, click the administrative region, and the pop-up box will show the administrative region of the city (Note: the following data is only for demonstration, and does not represent its authenticity)
1, Screenshot description function requirements:
2. Implementation steps:
1. Get page parameters
Get the ...
Posted by shaundunne on Tue, 21 Jan 2020 08:49:53 -0800
ThreadLocal and strong weak virtual reference in multithreaded learning note 5
ThreadLocal
There is a Map in ThreadLocal, which maintains a copy for each thread to ensure that the data in each thread is isolated. Let's look at a small program
public class ThreadLocalDemo {
static Person p = new Person();
public static void main(String[] args) {
new Thread(() -& ...
Posted by Helaman on Tue, 21 Jan 2020 03:26:22 -0800
SpringBoot integrates MyBatis to configure multiple data sources to operate MySQL database
Taking several MySQL databases as an example, this paper adopts spring boot framework to integrate MyBatis to configure multiple data sources for database operation. In the actual project, in order to reduce the pressure on the database during the peak flow period, we can cache some database inert data ...
Posted by blues on Tue, 21 Jan 2020 03:03:57 -0800
Calling annotated methods through reflection
When I was learning Spring Aop, I learned that the underlying implementation of spring is basically annotation plus reflection.It's like writing your own very small test code and trying it out.But there are some minor episodes in the process.
I want to invoke the @Tag marked part of the method he ...
Posted by Brentley_11 on Mon, 20 Jan 2020 19:14:24 -0800
The construction of springboot workflow activiti
concept
Workflow products use activiti a lot. They come with a set of UI, which can be used directly to design processes. Here is a brief summary of its steps:
1 design model
2 publish as process. A model can publish multiple versions of process
3. Establish a process instance and instance task. A process can establish multiple parallel ins ...
Posted by k3Bobos on Mon, 20 Jan 2020 06:51:07 -0800
Source code decryption of spring MVC startup process
As we know, spring MVC is finally deployed through Tomcat. When the application is deployed in the Servlet, the main steps are (reference from http://download.oracle.com/otn-pub/jcp/Servlet-3.0-fr-eval-oth-jspec/Servlet-3_-final-spec.pdf):
When a web application is deployed into a container, the follow ...
Posted by imurkid on Mon, 20 Jan 2020 05:11:51 -0800