创作者微信小程序端
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.
 
 
 
 

32 lines
535 B

import request from '@/utils/request'
const serviceTitle = '/auth'
//GET 传参需要用 params
//POST 传参需要用 data
// 艺术家登录
export function login(data) {
return request({
url: `${serviceTitle}/creatorLogin`,
method: 'post',
data
})
}
// 艺术家登出
export function logout(data) {
return request({
url: `${serviceTitle}/creatorLogout`,
method: 'post',
data
})
}
// 获取验证码
export function getCodeImg() {
return request({
url: '/code',
method: 'get',
timeout: 20000
})
}