import {fetch} from '@ttk/utils'

const proxy = '/mock'
export default {
    registry: (option) => fetch.get(`${proxy}/registry/submit`, option),
    getImg: (option) => fetch.get(`${proxy}/registry/verifyCode`, option),
    sendCode: (option) => fetch.get(`${proxy}/registry/sendCode`, option)
}