|
|
@@ -185,7 +185,7 @@ class GoodsService extends BaseService
|
|
|
return $info;
|
|
|
}
|
|
|
|
|
|
- $info = $this->model->with(['store','category','skus'])->where(['id' => $id])->first();
|
|
|
+ $info = $this->model->with(['category','skus'])->where(['id' => $id])->first();
|
|
|
$info = $info ? $info->toArray() : [];
|
|
|
if ($info) {
|
|
|
RedisService::set($cacheKey, $info, rand(10, 20));
|