Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 public BaseAction() {
   dataApi = MApplication.getInstance().initialize();
 }