Whole Step of Wechat Silent Authorization
First, organize the steps of obtaining authorization.
First, configure the Wechat server.
//Omit import
@RequestMapping("/wechat")
@Controller
public class MobileWechatController {
private static String token = "wechat";
@RequestMappi ...
Posted by theBond on Thu, 29 Aug 2019 23:27:49 -0700
Mysql uses SSL connections
Recently, SSL connection has been used in the project. Record that the environment is Windows 10 and Mysql version is 5.6.
See if SSL is supported
First, execute the following command on MySQL to query whether MySQL supports SSL:
mysql> SHOW VARIABLES LIKE 'have_ssl';
+---------------+-------+
| Variable_name | Value |
+---------------+----- ...
Posted by ghornet on Mon, 26 Aug 2019 06:41:38 -0700
mysql Communication Protocol -- Create Connections
The content of this article is collated and validated according to the content of mysql official documents (all pictures are taken from the official website)
The main contents of mysql communication co-connection stage include:
Exchange information between client and server
If the client has set up SSL, set up the SSL communication channel
...
Posted by Frozen Kiwi on Tue, 20 Aug 2019 23:14:57 -0700
Noejs-md5 salt-to-decryption comparison
Noejs-crypto Encryption Tool
crypto module provides encryption functions, including a package of hashing, MD5, HMAC, encryption, decryption, signature, and verification functions of OpenSSL.
MD5 commonly used in crypto
MD5 is an irreversible encryption algorithm. At present, it is one of the most reliable encryption algorithms. There is no prog ...
Posted by kh411dz on Wed, 24 Jul 2019 03:32:43 -0700
python learning notes multithreading, thread lock, daemon thread, multiprocess, thread pool, jsonpath module, faker module
1. Multithreading
'''
Process:
For the operating system, a task is a Process, such as opening a browser is to start a browser Process.
Opening a notepad starts a notepad process, opening two notepads starts two Notepad processes, and opening a Word starts the process.
A Word process. A process is a collection ...
Posted by pepperface on Tue, 23 Jul 2019 21:16:33 -0700
Noejs Wechat Public Number Development (2) Automatic Response
In the last article: Development of Noejs Wechat Public Number (1) Access to Wechat Public Number On this basis, this article will implement a simple reply function.
1. Optimizing Access Code
Before, we simply and roughly realized the access of Wechat Public Number. The access code was written directly in app.js file. From the point of view of ...
Posted by djp120 on Thu, 11 Jul 2019 15:36:14 -0700
Implementation of JS-SDK Backend Interface for Microsoft Based on Node.js
I made a website, put it online, open it with WeChat and click Share, but after sharing, the link card to a friend comes with WeChat by default, as follows:
This title, description and picture comes with it by default. Ugly, sharing with others thought it was a stolen website. When you join WeChat's JSSDK, sharing can be customized as follows:
...
Posted by MikeL7 on Thu, 13 Jun 2019 09:43:22 -0700
java Wechat Public Number Development, Authentication, Custom Menu, Message Push, Web Page Jump
Because of the authentication problem, first use the test account, click on the developer tool, and enter the public platform test account.
Domain name validation:
1. Server validation, modifying interface configuration information:
Note that in the interface configuration information, url verifies the absolute path of token's legitimate ad ...
Posted by hwttdz on Sun, 26 May 2019 13:01:19 -0700
centos7 Offline RMP Installation mysql-Pro Testing Effective
download
Download address of CentOS 7: https://dev.mysql.com/downloads/mysql/5.7.html#downloads
Don't choose the wrong version
I downloaded this: mysql-5.7.25-1.el7.x86_64.rpm-bundle.tar
===============================================================================================
The following installation process is ...
Posted by chaser7016 on Wed, 15 May 2019 12:09:58 -0700
Express full series of tutorials: cookie encryption
I. On cookie encryption
Cookie encryption is the value cookie plaintext information which is not available to client users, and it is an important part of data security. Generally, we can encrypt cookie information when we save cookies, or set the sign attribute of option object to true in res.cookie.
2. Encryption of cookie s by ...
Posted by mbhcool on Mon, 22 Apr 2019 18:21:34 -0700