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.
36 lines
582 B
36 lines
582 B
import request from "@/utils/request.js"; |
|
import { host } from './config.js' |
|
|
|
/** |
|
* 获取配置文件 |
|
* @param {Object} data |
|
*/ |
|
export function getconfig(data) { |
|
return request({ |
|
url: `${host}/get-config`, |
|
method: "get", |
|
data |
|
}); |
|
} |
|
/** |
|
* 发送验证码 |
|
* @param {Object} data |
|
*/ |
|
export function sendcode(data) { |
|
return request({ |
|
url: `${host}/send-code`, |
|
method: "post", |
|
data |
|
}); |
|
} |
|
/** |
|
* 咨询接口 |
|
* @param {Object} data |
|
*/ |
|
export function consultingservice(data) { |
|
return request({ |
|
url: `${host}/consulting-service`, |
|
method: "post", |
|
data |
|
}); |
|
} |