Gorden 1 månad sedan
förälder
incheckning
fe8c30c725
1 ändrade filer med 4 tillägg och 6 borttagningar
  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('处理失败');
         }
     }