This commit is contained in:
aozhiwei 2022-09-15 14:41:47 +08:00
parent 31c3b0fa63
commit dfc01f6988

View File

@ -48,10 +48,13 @@ class PropertyChgService extends BaseService {
public function toDto()
{
return array(
'user_info' => $this->userChg ? User::info(myself()->_getOrmUserInfo()) : null,
$data = array(
'container_chg' => $this->chgList
);
if ($this->userChg) {
$data['user_info'] = User::info(myself()->_getOrmUserInfo());
}
return $data;
}
private function internalAddChg($name)