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.
29 lines
656 B
29 lines
656 B
/*
|
|
* @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));
|
|
|
|
|
|
|