From e063d2153f5d2c72178a13c2c35c3f8b97f2368a Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期一, 11 八月 2025 09:38:24 +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