Showing
1 changed file
with
9 additions
and
0 deletions
@@ -21,6 +21,15 @@ public class InBoxSDK { | @@ -21,6 +21,15 @@ public class InBoxSDK { | ||
21 | 21 | ||
22 | private final Logger log = LoggerFactory.getLogger(InBoxSDK.class); | 22 | private final Logger log = LoggerFactory.getLogger(InBoxSDK.class); |
23 | 23 | ||
24 | + /** | ||
25 | + * @param reqVO | ||
26 | + * reqVO中各个参数说明如下 | ||
27 | + * reqVO.type:详见枚举类 InboxBusinessTypeEnum | ||
28 | + * reqVO.businessType:详见枚举类 InboxBusinessTypeEnum | ||
29 | + * reqVO.params:用于替换模板消息的参数,多个参数用美式逗号分隔,例如:10000,abcd | ||
30 | + * | ||
31 | + * @return | ||
32 | + */ | ||
24 | public InBoxResponse addInbox(InboxReqVO reqVO){ | 33 | public InBoxResponse addInbox(InboxReqVO reqVO){ |
25 | log.info("addInbox with param is {}", reqVO); | 34 | log.info("addInbox with param is {}", reqVO); |
26 | InBoxResponse result = restTemplate.getForObject(urlConstant.getInboxAddUrl()+"&uid={1}&type={2}&businessType={3}¶ms={4}",InBoxResponse.class, | 35 | InBoxResponse result = restTemplate.getForObject(urlConstant.getInboxAddUrl()+"&uid={1}&type={2}&businessType={3}¶ms={4}",InBoxResponse.class, |
-
Please register or login to post a comment