blade template is as follows app.js Can t be introduced locally? the Great God asks for advice . ...
as the title if so, how should I write it? ...
(axios request) you can request the interface normally on the debug tool and report an error in the nuxt.js framework. The request header information between the two is as follows: nuxt.js : ...
the download page and the search page are the same page, and you need to download the search results as files. now the search and download methods are written, but you don t know how to pass the parameters of get when you download it. Or send the sear...
now we are using the cloud server (pagoda). Do you need to install it one by one if you want the above environment to be the same as the local laravel homestead environment? Do you also install a homestead on the server, or is there any quick way? Local ...
Front end: <div class="cart-table table-responsive"> <table class="table table-bordered"> <thead> <tr> ...
Why is the data under the user field in the query result incorrect? User is supposed to be the contents of the user table, but the result is the contents of the blog table. Why? I ve been doing it all day and I don t know what s going on. Can you tak...
the controller code is as follows: <?php namespace App Http Controllers Lucky; use Illuminate Http Request; use App Http Controllers BaseController as BaseController; use App Models Card; use App Http Transformers CardsTransformer; c...
http: www.frankwaive.com how... I have changed the path of php to the version of XAMPP I also install composer on this machine through homebrew I just don t understand his next step: curl -s http: getcomposer.org installer | php and composer c...
after each git add. , there is the following prompt warning: LF will be replaced by CRLF in public js ylaravel.js. The file will have its original line endings in your working directory translated as :lfpublic js ylaravel.jscrlf but I still don t...
examples of just getting started using laravel with vue components: follow the tutorial to write the following examples mainly uses three files welcomeComponent.vue, app.js and index.blade.php directory structure as follows welcomeComponent.vue ap...
now there are three roles: general factory, middleman, and customer. the framework I use is the laravel framework I have built three middleware: BackendRole.php function: only allow factory access ShopRole.php function: only allow middlemen ...
if you use the paginate () method in the framework for paging, the outer layer of the data will be wrapped in an extra layer of paging data, for example: { "total": 50, "per_page": 15, "current_page": 1, &q...
curl http: af.epicc.com.cn api misc creditEntry creditInfoSubmit -H Cookie:test -H Origin: http: af.epicc.com.cn -H Accept-Encoding: gzip, deflate -H X-Requested-With: XMLHttpRequest -H Accept-Language: zh-...
in the actual development, it is found that the front and back end work together to determine the input and output format, which is very time-consuming. When the fake data is simulated, sometimes the background api can be developed. for example, some si...
found occasional data loss in mysql. This time I lost a record in the order table. I used laravel framework . generate order retention user submit order-> Table 1 generate order-> user payment-> payment callback-> Table 1 status modification, insert...
entry file has been tampered with. Check the log very suspicious I, Baidu is a loophole in Dedecms, but I am not dedecms. Nginx has also been upgraded to 1.15 ...
carries access_token and refresh_token in the header when requesting the interface. if access_token expires, the new access_token will be obtained according to refresh_token , and then the expiration time of refresh_token will be updated! ...
user table and role table have many-to-many relationship, and the middle table is user_roles. many-to-many relationships are defined in the user model class public function relRole(){ return $this->belongsToMany( App Model Role , ...
for example, the code for the first version is: api public function buyGoods(){ $validate->validateParam(); $goods->buy(); } at this time, the first version is running steadily, and we hope that we will not modify this ...