Browse Source

Pull request #13805: REPORT-116843 设计器国际化适配

Merge in DESIGN/design from ~OBO/design1:release/11.0 to release/11.0

* commit 'ea09be62bc2916ad34fc1dc4cd86f021d53373b4':
  用toString
  REPORT-116843 设计器国际化适配
release/11.0
Obo-王学仁 8 months ago
parent
commit
c4a7652918
  1. 1
      designer-base/src/main/java/com/fr/design/login/message/DesignerMessageHelper.java

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

@ -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);

Loading…
Cancel
Save