Examples of WxQrCreateJson


Examples of org.hamster.weixinmp.model.qr.WxQrCreateJson

    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);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.