Browse Source

施工单完成一半

cqpCow 1 year ago
parent
commit
7d5d81ccb8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/Service/ProductService.php

+ 2 - 0
app/Service/ProductService.php

@@ -138,6 +138,7 @@ class ProductService extends Service
             $model->retail_price = $data['retail_price'] ?? 0;
             $model->mark = $data['mark'] ?? '';
             $model->state = $data['state'] ?? 0;
+            $model->introduction = $data['introduction'] ?? '';
             $model->save();
 
             $time = time();
@@ -232,6 +233,7 @@ class ProductService extends Service
             $model->retail_price = $data['retail_price'] ?? 0;
             $model->mark = $data['mark'] ?? '';
             $model->state = $data['state'] ?? 0;
+            $model->introduction = $data['introduction'] ?? '';
             $model->crt_id = $user['id'];
             $model->save();