WIN-2308041133\Administrator 23 jam lalu
induk
melakukan
1083576eb8
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      app/system/controller/Product.php

+ 1 - 1
app/system/controller/Product.php

@@ -151,7 +151,7 @@ class Product extends BaseController
         if ($post['id'] > 0) {
             $result = Db::name('store_brand')->where('id', $post['id'])->update($data);
         } else {
-            $data['add_time'] = time();
+            $data['create_time'] = time();
             $result = Db::name('store_brand')->insertGetId($data);
         }