浏览代码

start banlance pd and bonus

stanley-king 8 年之前
父节点
当前提交
5c1032a2df
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      mobile/control/test.php

+ 1 - 1
mobile/control/test.php

@@ -274,7 +274,7 @@ class testControl extends mobileHomeControl
 
             $pd = new predeposit_helper($member_id);
             $ret = $pd->get_predeposit();
-            $total = intval($ret['total_value'] * 100 + 0.5) + intval($ret['freeze_value'] * 100 + 0.5);
+            $total = intval($ret['total_value'] * 100 + $ret['freeze_value'] * 100 + 0.5);
 
             $holder = new bonus\witholder($member_id);
             $usable_amount = intval($holder->usable_amount() * 100 + 0.5);