/*
  * 手太欠
  * 愿这世界都如故事里一样 美好而动人~
*/

import { req } from "../request"

//验证码登录
const smsAuth = data => req({
    url: "user/auth/sms",
    method: "POST",
    data: data
})

//获取验证码
const getSms = data => req({
    url: "user/auth/verify",
    method: "POST",
    data: data
})

//隐私+协议
const registeragree = (website) => req({
    url: "cms/pages/" + website
})

export default ({
    smsAuth,
    getSms,
    registeragree
})