Merge branch 'sprint/scx_api' into 'master'

* Modify product po rd qd createdby to user objectType.

See merge request easycorp/zentaopms!4961
This commit is contained in:
孙广明
2022-08-15 00:22:09 +00:00
+1 -1
View File
@@ -120,7 +120,7 @@ class productEntry extends Entry
if(isset($data->result) and $data->result == 'fail') return $this->sendError(400, $data->message);
$product = $this->product->getByID($productID);
$this->send(200, $this->format($product, 'createdDate:time'));
$this->send(200, $this->format($product, 'createdDate:time,whitelist:userList,createdBy:user,PO:user,RD:user,QD:user'));
}
/**