소스 검색

修复补单

Robin 6 년 전
부모
커밋
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;