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