fix
This commit is contained in:
@ -81,7 +81,7 @@ class CustomerUserPostOrderModel extends ApiBaseModel
|
||||
if(!$resPostHistoryModel) throw new ModelException('post_history_id not found');
|
||||
$bean->setPostHistoryId($resPostHistoryModel->id);
|
||||
|
||||
$res = $this->addItem($bean->toArray());
|
||||
$res = $this->addItem($bean->toArrayNotNull());
|
||||
if(!$res) throw new ModelException('order add fail');
|
||||
$bean->setId($res->id);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user