figure 1: click on the food to show the secondary category, and all the stores related to the food
:(3)
:
:
figure 1: click on the food to show the secondary category, and all the stores related to the food
:(3)
:
:
although each category has a rating of 1-8, there is a unique id
that first loads the first and second levels of classification and displays all the stores under the second level
, and then displays the stores of the second level classification according to the selection of the second level classification. The filter condition becomes the third level classification
, and so on until the level 8 classification
for example, the following figure shows the error message and the corresponding file under applicationmobilesupportcontroller the namespace of both class files is namespace appmobilesupportController; Message file with the following use: use app...
follow the ThinkPHP5.0 official manual prompt: User::event( before_insert , function ($user) { if ($user->status != 1) { return false; } }); :https: www.kancloud.cn manua... TP beforeInsert ,,,,. the direct insertion is s...
I use thinkphp5 I don t know how a key corresponds to a value when using cache my preliminary idea is to apply controller name concatenation method name splicing all passing parameters md5 encrypted string as key when you get the cache, you also...
thinkphp5 composer tp5 composer ...
The server does not support modifying the configuration file (site-building host). The current environment is nginx1.10.2. question: currently, by setting the route and forcing the mode, it is found that it does not work. What is the problem? Whether ...
is it better to put the transaction in the controller, or in the model, or is there another solution when using TP5 when you need a transaction? If you put it in a model, and multiple models are involved in the process, and the process requires a transac...
how to time the controller method written by thinkphp5 under the linux server , you can write the bat file under windows, but how to implement it under linux, and, if you run regularly, does it affect the performance of the server < hr > ...
Route::post( xdk plan , xdk plan save ); Route::post( xdk plan :id fav , xdk plan fav ); Route::post( xdk plan :id comments , xdk plan comments ); is to build a restful style api xdk plan post xdk plan :id fav like xdk plan :id c...
Business requirements, to record the visit record of the web page, according to ip, but now add one, according to the time, if the ip address is 202.192.26.26, and visited at 15:00, he will not record the visit to this web page within an hour, but will s...
for example, the user fills in Hello World in the from form, but the search url needs to be changed into search nihaoshijie, but the search value is still searched according to the string of Hello World passed by the user. Since the searched url is to be...
Can the remote one-to-many association provided by TP5 be performed in the association preload? I ve tried. Why not? article article table field articleid.. article_typetag tag table field tagid. article_tagvalue article tag table field articleid t...
A simple post request, which was normal before, suddenly went wrong. As thinkphp5.0 is not very familiar with it, it should not be a big problem. I hope you will pass by and have a look. WeChat Mini Programs client sends post request code, which does...
as shown in the picture, the undefinde error is reported, but I don t understand the error. Please take a look at it. ...
the framework is TP5 there is a short date when importing ! this date format cannot be used. the online search method says to use PHPExcel_Shared_Date::ExcelToPHP () , but the incoming value reported with this error is not a numeric value. Is ...
the tuijian field is your own recommendation code in the table. Otuijian is the recommendation code that you fill in when you register. when you output the user list, count and show the number of users recommendations at the same time. I use the foll...
var token = localStorage.getItem( userToken ); if(!token){ alert( ); return false; } var ws = new WebSocket("ws: 127.0.0.1:8081"); when ws.onopen, I intend to send token to the server for verification, but it...
create a server directory under the root directory with a server.php in it. $timer_id = swoole_timer_tick(2000, function ($timer_id) { echo "tick-2000ms n"; (new app index controller Test())->index(time()); }); unexpectedly pr...
how to upload jpg format images of d disk under windows to the server in batch via thinkphp ...
problem description tp5.1 workerman runs php server.php according to the manual and does not respond, as shown in the following figure server.php: php7.0.3publicserver.phppushworkerphp server.phpconsole: the boss who has used tp5.1 workerman, ple...
as the title: according to the specified ID number, query the previous record and the next record in the database respectively, and then return the ID number of this record. Please tell a small demo thank you. ...