package cn.com.poc.common.rest;

import cn.com.yict.framemax.core.rest.BaseRest;
import cn.com.yict.framemax.web.permission.Access;
import cn.com.yict.framemax.web.permission.Permission;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author jennie.chen
 * @date 2024/7/22
 **/
@Permission(Access.Anonymous)
public interface SmsRest extends BaseRest{

    /**
     * 短信下发（获取验证码）
     *
     * @param phone
     * @throws Exception
     */
    void smsDelivered(@RequestParam String phone) throws Exception;
}
