|
|
@ -77,6 +77,7 @@ public class DesignerMessageHelper { |
|
|
|
String url = CloudCenter.getInstance().acquireUrlByKind("designer.message.push", "https://market.fanruan.com/api/v1/message/designer"); |
|
|
|
String url = CloudCenter.getInstance().acquireUrlByKind("designer.message.push", "https://market.fanruan.com/api/v1/message/designer"); |
|
|
|
Map<String, String> params = new HashMap<>(); |
|
|
|
Map<String, String> params = new HashMap<>(); |
|
|
|
params.put("designerId", DesignerEnvManager.getEnvManager().getUUID()); |
|
|
|
params.put("designerId", DesignerEnvManager.getEnvManager().getUUID()); |
|
|
|
|
|
|
|
params.put("lang", DesignerEnvManager.getEnvManager().getLanguage().toString()); |
|
|
|
String result = HttpToolbox.post(url, params); |
|
|
|
String result = HttpToolbox.post(url, params); |
|
|
|
JSONObject response = JSONFactory.createJSON(JSON.OBJECT, result); |
|
|
|
JSONObject response = JSONFactory.createJSON(JSON.OBJECT, result); |
|
|
|
String status = response.optString(STATUS); |
|
|
|
String status = response.optString(STATUS); |
|
|
|