user.php 819 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. /*
  3. * Krpano100 用户管理
  4. * ============================================================================
  5. * 技术支持:2015-2099 成都世纪川翔科技有限公司
  6. * 官网地址: http://www.krpano100.com
  7. * ----------------------------------------------------------------------------
  8. * $Author: yuanjiang 932625974#qq.com $
  9. * $Id: user.php 28028 2016-02-19Z liyuanzhang $
  10. */
  11. define('IN_T',true);
  12. require './include/init.php';
  13. require './include/function_user.php';
  14. $UCommon = new UCommon(APPID, APPSECRET);
  15. //验证签名
  16. $UCommon->checkSignature();
  17. //合法的请求方法
  18. $method = array('ucinsert','ucedit','ucdelete','uclogin','uclogout',);
  19. $remethod = $_GET['method'];
  20. if(!in_array($remethod, $method)){
  21. echo ERROR_METHOD_NO_EXISTS,
  22. exit;
  23. }
  24. $remethod();
  25. echo ERROR_OTHER;
  26. exit;
  27. ?>