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.
23 lines
533 B
23 lines
533 B
5 months ago
|
import request from '@/utils/request'
|
||
|
|
||
|
// api地址
|
||
|
const api = {
|
||
|
image: 'captcha/image',
|
||
|
sendSmsCaptcha: 'captcha/sendSmsCaptcha',
|
||
|
getStoreInfo:'store/getStoreInfo'
|
||
|
}
|
||
|
|
||
|
// 图形验证码
|
||
|
export function image() {
|
||
|
return request.get(api.image, {}, { load: false })
|
||
|
}
|
||
|
|
||
|
// 发送短信验证码
|
||
|
export function sendSmsCaptcha(data) {
|
||
|
return request.post(api.sendSmsCaptcha, data, { load: false })
|
||
|
}
|
||
|
// 发送短信验证码
|
||
|
export function getStoreInfo(data) {
|
||
|
return request.get(api.getStoreInfo, data, { load: false })
|
||
|
}
|