-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.php
More file actions
22 lines (16 loc) · 793 Bytes
/
test.php
File metadata and controls
22 lines (16 loc) · 793 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
/*require 'vendor/autoload.php';
use \Createlinux\Routing\RouterModule;
use \Createlinux\Routing\Router;
use \Createlinux\Routing\PermissionType;
$routerModule = new RouterModule("System");
$routerModule->registerResource("微信公众号登录二维码", "WeChatMPQrCode", [], function (Router $router) {
$router->setControllerName('WechatQrcodeLogController');
$router->store("生成二维码", "wechat_qrcode_logs", PermissionType::public);
$router->show("查询二维码", 'wechat_qrcode_logs/{id}', PermissionType::public);
});
$routerModule->registerResource("访问令牌", "AccessToken", [], function (Router $router) {
$router->setControllerName('TokenController');
$router->store("生成访问令牌", "access_tokens", PermissionType::public);
});
*/