From ce0f88226b114ca59dd0d3ffc197885d8d44b24f Mon Sep 17 00:00:00 2001 From: yangyin <1850366751@qq.com> Date: 星期一, 28 十月 2024 15:56:43 +0800 Subject: [PATCH] 修改应用场景的样式 --- src/api/ai/user.ts | 27 ++++++++++++++++++++++++++- 1 files changed, 26 insertions(+), 1 deletions(-) diff --git a/src/api/ai/user.ts b/src/api/ai/user.ts index a3bbf3b..9c28874 100644 --- a/src/api/ai/user.ts +++ b/src/api/ai/user.ts @@ -1,6 +1,7 @@ +import { Get_LOGIN_SMS } from './chat'; import request from '/@/utils/request'; -import { toFormData } from '/@/utils/util'; export const LOGIN_URL = '/login'; +export const TEL_LOGIN_URL = '/send_login_sms'; /** * @summary description */ @@ -24,3 +25,27 @@ method: 'POST', }); }; + +//鍙戦�佺煭淇¢獙璇佺爜 +export const loginVerifyMessage = async (params, req: any = request) => { + return req({ + url: TEL_LOGIN_URL, + method: 'POST', + data: params, + headers: { + 'Content-Type': 'application/x-www-form-urlencoded', + }, + }); +}; + +//鍙戦�佺煭淇¢獙璇佺爜鐧诲綍 +export const loginMessageUser = async (params, req: any = request) => { + return req({ + url: Get_LOGIN_SMS, + method: 'POST', + data: params, + headers: { + 'Content-Type': 'application/x-www-form-urlencoded', + }, + }); +}; -- Gitblit v1.9.3