/* * @Author: ch * @Date: 2022-03-17 16:37:45 * @LastEditors: ch * @LastEditTime: 2022-04-02 09:58:40 * @Description: file content */ import {MsbRequest, ToAsyncAwait} from '@/common/utils'; /** * 获取测试信息 * @param {*} params */ export const ApiGetBannerData = (params) => ToAsyncAwait(MsbRequest.get('/edu-course/carousel/app',params)); /** * 登录 * @param {*} data */ export const ApiPostLogin = (data) => ToAsyncAwait(MsbRequest.post('/user/login', data)); /** * 获取手机验证码 * @param {*} params */ export const ApiGetCode = (params) => ToAsyncAwait(MsbRequest.get('/user/login/verificationCode', params));