rabin 1 年之前
父節點
當前提交
a77eb90f5c
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      lib/Log.php

+ 3 - 3
lib/Log.php

@@ -84,9 +84,9 @@ class Log
 
         $type = Dever::db('account/config_type')->one($info['type_id']);
         if ($type['type'] == 2) {
-            $info['ycash'] = -1*$info['ycash'];
-            $info['cash'] = -1*$info['cash'];
-            $info['fee'] = -1*$info['fee'];
+            $info['ycash'] = Dever::number(-1*$info['ycash']);
+            $info['cash'] = Dever::number(-1*$info['cash']);
+            $info['fee'] = Dever::number(-1*$info['fee']);
         }
         return $info;
     }