quguofeng 2 years ago
parent
commit
2bed372807
1 changed files with 2 additions and 2 deletions
  1. 2 2
      application/user/controller/Member.php

+ 2 - 2
application/user/controller/Member.php

@@ -318,7 +318,7 @@ class Member extends Controller
                 if($data["type"]){
 
                     if($data['int_type'] == 4) {
-                        $result =  accountLog($data['id'],0,0,$data["money"],$data['desc'],3 ,'',false,0,1,$this->app->session->get('user')['username']);
+                        $result =  accountLog($data['id'],0,0,"+".$data["money"],$data['desc'],3 ,'',false,0,1,$this->app->session->get('user')['username']);
                     }else{
                         $result =  accountLog($data['id'],0,0,"-".$data["money"],$data['desc'],3 ,'',false,0,1,$this->app->session->get('user')['username']);
                     }
@@ -326,7 +326,7 @@ class Member extends Controller
                 }else{
                 //余额
                    if($data['int_type'] == 4) {
-                        $result =  accountLog($data['id'],$data["money"],0,0,$data['desc'],3 ,'',false,0,1,$this->app->session->get('user')['username']);
+                        $result =  accountLog($data['id'],"+".$data["money"],0,0,$data['desc'],3 ,'',false,0,1,$this->app->session->get('user')['username']);
                     }else{
                         $result =  accountLog($data['id'],"-".$data["money"],0,0,$data['desc'],3 ,'',false,0,1,$this->app->session->get('user')['username']);
                     }