api_init.php 588 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: zhima
  5. * Date: 2018/7/3
  6. * Time: 下午4:30
  7. */
  8. /**
  9. * api_init.php API初始化文件
  10. *
  11. * @version v0.01
  12. * @create time 2016/5/22
  13. * @update time
  14. * @author jt
  15. * @copyright Copyright (c) 微普科技 WiiPu Tech Inc. (http://www.wiipu.com)
  16. */
  17. require('../init.php');
  18. //API相关的设置(WiiPHP下也可以放setting.inc.php中)
  19. $Array_API_Source = array(
  20. 1 => 'weixin',
  21. 2 => 'android',
  22. 3 => 'ios',
  23. 99 => 'test'
  24. );
  25. //调用接口的IP白名单
  26. $Array_API_IP_WhiteList = array(
  27. '127.0.0.1',
  28. );