index.php 326 B

12345678910111213141516
  1. <?php
  2. /**
  3. * Appapi 统一入口
  4. */
  5. require_once dirname(__FILE__) . '/../init.php';
  6. require_once dirname(__FILE__) .'/../qiniucdn/Pili_v2.php';
  7. //装载你的接口
  8. DI()->loader->addDirs('Appapi');
  9. /** ---------------- 响应接口请求 ---------------- **/
  10. $api = new PhalApi();
  11. $rs = $api->response();
  12. $rs->output();