public interface SmsService
extends com.ptteng.common.dao.BaseDaoService
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
ErrorCode_sendError |
static String |
ErrorCode_SMS_InvalidType |
static String |
ErrorCode_SMS_smsMoreThan5 |
| 限定符和类型 | 方法和说明 |
|---|---|
Integer |
countSmsIds() |
boolean |
delete(Long id) |
Sms |
getObjectById(Long id) |
List<Sms> |
getObjectsByIds(List<Long> ids) |
Long |
getSmsIdByMobileAndType(String mobile,
String type) |
List<Long> |
getSmsIds(Integer start,
Integer limit) |
Long |
insert(Sms sms) |
List<Sms> |
insertList(List<Sms> smsList) |
String |
sendMsg(String phone,
String type)
send message
|
String |
sendVoice(String phone,
String type)
send voice
|
boolean |
update(Sms sms) |
boolean |
updateList(List<Sms> smsList) |
Long insert(Sms sms) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionList<Sms> insertList(List<Sms> smsList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionboolean delete(Long id) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionboolean update(Sms sms) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionboolean updateList(List<Sms> smsList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionSms getObjectById(Long id) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionList<Sms> getObjectsByIds(List<Long> ids) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionLong getSmsIdByMobileAndType(String mobile, String type) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionList<Long> getSmsIds(Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionInteger countSmsIds() throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionString sendMsg(String phone, String type) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
phone - type - com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionExceptionString sendVoice(String phone, String type) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
phone - type - com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionExceptionCopyright © 2018. All rights reserved.