| | |
| | | // 创建临时带参二维码 |
| | | |
| | | JSONObject jsonObject = restTemplate.postForObject(requestUrl, |
| | | "{\"expire_seconds\": 604800, \"action_name\": \"QR_STR_SCENE\", \"action_info\": {\"scene\": {\"scene_str\": "+qrCodeParam+"}}}", |
| | | "{\"expire_seconds\": 604800, \"action_name\": \"QR_LIMIT_STR_SCENE\", \"action_info\": {\"scene\": {\"scene_str\": "+qrCodeParam+"}}}", |
| | | JSONObject.class); |
| | | // JSONObject jsonObject = HttpsUtil.request(requestUrl, "POST", "{\"expire_seconds\": 604800, \"action_name\": \"QR_SCENE\", \"action_info\": {\"scene\": {\"scene_id\": 123}}}"); |
| | | if (ObjectUtil.isNotEmpty(jsonObject)) { |