Procházet zdrojové kódy

Update word_index_weight_refresh.php

Bhikkhu-Kosalla před 5 roky
rodič
revize
27a62834af
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      app/admin/word_index_weight_refresh.php

+ 2 - 2
app/admin/word_index_weight_refresh.php

@@ -116,7 +116,7 @@ for ($i=$from; $i <=$to ; $i++) {
 				//echo $weight."\n";
 				$fetch[$iWord]["weight"] = (int)($weight*100);
 			}
-			# 修改数据库
+			# 将整段权重写入据库
 			$dh_pali->beginTransaction();
 			$query = "UPDATE word set weight = ? where id=? ";
 			$stmt_weight = $dh_pali->prepare($query);
@@ -137,4 +137,4 @@ for ($i=$from; $i <=$to ; $i++) {
 	}
 	echo "处理时间 :".( microtime(true)-$time_start);
 }
-?>
+?>