Browse Source

用toString

release/11.0
obo 8 months ago
parent
commit
ea09be62bc
  1. 2
      designer-base/src/main/java/com/fr/design/login/message/DesignerMessageHelper.java

2
designer-base/src/main/java/com/fr/design/login/message/DesignerMessageHelper.java

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

Loading…
Cancel
Save