|
@@ -146,7 +146,7 @@ public class SendMessageUtils {
|
|
|
paraMap.put("callPhone", callPhone);
|
|
|
paraMap.put("urlPath", urlPath);
|
|
|
paraMap.put("personInfo", person);
|
|
|
- JSONObject param = getTemplate(ctx, templateId, paraMap,messageLogsInfo);
|
|
|
+ LinkedHashMap<String, String> param = getTemplate(ctx, templateId, paraMap, messageLogsInfo);
|
|
|
params.put("params", param);
|
|
|
//ÇëÇó²ÎÊý
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
@@ -208,7 +208,7 @@ public class SendMessageUtils {
|
|
|
* @param paramMap ¸÷ÖÖ²ÎÊý
|
|
|
* @return
|
|
|
*/
|
|
|
- public static JSONObject getTemplate(Context ctx, String templateId, Map<String,Object> paramMap ,MessageLogsInfo messageLogsInfo) throws BOSException {
|
|
|
+ public static LinkedHashMap<String,String> getTemplate(Context ctx, String templateId, Map<String,Object> paramMap ,MessageLogsInfo messageLogsInfo) throws BOSException {
|
|
|
TemplateStrategy strategy = TemplateStrategyFactory.getTemplateStrategy(templateId);
|
|
|
return strategy.getTemplate(ctx, paramMap, messageLogsInfo);
|
|
|
}
|