* Modify product po rd qd createdby to user objectType.

This commit is contained in:
宋辰轩
2022-08-13 10:25:08 +08:00
parent d2ad7b237d
commit 6bc42315a9
+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'));
}
/**