1
This commit is contained in:
parent
31c3b0fa63
commit
dfc01f6988
@ -48,10 +48,13 @@ class PropertyChgService extends BaseService {
|
|||||||
|
|
||||||
public function toDto()
|
public function toDto()
|
||||||
{
|
{
|
||||||
return array(
|
$data = array(
|
||||||
'user_info' => $this->userChg ? User::info(myself()->_getOrmUserInfo()) : null,
|
|
||||||
'container_chg' => $this->chgList
|
'container_chg' => $this->chgList
|
||||||
);
|
);
|
||||||
|
if ($this->userChg) {
|
||||||
|
$data['user_info'] = User::info(myself()->_getOrmUserInfo());
|
||||||
|
}
|
||||||
|
return $data;
|
||||||
}
|
}
|
||||||
|
|
||||||
private function internalAddChg($name)
|
private function internalAddChg($name)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user