the following is the controller of the API interface I wrote: <?php namespace App Http Controllers Lucky; use Illuminate Http Request; use App Http Controllers BaseController as BaseController; use App Models Card; use App Http Transfo...
is an API route as follows: <?php use Illuminate Http Request; $api = app( Dingo Api Routing Router ); $api->version( v1 , [ namespace => App Http Controllers Api ], function($api) { $api->post( verif...
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...
how does Dingo Api return a custom status code in a successful state? recently, a new version of API, has introduced Dingo api, into laravel. Due to business needs, when you successfully return data, you can also bring status code and prompt messag...
questions and requirements: it is said that vue is data-driven, so for requirements similar to accordion (click on a li, to display the contents of the corresponding li, how can it be achieved through data-driven without operating dom? ) such as the f...
when the list method returns in a controller, it returns this depending on whether the asynchronous request is made: "users list::-sharpmainContainerRepleace " does not understand what this is written. Solve this list front end is an ajax request, an...
my axios function: import axios from axios import Qs from qs export default { post: function (url, data) { axios.defaults.headers.post[ Content-Type ] = application x-www-form-urlencoded ; let config = { axios.get(url,c...
Why is the scroll bar not at the bottom when there is less content on the page? how can I keep the horizontal scroll bar at the bottom? ...
as shown in the figure, only the tag is returned, but the content is gone. I haven t been learning crawlers for long, and I don t know why I m wrong. ...