use GuzzleHttp to send a post request, and the returned data is 404 , resulting in a link status of 404 ; . then laravel will report back in the form of an error. How to make him not report an error? Code: $response = $http->post($url, ...
there is no problem in using php artisan make module channel to create a channel module in a project. The requirement now is to copy this module to another project, and directly copy the module folder of channel in the past. The new project is equipped w...
run the laravel framework in the docker environment, using the predis extension. In the link redis Times made an error: ...
use laravel, to configure the route in web.php, and call web to report an error 404. As a result, the route can be accessed first. Has any friend encountered this problem? ...
I want some template variables to be available globally, such as some system setup information and website title classes, and different modules may need to call the same variables. how can such variables be used globally? now I ve done a simple test ...
1. Problem: when I use the elementui component, all other styles are normal, but the font icon does not display properly, and the error message is a path error, as shown in the following figure 2.laravel-mixwebpack-rules.js: 3.~ . ...
Novice laravel,session keeps reporting errors. is configured as follows: config session.php return [ driver => env( SESSION_DRIVER , file ), lifetime => 120, expire_on_close => false, encrypt => false,...
1. Now there are two controllers under two folders. A _ method 2. Because in the business, according to the conditions, the methods of different controllers are called, for example: $temp; if(true){ requre_once($temp."Controller.php"); ...
there is an old laravel project with the user s password field. Now the data of this project needs to be migrated to other languages (go). but the password field cannot reverse hash out of the original value, . how should I handle this situa...
the demo on the official website clicks the left navigation, triggering pjax to load the corresponding data and display it in the main content area on the right. The left navigation is not refreshed. A small feature is that the refresh button next to th...
Why does the card not move when it is stuck in composer create-project laravel laravel-- prefer-dist my_laravel, and does not report an error source has been changed to a domestic source, and you can also surf the Internet ...
question I see laravel s composer.json file autoload also does not configure the mapping relationship in vendor autoload_classmap.php . Normally, if there is no configuration, the array that executes the composer dump-autoload file will not be...
which is more convenient to use, laravel passport or JWT? ...
how can vue.js keep its login status when writing spa applications? ...
there is an access to the php file under the server folder, but the ip nginx shows that no static html file can be accessed. Google Baidu modified php-fpm and folder permissions is still wrong. I have no problem building the same configuration under the...
$res = DB::connection( mysql_business )->table( t_activity ) ->select( SELECT app_id,title ,created_at,id FROM t_activity WHERE created_at > ? ORDER BY created_at DESC , [ 2018-04-01 20:11:12 ...
$this->validate($request,{ id => required|integer }); how to validate the field integer or array when validating the same field ...
Front end: VUE back end: Laravel my requirement is that the verification code generated at the backend is stored in the session, and then the verification code in the session is compared with the verification code sent from the front end when the fro...
Asynchronous sorting class TagController extends CommonController{ ...
just like laravel comes with auth middleware, if it is accessed through web, it will jump to the login page if it is not authenticated. If accessed through ajax, it will return a 401 status code and a json message: { "message ": "Unauthenticated. "} ...
now there is a common component D, which is used in different components, A-> D B-> D c-> D, which displays A component by default. I now want to cache D component so that B and C components do not re-render D component when they are loaded. Is there any...
failed to download through outer link and file name. The prompt message is No subject alternative DNS name matching "outer link URL " found . No theme matching "outer link URL " was found to replace DNS name. Solve ...
Environment: mac system, installed mysql8, error installing mysql-python with sudo pip install mysql-python error Code try to solve: 1. Install mysql-connector-c 2. Set the variable export PATH=$PATH: usr local mysql bin ask God to help s...
problem description I need to create a new project now. I have installed the node.js, Taobao image and scaffolding. There is something wrong with the initialization project in the last step. Please take a look at it . the platform version of the prob...
Story .findOne({ title: Bob goes sledding }) .populate( author ) .exec(function (err, story) { if (err) return handleError(err); console.log( The author is %s , story.author.name); prints "The author is Bob Smith" }); here we...