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

import { req } from "../request"

//初始化接口
const Init = () => req({
    url: "drink/init"
})

// 基本资料初始化
const Base = () => req({
    url: "drink/base/init"
})

//提交基本资料
const Store = data => req({
    url: "drink/base/store",
    method: "POST",
    data: data
})

//添加饮用水
const Drink = data => req({
    url: "drink/drink",
    method: "POST",
    data: data
})

export default ({
    Init,
    Base,
    Store,
    Drink
})