123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <?php
- /*
- * @Descripttion:
- * @version: 1.0.0
- * @Author: likang
- * @Date: 2022-06-09 10:11:32
- * @LastEditors: likang 1186820806@qq.com
- * @LastEditTime: 2023-06-14 17:17:04
- */
- // +----------------------------------------------------------------------
- // | CatchAdmin [Just Like ~ ]
- // +----------------------------------------------------------------------
- // | Copyright (c) 2017~{$year} http://catchadmin.com All rights reserved.
- // +----------------------------------------------------------------------
- // | Licensed ( https://github.com/yanwenwu/catch-admin/blob/master/LICENSE.txt )
- // +----------------------------------------------------------------------
- // | Author: JaguarJack [ njphper@gmail.com ]
- // +----------------------------------------------------------------------
- // you should use `$router`
- $router->group(function () use ($router) {
- // api路由
- $router->get('api/getUserList', '\catchAdmin\api\controller\Api@getUserList');
- });
- //报警上传
- $router->post('api/report', '\catchAdmin\api\controller\Api@report');
- $router->get('api/deleteHistory', '\catchAdmin\api\controller\Api@deleteHistory');
- $router->get('api/test', '\catchAdmin\api\controller\Api@test');
- //推送数据
- $router->get('api/redis', '\catchAdmin\api\controller\Api@redis_to_mysql');
- $router->get('api/redis2', '\catchAdmin\api\controller\Api@redis_to_mysql2');
- $router->get('api/assetRedis', '\catchAdmin\api\controller\Api@asset_redis');
- $router->get('api/clear_redis', '\catchAdmin\api\controller\Api@clear_redis');
- //远程推送数据
- $router->get('api/remote_push', '\catchAdmin\api\controller\Api@remotePush');
- //打印日志
- $router->get('api/temporary_label_log', '\catchAdmin\api\controller\Api@temporary_label_log');
- $router->get('api/redis_parea', '\catchAdmin\api\controller\Api@redis_to_mysql_parea');
- $router->get('api/redis_indoor', '\catchAdmin\api\controller\Api@redis_to_mysql_indoor');
- //更新软件版本测试
- //$router->get('api/detectionVersion', '\catchAdmin\api\controller\Api@detectionVersion');
- $router->get('api/redis_parea', '\catchAdmin\api\controller\Api@redis_to_mysql_parea');
- $router->get('sql/lister', '\catchAdmin\api\controller\sqlLister@lister');
- $router->get('api/scanpic', '\catchAdmin\api\controller\Api@testShellexec');
|