This commit is contained in:
Hankin 2026-04-27 14:20:06 +08:00
parent e7f77af788
commit d4af7568e0

View File

@ -1411,11 +1411,11 @@ class EarningController extends Controller
} }
$appId = config("wechat.service_payment.app_id"); $appId = config("wechat.service_payment.app_id");
$mchId = config("wechat.payment.mch_id"); $mchId = config("wechat.payment.mch_id");
$value->appId = $appId; $value->app_id = $appId;
$value->mchId = $mchId; $value->mch_id = $mchId;
} }
return $this->success('ok', $result); return $this->success('ok', $result);
} catch (\Exception $e) { } catch (Exception $e) {
$this->getError($e); $this->getError($e);
return $this->failure('服务器休息中,请稍后再试'); return $this->failure('服务器休息中,请稍后再试');
} }