1
This commit is contained in:
parent
ca5dfa1349
commit
9e9486f9f9
@ -806,9 +806,15 @@ class UserController extends BaseAuthedController {
|
||||
die();
|
||||
return;
|
||||
}
|
||||
User::Update(array(
|
||||
'address' => $rspObj['data']['address']
|
||||
));
|
||||
$address = strtolower($rspObj['data']['address']);
|
||||
$oldUser = User::findByAddress($address);
|
||||
if ($oldUser) {
|
||||
|
||||
} else {
|
||||
User::Update(array(
|
||||
'address' => $address
|
||||
));
|
||||
}
|
||||
$propertyChgService = new services\PropertyChgService();
|
||||
$propertyChgService->addUserChg();
|
||||
$this->_rspData(array(
|
||||
|
Loading…
x
Reference in New Issue
Block a user