|
|
@@ -368,7 +368,7 @@ class GoodsService extends BaseService
|
|
|
if ($categorys) {
|
|
|
RedisService::set($cacheKey . '_page', $page, rand(300, 600));
|
|
|
RedisService::set($cacheKey, $categorys, rand(5, 10));
|
|
|
- GoodsCategoryModel::insertAll($categorys);
|
|
|
+ GoodsCategoryModel::insert($categorys);
|
|
|
}
|
|
|
|
|
|
|