* [task#140300,done,0.2h] add tolist to product / projects.

This commit is contained in:
sunguangming
2025-04-03 10:19:40 +08:00
committed by 刘刚
parent 0e76ae2462
commit 62bc567f41
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -310,6 +310,9 @@ class messageModel extends model
if($flow && !$flow->buildin) $toList = $this->loadModel('flow')->getToList($flow, $object->id, $method);
}
if($objectType == 'product') $toList = $object->createdBy . ',' . $object->PO;
if($objectType == 'project') $toList = $object->openedBy . ',' . $object->PM;
return trim($toList, ',');
}