コード例 #1
0
 /** 增加电子订单 */
 private String addelectororderForJshop(String tablestate, String tableNumber) {
   String posturl =
       JshopActivityUtil.BASE_URL
           + "/"
           + JshopMPostActionList.ADDELECTRONICMENUORDERTFORANDORID
           + "?tablestate="
           + tablestate
           + "&tableNumber="
           + tableNumber;
   return JshopActivityUtil.queryStringForPost(posturl);
 }
コード例 #2
0
 /**
  * 根据餐桌号获取电子菜单信息
  *
  * @param tablestate
  * @param tableNumber
  * @return
  */
 private String findelectrocartForJshop(String tablestate, String tableNumber) {
   String posturl =
       JshopActivityUtil.BASE_URL
           + "/"
           + JshopMPostActionList.FINDALLELECTRONICMENUCARTTBYTABLENUMBERFORANDROID
           + "?tablestate="
           + tablestate
           + "&tableNumber="
           + tableNumber;
   return JshopActivityUtil.queryStringForPost(posturl);
 }
コード例 #3
0
 /**
  * 向服务器端发送请求获取goodslist信息
  *
  * @return
  */
 private String addelectrocartForJshop(String goodsid, String tablestate, String tableNumber) {
   String posturl =
       JshopActivityUtil.BASE_URL
           + "/"
           + JshopMPostActionList.ADDELECTRONICMENUCARTFORANDROID
           + "?goodsid="
           + goodsid
           + "&tableNumber="
           + tableNumber
           + "&tablestate="
           + tablestate
           + "&needquantity="
           + needquantity;
   return JshopActivityUtil.queryStringForPost(posturl);
 }