...
|
...
|
@@ -92,7 +92,7 @@ class Topic extends Api |
|
|
if(!empty($attachments)){
|
|
|
$attachment_list = json_decode(htmlspecialchars_decode($attachments),true);
|
|
|
// 保存订单商品信息
|
|
|
$this->model->attachment->saveAll($attachment_list);
|
|
|
$this->model->attachment()->saveAll($attachment_list);
|
|
|
}
|
|
|
Db::commit();
|
|
|
} catch (\think\exception\PDOException $e) {
|
...
|
...
|
|