Yii2.0.12 upgrade to PHP7.2
Let's talk about the PHP running environment of the Yii framework.
Yii 2.0.12 uses the \ yii\base\Object class, and the Object as the class name PHP7.2 reports an error.
The minimum available version of Yii2 for PHP7.2 is 2.0.13.
Provides several ways to upgrade.
The project uses Composer to manage bower and npm front-end resources.
Inst ...
Posted by eerikk2 on Sun, 10 Nov 2019 20:37:57 +0100
Using Python to send enterprise wechat messages
preparation:
Register an enterprise on the official website of enterprise wechat; log in to the background of enterprise wechat, create a "self built" application, and obtain the three necessary parameters of enterprise ID, agentid and secret; create multiple test accounts in the address book of enterprise wechat; install the "e ...
Posted by PHP Monkeh on Sun, 10 Nov 2019 17:16:30 +0100
Android framework Volley uses: ImageRequest request to load pictures
First, we import this framework into the project:
implementation 'com.mcxiaoke.volley:library:1.0.19'
Add network permissions to the Android manifest file:
<uses-permission android:name="android.permission.INTERNET"/>
Here is our homepage layout:In this layout, we have made a button for all the functions of the Volley framewor ...
Posted by salmon on Sun, 10 Nov 2019 15:25:29 +0100
Go in API planning directory and parameter validation
SummaryFirst, synchronize the following project overview:In the previous article, we used go modules to initialize the project. In this article, we share:Planning directory structureModel binding and validationCustom validatorMake API return structureDon't talk too much. Let's start.Planning directory structure
├─ go-gin-api
│ ├─ a ...
Posted by Dark_AngeL on Sat, 09 Nov 2019 21:34:01 +0100
Simple implementation principle of Express Middleware
After understanding the use of Express in the previous article, I will summarize the simple implementation principle of Express middleware.
We know that Express middleware is a function by function, so how to make these functions execute orderly? We need to call the next function. In fact, the next function calls the next middleware function.
T ...
Posted by j4IzbInao on Fri, 08 Nov 2019 16:15:58 +0100
Demo android face recognition based on rainbow soft face recognition
Participate in a competition to specify the face recognition function with soft rainbow. However, if you want to build your own face database for soft rainbow face recognition, you can only use it offline, you can't always put on a look. Just look at the soft rainbow Demo, and decide to use this simple method to achieve online face recognition: ...
Posted by Louis11 on Thu, 07 Nov 2019 16:38:07 +0100
vue export Excel format vue JSON Excel file Saver xlsx
vue export Excel format vue JSON Excel file Saver xlsx
Recently, the company is writing a project. It needs to export the json data in vue to Excel format. There are two ways to realize this: searching the data on the Internet
The second method is recommended by individuals. Although the first method is convenient, ...
Posted by ozace on Thu, 07 Nov 2019 16:35:41 +0100
Jackson's Most Common Configurations and Notes
1. Beans
import java.util.Date;
import java.util.LinkedList;
import java.util.List;
public class Result<T> {
private Integer code;
private String message;
private Date time;
private T data;
public Integer getCode() {
return code;
}
public void setCode(Integer code) {
this.code = code;
}
...
Posted by fred2k7 on Thu, 07 Nov 2019 16:29:23 +0100
Android - "i share" APP development Day06
Continue the content of the previous article, write the FindFragment.java file. Based on the three functions in the previous article, you can basically show the hot content. Next, you can mainly deal with the event of find person and find article button
Since we need to find people later, we need to create a bean file to store us ...
Posted by Imagine3 on Wed, 06 Nov 2019 18:11:23 +0100
App Alipay payment
1. Transfer payment process:
Step 1: create an app and get APPID
Open platform to ant golden clothing( open.alipay.com )To create an application in the developer center, an app unique ID (APPID) will be generated and the payment function will be applied for..
Step 2: configure the key
The Alipay public key: Alipay's RSA public key. The ...
Posted by subesc on Mon, 04 Nov 2019 18:53:24 +0100