WxQrSceneJson scene = new WxQrSceneJson();
scene.setScene_id(sceneId);
WxQrActionInfoJson action = new WxQrActionInfoJson();
action.setScene(scene);
WxQrCreateJson requestJson = new WxQrCreateJson();
requestJson.setAction_name(isTemporary ? "QR_LIMIT_SCENE" : "QR_SCENE");
requestJson.setAction_info(action);
if (isTemporary) {
requestJson.setExpire_seconds(expire_seconds);
}
WxQrEntity result = sendRequest(config.getQrcodeCreateUrl(),
HttpMethod.POST, params, toJsonStringEntity(requestJson),
WxQrEntity.class);