...
|
...
|
@@ -150,6 +150,29 @@ class WeixinController extends WeChatBaseController{ |
|
|
|
|
|
}
|
|
|
|
|
|
//登陆判断
|
|
|
public function login_to(){
|
|
|
|
|
|
$name = input('post.name');
|
|
|
$pass = input('post.pass');
|
|
|
$data = Db::name('members') -> where("name=".$name." and passwd=".$pass) -> find();
|
|
|
if($data == null){
|
|
|
return false;
|
|
|
}else{
|
|
|
return $data['jifen'];
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
//显示积分页
|
|
|
public function jifen(){
|
|
|
|
|
|
$jifen = $this -> request -> param();
|
|
|
dump($jifen);die;
|
|
|
return $this -> fetch();
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
...
|
...
|
|