Telegram机器人
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
462 B

<?php
require_once 'models/tgDC.php';
require_once 'models/kmsCheck.php';
$cmds = array( // 命令列表
'dc',
'kms'
);
function route($cmd, $rawParam) { // 命令请求路由
switch ($cmd) {
case 'dc':
tgDC($rawParam);
break;
case 'kms':
kmsCheck($rawParam);
break;
}
}
function routeCallback($cmd, $rawParam) { // 回调请求路由
switch ($cmd) {
//
}
}
?>