Commit 2b66ef3b by 冷斌

update

parent 7563ac08
...@@ -137,7 +137,7 @@ class Model_Login extends PhalApi_Model_NotORM { ...@@ -137,7 +137,7 @@ class Model_Login extends PhalApi_Model_NotORM {
public function userLoginByThird($openid,$type,$nickname,$avatar,$source) { public function userLoginByThird($openid,$type,$nickname,$avatar,$source) {
$info=DI()->notorm->users $info=DI()->notorm->users
->select($this->fields) ->select($this->fields)
->where('openid=? and login_type=? ',$openid,$type) ->where('openid=?',$openid)
->fetchOne(); ->fetchOne();
$configpri=getConfigPri(); $configpri=getConfigPri();
......
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