摘要: //验证码 public function yzm(){ if($_POST['lxdh']!=""){ $iphone="/^1[34578]\d{9}$/"; $ip=preg_match($iphone,$_POST['lxdh']); if(!$ip){ $data = array("res 阅读全文
posted @ 2020-07-23 16:20 php毛宏历的博客 阅读(135) 评论(0) 推荐(0) 编辑
摘要: //微信授权 public function getOpenid() { $openid = Session('openid'); if (!$openid) { if (!isset($_GET['code'])) { $url = $this->getAuthorizeUrl(); Header 阅读全文
posted @ 2020-07-23 16:19 php毛宏历的博客 阅读(160) 评论(0) 推荐(0) 编辑