package com.deepin.assistant.http.api

import com.hjq.http.config.IRequestApi

/**
 *    author : Android 轮子哥
 *    github : https://github.com/getActivity/AndroidProject-Kotlin
 *    time   : 2019/12/07
 *    desc   : 获取验证码
 */
class GetCodeApi : IRequestApi {

    override fun getApi(): String {
        return "code/get"
    }

    /** 手机号 */
    private var phone: String? = null

    fun setPhone(phone: String?): GetCodeApi = apply {
        this.phone = phone
    }
}