|
@@ -82,7 +82,7 @@ class App extends Base
|
|
|
}
|
|
|
|
|
|
# 记录app登录日志
|
|
|
- $appData = array('info_id' => $this->data['info']['id'], 'uid' => $uid, 'source_type' => $source_type);
|
|
|
+ $appData = array('uid' => $uid, 'source_type' => $source_type);
|
|
|
$app = Dever::db('passport/app')->one($appData);
|
|
|
if (!$app) {
|
|
|
Dever::db('passport/app')->insert($appData);
|