private String createOrderParam(String orderId) {
   HashMap<String, String> map = new HashMap<>(2);
   map.put(ApiParma.userId.getKey(), MApplication.getInstance().getUserId());
   map.put(ApiParma.orderId.getKey(), orderId);
   String param = new Gson().toJson(map);
   return param;
 }
Exemple #2
0
 public BaseAction() {
   dataApi = MApplication.getInstance().initialize();
 }