...
|
...
|
@@ -40,7 +40,7 @@ class Login extends Base |
|
|
//$res = json_decode(send_post($url), true);
|
|
|
}else{
|
|
|
//查询到openid 通过openid查询到用户
|
|
|
$user=Db::name("user")->where('wx_xcx_openid',$res['openid'])->find();
|
|
|
$user=Db::name("user")->where('wx_xcx_openid',"o5ABA4yWDTLRTf3LkBMMHoV7XOvQ")->find();
|
|
|
print_r($res['openid']);return;
|
|
|
|
|
|
if($user){
|
...
|
...
|
|