...
|
...
|
@@ -155,7 +155,7 @@ class WeixinController extends WeChatBaseController{ |
|
|
|
|
|
$name = input('post.name');
|
|
|
$pass = input('post.pass');
|
|
|
$data = Db::name('members') -> where("name=".$name." and passwd=".$pass) -> find();
|
|
|
$data = Db::name('members') -> where("name='".$name."' and passwd='".$pass."'") -> find();
|
|
|
if($data == null){
|
|
|
return false;
|
|
|
}else{
|
...
|
...
|
|