Robin 6 лет назад
Родитель
Сommit
48135ab9ad
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      normandcrm/service/backend/controllers/MemberController.php

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

@@ -184,7 +184,7 @@ class MemberController extends BaseController
                 // 调用mt4更新方法
                 $Mt4ManagerApi = new Mt4ManagerApi();
                 $res2 = $Mt4ManagerApi->changePassword($openModel->mt4_login,$data['mtpassword']);
-                file_put_contents('1024.txt',print_r($res2,true));
+                $res2 = json_decode($res2,true);
                 // 成功
                 if($res1&& !$res2['ret']){
                     return $this->outJson(1, [], '操作成功');