WIN-2308041133\Administrator 4 月之前
父节点
当前提交
1083576eb8
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);
         }