...
|
...
|
@@ -21,6 +21,15 @@ public class InBoxSDK { |
|
|
|
|
|
private final Logger log = LoggerFactory.getLogger(InBoxSDK.class);
|
|
|
|
|
|
/**
|
|
|
* @param reqVO
|
|
|
* reqVO中各个参数说明如下
|
|
|
* reqVO.type:详见枚举类 InboxBusinessTypeEnum
|
|
|
* reqVO.businessType:详见枚举类 InboxBusinessTypeEnum
|
|
|
* reqVO.params:用于替换模板消息的参数,多个参数用美式逗号分隔,例如:10000,abcd
|
|
|
*
|
|
|
* @return
|
|
|
*/
|
|
|
public InBoxResponse addInbox(InboxReqVO reqVO){
|
|
|
log.info("addInbox with param is {}", reqVO);
|
|
|
InBoxResponse result = restTemplate.getForObject(urlConstant.getInboxAddUrl()+"&uid={1}&type={2}&businessType={3}¶ms={4}",InBoxResponse.class,
|
...
|
...
|
|