WIN-2308041133\Administrator 1 روز پیش
والد
کامیت
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);
         }