uses the thinkphp framework for authority authentication based on auth. currently there are four tables in mysql: 1, user (user table) 2, auth_group (user group table, such as administrator group, employee group) 3, auth_group_access (previous assoc...
problem description assuming that the user is required to log in before publishing new information, determine whether the user is logged in or not and redirect the page by registering the middleware in the controller layer. the environmental backgro...
one of my data tables has a creation time field (timestamp) and a date string: 2018.12.10 this is mainly because there is a query on the front end that is queried by day, so the date string is saved and indexed. think that there is another way to query,...
I think it should be placed under resources because there may be uploads of files, but there is no way to access ...
the token of laravel will never change if the cookie is not cleared, so it won t play a protective role? Is there any way to achieve timing change? ...
if I use onqueue to create tens of thousands of queue classifications. How can all be monitored. Can all be implemented on Synchronize. Will it get stuck. There are not many tasks in each queue category. Occasionally there are two or three at the sam...
problem description: because when the interface is docked, the other party only provides the java interface, and the md5 encryption signature is required when the interface is called, and the signature verification fails all the time. Finally, it is fo...
I also use self::dispatch () in the queue to invoke the task itself. It didn t stop until some conditions were reached. Now I need to stop ahead of time in the middle of the execution. What should I do? ...
for example, there is a string such as abcd {1} efadf, is there a way to replace {1} with a component, and then render the result after replacement? Thank you! ...
each commodity is limited to 1000 copies per day, and the robbery starts at 10:00. Select count from table where date = year, month, day, for update lock. How many copies have been sold on the same day? If it is not more than 1000, continue with the fol...
$str = Test this method await; $res = substr_replace ($str, can , 0Power2); echo $res; the desired result is: you can use this method a; but there is garbled how to solve this problem ...
such as the title. cannot use set_time_limit (0) because online projects will not allow you to execute indefinitely all I can think of now is to use curl curl_setopt($ch, CURLOPT_WRITEFUNCTION, function($ch ,$str){}); read a small portion at a time...
use the redis, of the swoole protocol and then implement the connection pool by yourself (just a yii2-swoole written by a big god), which is stored in SplQueue, but I found that after the connection is inside, when it is idle for a long time, these conne...
I used to be in php, but now I want to do ai, in my spare time. What language should I use? which GO JAVA PYTHON is more suitable for php programmers like me? I feel that php is very powerful, but I just can t write all kinds of middleware systems. ...
error curl: when connecting to rackspace (60) SSL certificate problem: unable to get local issuer certificate ) search on the Internet says that there is no trusted server HTTPS verification, download crt and put it locally according to the online tuto...
is that if the user only has the right to view the content, then all the page buttons and forms in the system are set to read-only vue and iview for the project. Is there any convenient operation? Thank you ...
use & tmp; instead of & found that the character length is not correct again, with four more characters. May I ask how to solve it ...
when not clicked: : what is this for? ...
1. Looking for a library of image quality compression (without compressing width and height), find laravel-image-optimizer 2. Follow the description on the official website. The picture is not compressed https: packagist.org package.. 3, post core c...
< el-form class= "from-1 " ref= "form ": model= "form ": rules= "rules " label-width= "80px " style= "width:100%; height: 380px; " > <el-form class="from_n1" style="width:940px; margin:auto;"> <div id=&q...
...
developed a very simple activity page. In the developer tool of chrome, capture screenshot (is the green camera button in the screenshot under the network tab.) record the changes of each frame during the rendering of the page. observed a very strange...
I want to change this code to the form of a callback function oBtn1.onclick=function(){ oDiv1.style.display= inline-block ; setTimeout("document.getElementById( div1 ).style.display = none ;", 5000) } changed to this wit...
1. Write some mini applications with node recently. Using mongoose. There is a small problem. Do not understand (may not understand the English document or do not understand). for example: video.find({},(err, videos) => { videos.forEac...
RT, I now need to have multiple input, on the front-end (vue) and generate a form in json format for post. The problem now is that I can t store the input in input into an array format. for example, the json format I need: { "name " :"test...