1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
| package com.gk.hotwork.Service;
|
| import java.util.Map;
|
| public interface SmsService {
|
| void send(String phone,String phoneUser,String tplId, Map<String,Object> params);
|
| /**
| * @Description: 在某段时间key是否超过限制,超过则抛出的异常信息为msg
| * @date 2022/5/16 10:33
| */
| boolean isMaxLimited(String key, Integer limit, String msg);
|
|
| }
|
|