国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
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.

21 lines
587B

  1. <?php
  2. define('AJAXLOGIN', TRUE);
  3. define('DEDEADMIN', str_replace("\\", '/', dirname(__FILE__)));
  4. require_once(DEDEADMIN.'/../system/common.inc.php');
  5. require_once(DEDEINC.'/userlogin.class.php');
  6. AjaxHead();
  7. $action = isset($action) && in_array($action, array('is_need_check_code'))? $action : '';
  8. if ($action === 'is_need_check_code') {
  9. $cuserLogin = new userLogin();
  10. $isNeed = $cuserLogin->isNeedCheckCode($userid);
  11. echo json_encode(array(
  12. "code" => 0,
  13. "msg" => "",
  14. "data" => array(
  15. "isNeed" => $isNeed,
  16. ),
  17. ));
  18. exit;
  19. }