WIN-2308041133\Administrator 4 mesi fa
parent
commit
1083576eb8
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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);
         }