From fe7d6323fb2d1c425be239c5a281abbb3df674e6 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期二, 30 十二月 2025 16:33:46 +0800
Subject: [PATCH] fix: bug

---
 packages/services/apiV2/auth.ts |   32 +++++++++++++++++++++++++++++++-
 1 files changed, 31 insertions(+), 1 deletions(-)

diff --git a/packages/services/apiV2/auth.ts b/packages/services/apiV2/auth.ts
index 1a95129..2cb1c46 100644
--- a/packages/services/apiV2/auth.ts
+++ b/packages/services/apiV2/auth.ts
@@ -32,6 +32,21 @@
   });
 }
 
+/** 閫夋嫨寰俊鎵嬫満鍙� POST /api/user/auth/chooseWxmpPhoneNumber */
+export async function chooseWxmpPhoneNumber(
+  body: API.ChooseWxmpPhoneNumberCommand,
+  options?: API.RequestConfig
+) {
+  return request<boolean>('/api/user/auth/chooseWxmpPhoneNumber', {
+    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榛樿娌℃湁鐢熸垚瀵硅薄)
@@ -132,7 +147,7 @@
   body: API.RegisterPersonalUserCommand,
   options?: API.RequestConfig
 ) {
-  return request<boolean>('/api/user/auth/registerPersonalUser', {
+  return request<API.LoginCommandCallback>('/api/user/auth/registerPersonalUser', {
     method: 'POST',
     headers: {
       'Content-Type': 'application/json-patch+json',
@@ -169,6 +184,21 @@
   });
 }
 
+/** 瑙g粦寰俊灏忕▼搴忓揩鎹风櫥褰� POST /api/user/auth/unBindUserWxmpId */
+export async function unBindUserWxmpId(
+  body: API.UnBindUserWxmpIdCommand,
+  options?: API.RequestConfig
+) {
+  return request<string>('/api/user/auth/unBindUserWxmpId', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json-patch+json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}
+
 /** 鍙戦�佹洿鎹㈡墜鏈哄彿鐭俊 POST /api/user/auth/updatePhoneNumberVerifyCode */
 export async function updatePhoneNumberVerifyCode(
   body: API.UpdatePhoneNumberVerifyCodeCommand,

--
Gitblit v1.10.0