Gorden преди 1 месец
родител
ревизия
fe8c30c725
променени са 1 файла, в които са добавени 4 реда и са изтрити 6 реда
  1. 4 6
      app/admin/controller/notify/RechargeController.php

+ 4 - 6
app/admin/controller/notify/RechargeController.php

@@ -67,13 +67,11 @@ class RechargeController
 
             return $result;
         } catch (BusinessException $e) {
-            dump($e->getMessage());
             _syslog("APP充值", "APP充值失败", $data, $data, 1001);
-            return json_fail("处理失败3");
+            return json_fail("处理失败");
         } catch (\Exception $e) {
-            dump($e->getMessage());
             _syslog("APP充值", "APP充值失败", $data, $data, 1001);
-            return json_fail("处理失败4");
+            return json_fail("处理失败");
         }
 
 //    public function paySuccess($id)
@@ -175,12 +173,12 @@ class RechargeController
             dump($e->getMessage());
             Db::rollBack();
 
-            throw new BusinessException("处理失败1");
+            throw new BusinessException("处理失败");
 //            return json_fail('处理失败');
         } catch (\Exception $e) {
             dump($e->getMessage());
             Db::rollBack();
-            throw new BusinessException("处理失败2");
+            throw new BusinessException("处理失败");
 //            return json_fail('处理失败');
         }
     }