From 609eb7a2d87dc7ce0546bf55d6096ea660f8f9be Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期一, 13 十月 2025 11:09:48 +0800 Subject: [PATCH] feat: 微信 --- src/services/api/sms.ts | 30 ++++++++++++++++++++++++++++++ 1 files changed, 30 insertions(+), 0 deletions(-) diff --git a/src/services/api/sms.ts b/src/services/api/sms.ts index 2b69aab..50c798e 100644 --- a/src/services/api/sms.ts +++ b/src/services/api/sms.ts @@ -25,3 +25,33 @@ ...(options || {}), }); } + +/** 闃块噷浜戠煭淇″钩鍙板洖浼犻�氱煡 POST /api/common/sms/smsAliyunNotify */ +export async function smsAliyunNotify( + body: API.SmsAliyunNotifyCommandItem[], + options?: API.RequestConfig +) { + return request<API.SmsAliyunNotifyCommandResult>('/api/common/sms/smsAliyunNotify', { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} + +/** 璇氱珛涓氱煭淇″钩鍙板洖浼犻�氱煡 POST /api/common/sms/smsChengLiYeNotify */ +export async function smsChengLiYeNotify( + body: API.SmsChengLiYeNotifyCommand, + options?: API.RequestConfig +) { + return request<boolean>('/api/common/sms/smsChengLiYeNotify', { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} -- Gitblit v1.9.1