Application scenario: in the current version, the user's order with balance payment will not be displayed in the personal recharge record. The individual wants the user to know the balance consumption record clearly, so the following improvements are made:
1. Add variable:Find pay_cause_type_arr increase in application/extra/global.php
Posted by lpxxfaintxx on Sun, 26 Apr 2020 09:22:17 -0700
Laravel has its own SwiftMailer library, which integrates a variety of email API s and can easily send emails.
We use the SMTP (Simple Message Transfer Protocol) simple mail transfer protocol, which is generally understood as the mail sending server.
1. Open POP3 and SMTP services
1.1. Here we take QQ email as a case
Settings - > account - & ...
Posted by Dimitri89 on Fri, 24 Apr 2020 19:47:03 -0700
The Laravel team yesterday released v7.7.0, which includes container supported constructors supporting variable parameters, some new HTTP client functions, Blueprint's new rawIndex() method and all the latest functions in the 7.x branch. Repair and change:
HTTP client GET request support array
Daniel Mason contributed to the HTTP client's suppo ...
Posted by busyguy78 on Thu, 23 Apr 2020 00:00:00 -0700
1, Installation and release according to official instructions
2, New customized Models and controllers
1. Create a new database table (it is recommended to directly create a table in the database. If you want to try, you can also create a table in migrations. Please refer to the PHP artican command for details)
2. Create models through PHP ...
Posted by ludwig on Wed, 22 Apr 2020 09:25:14 -0700
One sentence summary:
1. The data migration of lavarel is relatively simple, which is to create data tables with php
2. Create migration file: PHP artican make: migration create? HD? Table -- create = HD
3. Create the migration file as a table: PHP artican migrate
1. Install barryvdh / laravel ide helper to add code prom ...
Posted by GrayFox12 on Wed, 22 Apr 2020 05:00:51 -0700
By:Mirror Wang Yuyang
For the use of verifier, it must be defined; the system provides a command to directly produce a verifier class:
php think make:validate User
Generate a validate folder under the automatic re application directory and generate the User.php class
use think\Validate ...
Posted by e_00_3 on Tue, 21 Apr 2020 01:47:52 -0700
This article introduces four common ways of running php: CGI, FastCGI, Apache 2 handler and CLI. There is a certain reference value, friends in need can refer to it, hope to help you.
There are four common running modes of PHP: CGI, FastCGI, Apache 2 handler and CLI.
CGI is the common gateway interface, which is a program. Generally speak ...
Posted by ElectricRain on Mon, 20 Apr 2020 23:57:19 -0700
1. Integrated Alipay Payment
Alipay Integrates Official Tutorials https://docs.open.alipay.com/204/105295/
Alipay Integration Official demo https://docs.open.alipay.com/54/104509/
1. Import SDK and add dependent Libraries
Launch an IDE (such as Xcode) to iOS Package The following files from the compressed file in are copied to the project f ...
Posted by DaZZleD on Mon, 20 Apr 2020 12:55:46 -0700
Note: there are many articles about redis seckill system on the Internet. They are all confused. Then they can realize one by themselves, which is also convenient for later study
The implementation method is to use the list queue of redis, and the framework is laravel
The core part is the pop operation of list. As atomicity, even if many user ...
Posted by cuboidgraphix on Mon, 20 Apr 2020 10:27:27 -0700
by:Mirror Wang Yuyang
The main purpose of Thinkphp routing is to make URL address more beautiful, concise and elegant ; setting the route provides great convenience for URL detection, verification and other operations; the route function is set in the config/app.php file opened by default:
'with_route' => true;
Route co ...
Posted by dsjoes on Mon, 20 Apr 2020 05:06:21 -0700