Router.php 396 B

123456789101112131415161718192021
  1. <?php
  2. $apiType = $_POST['apiType'];
  3. switch ($apiType) {
  4. case 'hnhklt':
  5. include 'LtOderApi.php';
  6. break;
  7. case 'yqrapi':
  8. include 'ChOderApi.php';
  9. break;
  10. case 'haokeyun':
  11. include 'HkOderApi.php';
  12. break;
  13. case 'gantanhao':
  14. include 'GtOderApi.php';
  15. break;
  16. default:
  17. // Handle unknown API type
  18. break;
  19. }
  20. ?>