Commit 85f48bcd by 冷斌

update

parent 2b66ef3b
......@@ -137,9 +137,8 @@ class Model_Login extends PhalApi_Model_NotORM {
public function userLoginByThird($openid,$type,$nickname,$avatar,$source) {
$info=DI()->notorm->users
->select($this->fields)
->where('openid=?',$openid)
->where('openid=? and login_type=? ',$openid,$type)
->fetchOne();
$configpri=getConfigPri();
if(!$info){
/* 注册 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment