From 0945a585fc1d62545dd50d787154a3a15c09d34f Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期一, 11 八月 2025 14:09:57 +0800
Subject: [PATCH] fix: 修改简历
---
packages/services/apiV2/auth.ts | 27 +++++++++++++++++++++++++++
1 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/packages/services/apiV2/auth.ts b/packages/services/apiV2/auth.ts
index f783319..6c5340a 100644
--- a/packages/services/apiV2/auth.ts
+++ b/packages/services/apiV2/auth.ts
@@ -2,6 +2,21 @@
// @ts-ignore
import { request } from '@/utils/request';
+/** 缁戝畾鎵嬫満鍙� POST /api/user/auth/bindPhoneNumber */
+export async function bindPhoneNumber(
+ body: API.BindPhoneNumberCommand,
+ options?: API.RequestConfig
+) {
+ return request<boolean>('/api/user/auth/bindPhoneNumber', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json-patch+json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
/** 鑾峰彇闃块噷浜慜SS鎺堟潈淇℃伅 GET /api/user/auth/getAliyunOSSAcs */
export async function getAliyunOSSAcs(
// 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
@@ -89,3 +104,15 @@
...(options || {}),
});
}
+
+/** 寰俊灏忕▼搴忕櫥褰� POST /api/user/auth/wxmpLogin */
+export async function wxmpLogin(body: API.WxmpLoginCommand, options?: API.RequestConfig) {
+ return request<API.LoginCommandCallback>('/api/user/auth/wxmpLogin', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json-patch+json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
--
Gitblit v1.9.1