Authored by tanling

fix

... ... @@ -28,7 +28,7 @@ public class MiniMsgSendConsumer implements YhConsumer {
logger.info("Enter MiniMsgSendConsumer.handleMessage param is {}",o);
MiniappMsgReqBO msgReqBO = JSONObject.parseObject(String.valueOf(o), MiniappMsgReqBO.class);
JSONObject result = miniAppService.sendMiniappMsg(msgReqBO);
logger.info("End MiniMsgSendConsumer. uid is {}, order_code is {}, result is {}", msgReqBO.getOrderCode(), msgReqBO.getUid(), result);
logger.info("End MiniMsgSendConsumer. uid is {}, order_code is {}, result is {}", msgReqBO.getUid(), msgReqBO.getOrderCode(), result);
} catch (Exception e) {
logger.warn("Error MiniMsgSendConsumer e is {}",e);
}
... ...
... ... @@ -146,7 +146,7 @@ public class MiniServiceAppImpl implements IMiniAppService {
bodyParam.put("form_id", reqBO.getFormId());
bodyParam.put("data", reqBO.getData());
logger.info("sendTemplateMsg url is {}, body is {}", urlBuilder.toString(), JSONObject.toJSONString(bodyParam));
logger.info("sendTemplateMsg url is {}, body is {}, uid is {}, ordercode is {}", urlBuilder.toString(), JSONObject.toJSONString(bodyParam), reqBO.getUid(), reqBO.getOrderCode());
JSONObject result = WeChatUtils.httpRequest(urlBuilder.toString(), METHOD_POST, JSONObject.toJSONString(bodyParam));
// logger.info("sendMiniappMsg, msg send, order is {}, result is {}",reqBO.getOrderCode(), JSONObject.toJSONString(result));
return result;
... ...