Parcourir la source

函数名hSet

visuddhinanda il y a 5 ans
Parent
commit
31f281ccc3
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      app/dict/function.php

+ 1 - 1
app/dict/function.php

@@ -13,7 +13,7 @@ function getRefFirstMeaning($word,$lang,$redis){
 			if(count($Fetch)){
 				foreach ($Fetch as $key => $value) {
 					# code...
-					$redis->hset("ref_first_mean_".$word,$value["lang"],$value["mean"]);
+					$redis->hSet("ref_first_mean_".$word,$value["lang"],$value["mean"]);
 				}				
 			}
 			else{