WIN-2308041133\Administrator 1 dzień temu
rodzic
commit
1083576eb8
1 zmienionych plików z 1 dodań i 1 usunięć
  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);
         }