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