36 lines
709 B
JavaScript
36 lines
709 B
JavaScript
// src/composables/useWeChatAuth.js
|
|
import { ref } from 'vue';
|
|
import request from '@/request/index.js';
|
|
|
|
//滑块获取验证码
|
|
export function getHkCode(data){
|
|
return request({
|
|
url: `/sys/getHkCode`,
|
|
method: 'post',
|
|
data,
|
|
})
|
|
}
|
|
//发送验证码
|
|
export function smsCode(data){
|
|
return request({
|
|
url: `/sys/smsCode`,
|
|
method: 'post',
|
|
data,
|
|
})
|
|
}
|
|
//验证码是否正确
|
|
export function checkPhoneCode(data){
|
|
return request({
|
|
url: `/sys/checkPhoneCode`,
|
|
method: 'post',
|
|
data,
|
|
})
|
|
}
|
|
|
|
//不知道干啥的
|
|
export function getList(){
|
|
return request({
|
|
url: `/NuBizAdvisoryInfo/nuBizAdvisoryInfo/list`,
|
|
method: 'get',
|
|
})
|
|
} |