Robin 6 лет назад
Родитель
Сommit
7a82164fb7
1 измененных файлов с 1 добавлено и 1 удалено
  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;