From 3dc3e616092694a0e300c8089593236f2cc7a6d1 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期三, 19 三月 2025 09:39:45 +0800 Subject: [PATCH] fix: 三期需求 --- packages/services/api/LifePay.ts | 16 ++++++++++++++-- 1 files changed, 14 insertions(+), 2 deletions(-) diff --git a/packages/services/api/LifePay.ts b/packages/services/api/LifePay.ts index 1383efa..315aa96 100644 --- a/packages/services/api/LifePay.ts +++ b/packages/services/api/LifePay.ts @@ -2,6 +2,18 @@ // @ts-ignore import { request } from '@/utils/request'; +/** 娣诲姞鏃ュ織 POST /api/LifePay/AddLogger */ +export async function addLogger(body: API.LogErrorInput, options?: API.RequestConfig) { + return request<number>('/api/LifePay/AddLogger', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + /** 娣诲姞鎴栦慨鏀规垜鐨勬埛鍙� POST /api/LifePay/AddUpdateUserAccount */ export async function addUpdateUserAccount( body: API.AddUpdateUserAccountInput, @@ -248,13 +260,13 @@ }); } -/** 鏍规嵁璁㈠崟鍙疯幏鍙栨敮浠樼姸鎬� GET /api/LifePay/GetPayStatusByOrderNo */ +/** 鏍规嵁璁㈠崟鍙疯幏鍙栨敮浠樼姸鎬� POST /api/LifePay/GetPayStatusByOrderNo */ export async function getPayStatusByOrderNo( body: API.GetPayStatusByOrderNoInput, options?: API.RequestConfig ) { return request<API.LifePayStatusEnum>('/api/LifePay/GetPayStatusByOrderNo', { - method: 'GET', + method: 'POST', headers: { 'Content-Type': 'application/json', }, -- Gitblit v1.9.1