1
This commit is contained in:
parent
6d5ff76434
commit
4d74ea5397
@ -64,6 +64,14 @@ class UserController extends BaseAuthedController {
|
|||||||
$this->_updateUserInfo(array(
|
$this->_updateUserInfo(array(
|
||||||
'last_login_time'=>myself()->_getNowTime(),
|
'last_login_time'=>myself()->_getNowTime(),
|
||||||
));
|
));
|
||||||
|
if ($this->_getChannel() == BC_CHANNEL &&
|
||||||
|
empty($userInfo['address'])
|
||||||
|
) {
|
||||||
|
User::Update(array(
|
||||||
|
'address' => $this->_getOpenId()
|
||||||
|
));
|
||||||
|
$userInfo['address'] = $this->_getOpenId();
|
||||||
|
}
|
||||||
$this->updateLastSeason($userInfo);
|
$this->updateLastSeason($userInfo);
|
||||||
$this->_rspData(array(
|
$this->_rspData(array(
|
||||||
'info' => User::show($userInfo),
|
'info' => User::show($userInfo),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user