Browse Source

修复补单

Robin 6 years ago
parent
commit
7a82164fb7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      normandcrm/service/backend/controllers/DepositController.php

+ 1 - 1
normandcrm/service/backend/controllers/DepositController.php

@@ -134,7 +134,7 @@ class DepositController extends BaseController
         if ($deposit->mt4_status == 0) {
             $res = MtKit::deposit($deposit['login'], $deposit['amount'], 'Deposit',$id);     //增加了一个字段;
             if(!$res){
-                return $this->outJson(1, [], '补单失败');
+                return $this->outJson(0, [], '补单失败');
             }
             $deposit->mt4_status = 1;
             $deposit->type = 1;