fix: 调整短信查询返回结构
parent
e62304d43f
commit
d01d6289ed
@ -0,0 +1,9 @@
|
|||||||
|
package com.shxy.xymanager_common.model;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class SmsReturn {
|
||||||
|
Integer type;
|
||||||
|
Object data;
|
||||||
|
}
|
@ -1,11 +1,12 @@
|
|||||||
package com.shxy.xymanager_service.service;
|
package com.shxy.xymanager_service.service;
|
||||||
|
|
||||||
import com.shxy.xymanager_common.model.SmsModel;
|
import com.shxy.xymanager_common.model.SmsModel;
|
||||||
|
import com.shxy.xymanager_common.model.SmsReturn;
|
||||||
|
|
||||||
|
|
||||||
public interface SmsService {
|
public interface SmsService {
|
||||||
|
|
||||||
void sendSms(SmsModel model);
|
void sendSms(SmsModel model);
|
||||||
|
|
||||||
Object listSms(Integer termId);
|
SmsReturn listSms(Integer termId);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue