Parcourir la source

获取房间内单人的魅力值,上麦时候用的

lizhen_gitee il y a 1 an
Parent
commit
103a7318fc
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      application/common/controller/Api.php

+ 1 - 1
application/common/controller/Api.php

@@ -621,7 +621,7 @@ class Api
      * 数字转化
      */
     public function changeW($val) {
-        return $val > 10000 ? round($val/10000,2)."w":$val;
+        return $val > 10000 ? round($val/10000,4)."w":$val;
     }