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. "} ...
other attributes know that they are taken from connect, so where did these come from ...
$( body ) .keydown (function () { if (event.keyCode == "13") { keyCode=13 document.getElementById( btnSumit ).click(); } }); the $( body ) of this line of code is replaced with native document.body.k...
as shown in the figure: if there is such data, it is looped out and rendered into the table, and the "serial number " is required, but it is not clear how to make the number of data rows in the children array 2 . : ...
there are several URLwww.example.com abc 1.html www.example.com bdc 3.html www.example.com utf 2.html in this form. You want to redirect to the corresponding test.example.com abc 1.html test.example.com bdc 3.html test.example.com utf 2.html . Dir...
jsCodeLocation = [NSURL URLWithString:@"http: localhost:8081 index.bundle?platform=ios&dev=true"]; the above code is normal in time, but an error is reported in a non-debug environment, that is, jsCodeLocation = [CodePush bundleURL]; ...