diff --git a/app/Http/Controllers/Server/Admin/EarningController.php b/app/Http/Controllers/Server/Admin/EarningController.php index 0ccef5e..deb664c 100644 --- a/app/Http/Controllers/Server/Admin/EarningController.php +++ b/app/Http/Controllers/Server/Admin/EarningController.php @@ -1411,11 +1411,11 @@ class EarningController extends Controller } $appId = config("wechat.service_payment.app_id"); $mchId = config("wechat.payment.mch_id"); - $value->appId = $appId; - $value->mchId = $mchId; + $value->app_id = $appId; + $value->mch_id = $mchId; } return $this->success('ok', $result); - } catch (\Exception $e) { + } catch (Exception $e) { $this->getError($e); return $this->failure('服务器休息中,请稍后再试'); }