Browse Source

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

lizhen_gitee 1 year ago
parent
commit
103a7318fc
1 changed files with 1 additions and 1 deletions
  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) {
     public function changeW($val) {
-        return $val > 10000 ? round($val/10000,2)."w":$val;
+        return $val > 10000 ? round($val/10000,4)."w":$val;
     }
     }