摘要:
//验证码 public function yzm(){ if($_POST['lxdh']!=""){ $iphone="/^1[34578]\d{9}$/"; $ip=preg_match($iphone,$_POST['lxdh']); if(!$ip){ $data = array("res 阅读全文
摘要:
//微信授权 public function getOpenid() { $openid = Session('openid'); if (!$openid) { if (!isset($_GET['code'])) { $url = $this->getAuthorizeUrl(); Header 阅读全文