Do-it-yourself project life cycle

1: Enter the project directly from WeChat

Execute weichat->api for the first time

There is write create user information in it;

Then execute index.php again

After the execution is completed, the corresponding method is executed:

2: I am working on a project for the second time

However, the first execution of index.php

Then execute wechat->api

Then execute the corresponding method

3: Go directly to the project and click on the route

Then directly execute the corresponding method (do not execute the index.php method)


After several tests later:

wechat->fire

index.php

getinfoAction



Regardless of which page is refreshed:

index.php

getinfoAction



Go directly to the project into the sub-route

then index.php will not be executed

Only the corresponding method will be executed

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325164800&siteId=291194637