@@ -65,7 +65,14 @@ class Goods extends Controller
$v['is_hash'] = 3;
}
}else{
- $v['is_hash'] = 1;
+ $redis = new Redis();
+ $count = $redis->get('castingHash_'.$v['id']);
+ if ($count && $count>0){
+ $v['is_hash'] = 3;
+ }else{
+ $v['is_hash'] = 1;
+ }
+