Tag: simplify
-
Post Views: 21 1. In the interface that obtains the resource list, the response parameter: actions, determine whether the current user has a certain operation permission for a resource, and the value is 1 to indicate that it has, and the value of 0 means that it does not have it. as shown in Figure 1 2. Interface document description,…
-
Post Views: 20 1. Get the menu list, as shown in Figure 1 2. Check the available Debug data, its data comes from HTTP, as shown in Figure 2 3. Check the http model file: common/logics/http/cmc_console/menu.php, the code is as follows 4. CmcConsoleHttp is a component, configure the HTTP client through the application component, refer to the URL:https://www.yiiframework.com/extension/yiisoft/yii2-httpclient/doc/guide/2.0/zh-cn/usage-setup-client-instance, view the…
