You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
/*
|
|
|
|
* @Author: ch
|
|
|
|
* @Date: 2022-03-17 16:37:45
|
|
|
|
* @LastEditors: ch
|
|
|
|
* @LastEditTime: 2022-03-28 18:09:39
|
|
|
|
* @Description: file content
|
|
|
|
*/
|
|
|
|
|
|
|
|
import {Request, ToAsyncAwait} from '@/common/utils';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 获取测试信息
|
|
|
|
* @param {*} params
|
|
|
|
*/
|
|
|
|
const ApiGetBannerData = (params) =>
|
|
|
|
ToAsyncAwait(Request.get('/edu-course/carousel/app',params));
|
|
|
|
|
|
|
|
const ApiPostLogin = (data) => ToAsyncAwait(Request.post('/user/login', data));
|
|
|
|
|
|
|
|
const ApiGetCode = (params) => ToAsyncAwait(Request.get('/user/login/verificationCode', params));
|
|
|
|
|
|
|
|
export {
|
|
|
|
ApiGetBannerData,
|
|
|
|
// 登录
|
|
|
|
ApiPostLogin,
|
|
|
|
// 获取短信验证码
|
|
|
|
ApiGetCode
|
|
|
|
}
|
|
|
|
|
|
|
|
|