2016年11月9日

摘要: 1 protected function send_sms() 2 { 3 $mobile = I("post.mobile"); 4 if (!preg_match("/^(0|86|17951)?(13[0-9]|15[012356789]|17[0678]|18[0-9]|14[57])[0- 阅读全文
posted @ 2016-11-09 17:40 zengyanlove 阅读(129) 评论(0) 推荐(0) 编辑
 
摘要: 后台效果: 后台代码(html): public function push_msg($ids) { $data = M("push_message")->field('id,description,status')->find($ids); // print_r($data);die; /*if( 阅读全文
posted @ 2016-11-09 17:31 zengyanlove 阅读(786) 评论(0) 推荐(0) 编辑
 
摘要: if($pid>0){ $where = ['id' => $pid]; $push1 = M($table)->where($where)->find(); $msg['type'] = 1; $msg['id'] = $art_id; //文章id $msg['content']=$conten 阅读全文
posted @ 2016-11-09 17:23 zengyanlove 阅读(135) 评论(0) 推荐(0) 编辑
 
摘要: public function push_message($v_uid = "", $uid = "", $type = 1,$message='') { $data['type'] = $type; $openid = $this->get_openid($v_uid); $body=""; switch ($type)... 阅读全文
posted @ 2016-11-09 17:19 zengyanlove 阅读(775) 评论(0) 推荐(0) 编辑