һ.

1.1.ݳбȡϢ
http://localhost:8080/mele/apis/CityServlet?func=getCityByCityCode&cityCode=0753
1.2 ȡг
http://localhost:8080/mele/apis/CityServlet?func=getAllCity
1.3 ӳ
http://localhost:8080/mele/apis/CityServlet?func=addcity&cityCode=3939&cityName=CITY
1.4 ɾ
http://localhost:8080/mele/apis/CityServlet?func=deleteCity&cityCode=07gg
1.5 ɾг
http://localhost:8080/mele/apis/CityServlet?func=deleteAllCities
1.6 ³
http://localhost:8080/mele/apis/CityServlet?func=updateCityName&cityCode=3939&cityName=CITY
1.7 ȡг
http://localhost:8080/mele/apis/CityServlet?func=fetchAllCities
1.8 ݳƻȡ
http://localhost:8080/mele/apis/CityServlet?func=fetchCityByCityName&cityName=CITY 

.(****)

2.1 Ӷ(ûԱ¼ܲ)
http://localhost:8080/mele/apis/OrderServlet?func=addOrder&userAccount=2&orderCode=2&storeId=1&userAddressId=1&orderFoodId=1&orderFoodPriceXNum=1&userNote=1&orderDate=1&comment=1
2.2 ɾ(ûԱ¼ܲ)
http://localhost:8080/mele/apis/OrderServlet?func=delOrder&orderCode=1
2.3 ɾûеĶ(ûԱ¼ܲ)
http://localhost:8080/mele/apis/OrderServlet?func=deleteAllOrdersInAccount&account=2
2.4 ɾ̼ҵж
http://localhost:8080/mele/apis/OrderServlet?func=deleteAllOrdersInStore&storeId=2
2.5 ¶(ûԱ¼ܲ)
http://localhost:8080/mele/apis/OrderServlet?func=updateOrderComment&orderCode=2016060712000123&comment=goodfood
2.6 ȡϢ
http://localhost:8080/mele/apis/OrderServlet?func=fetchOrder&orderCode=2016060712000123
2.7 ȡûжϢ(ûԱ¼ܲ)
http://localhost:8080/mele/apis/OrderServlet?func=fetchAllOrderInAccount&account=HiKu
2.8 ̼idȡ̼ҵϢ
http://localhost:8080/mele/apis/OrderServlet?func=fetchAllOrderInStore&storeId=1
2.9 ȡж
http://localhost:8080/mele/apis/OrderServlet?func=fetchAllOrder
3.0 һ
http://localhost:8080/mele/apis/OrderServlet?func=cacheOrder&storeId=1&orderFoodId=1;4;6;&orderFoodPriceXNum=3x2;6.5x1;5.5x2;
3.1 ȡѻ涩
http://localhost:8080/mele/apis/OrderServlet?func=readCacheOrder
3.2 ύһ涩
http://localhost:8080/mele/apis/OrderServlet?func=submitCacheOrder

. ̼Ҳ˵


3.1 Ӳ˵
http://localhost:8080/mele/apis/StoreMenuServlet?func=addFood&storeId=122&foodId=1393&foodName=188&foodPrices=1&foodType=1&foodIc=9090
3.2 ɾ̼ҵʳ
http://localhost:8080/mele/apis/StoreMenuServlet?func=deleteFood&storeId=122&foodId=1393
3.3 ɾʳ
http://localhost:8080/mele/apis/StoreMenuServlet?func=deleteAllFoods
3.4 ʳ
http://localhost:8080/mele/apis/StoreMenuServlet?func=updateFoodName&storeId=1&foodId=1&foodName=123
3.5 ʳ۸
http://localhost:8080/mele/apis/StoreMenuServlet?func=updateFoodPrices&storeId=1&foodId=1&foodPrices=1999
3.6 ʳ
http://localhost:8080/mele/apis/StoreMenuServlet?func=updateFoodType&&storeId=1&foodId=1&foodType=dddd
3.7 ʳͼ
http://localhost:8080/mele/apis/StoreMenuServlet?func=updateFoodIc&&storeId=13&foodId=23&foodIc=hhhh.c
3.8  ޸̼ҲʽϢ(δ)
http://localhost:8080/mele/apis/StoreMenuServlet?
3.9 ȡʳ
http://localhost:8080/mele/apis/StoreMenuServlet?func=fetchAllFoods
3.10 ̼IdȡвʽϢ
http://localhost:8080/mele/apis/StoreMenuServlet?func=fetchAllFoodsByStoreId&storeId=1222
3.11 ȡָ۸вʽϢ
http://localhost:8080/mele/apis/StoreMenuServlet?func=fetchAllFoodsByFoodPrices&minPrices=0&maxPrices=12&storeId=1
3.12 ̼IdʽIdȡʽϢ
http://localhost:8080/mele/apis/StoreMenuServlet?&func=fetchAllFoodsByFoodType&foodType=1&storeId=1
3.13 ̼IdһʽIdȡʽϢ
http://localhost:8080/mele/apis/StoreMenuServlet?&func=fetchFood&foodId=4&storeId=9
3.14 ȡָ̼ҵвʽ
http://localhost:8080/mele/apis/StoreMenuServlet?&func=fetchAllFoodTypeByStoreId&storeId=9

.̼


4.1̼
http://localhost:8080/mele/apis/StoreServlet?func=addStore&storeId=121&storeName=1&storeLogo=1&tel=1&cityCode=1&shopHours=1&latlng=1&startPrice=1&transportPrice=1&notice=1&cheapenNotice=1&newuserNotice=1&storeType=1&uAccount=1&address=1
4.2̼IDɾ̼
http://localhost:8080/mele/apis/StoreServlet?func=deleteStore&storeId=1
4.3 ݳбɾ̼
http://localhost:8080/mele/apis/StoreServlet?func=deleteStoreByCityCode&cityCode=4
4.3 ɾ̼
http://localhost:8080/mele/apis/StoreServlet?func=deleteAllStores
4.4 ̼
http://localhost:8080/mele/apis/StoreServlet?func=updateStoreName&storeName=Username&storeId=10
4.4 ̼logo
http://localhost:8080/mele/apis/StoreServlet?func=updateStoreLogo&storeId=22&storeLogo=233.jpg
4.5 ̼Ӫҵʱ
http://localhost:8080/mele/apis/StoreServlet?func=updateStoreShopHours&storeId=22&shopHours=13:999
4.6 ̼ҵͼԼ˷
http://localhost:8080/mele/apis/StoreServlet?func=updateStorePrice&storeId=22&startPrice=90&transportpricePrice=999
4.7 ̼ҵʾϢ
http://localhost:8080/mele/apis/StoreServlet?func=updateStoreNotice&storeId=22&notice=2&cheapenNotice=3&newUserNotice=NNNNN
4.8 ̼ҵ绰
http://localhost:8080/mele/apis/StoreServlet?func=updateStoreTel&storeId=22&tel=333331111
4.9 ȡ̼
http://localhost:8080/mele/apis/StoreServlet?func=fetchAllStores
4.10 ݳбŻȡ̼
http://localhost:8080/mele/apis/StoreServlet?func=fetchAllStoresByCityCode&cityCode=0753
4.11 ͼ۸ȡ̼
http://localhost:8080/mele/apis/StoreServlet?func=fetchAllStoresByStartPrice&minPrice=7&maxPrice=8
4.12  ̼Ϣ(δ)
http://localhost:8080/mele/apis/StoreServlet?func=fetchAllStoresByTypeId&storeTypeId=99
4.13 ̼IDȡ̼
http://localhost:8080/mele/apis/StoreServlet?func=fetchStoreByStoreId&storeId=10
4.14 ̼Idȡָ̼
http://localhost:8080/mele/apis/StoreServlet?func=fetchAllStoresByCityCodeNTypeId&storeTypeId=1&cityCode=0753
4.15 ͼۻȡָ̼
http://localhost:8080/mele/apis/StoreServlet?func=fetchAllStoresByCityCodeNStartPrice&minPrice=7&maxPrice=8&cityCode=0753

.û
5.1 û(POSTʽ)
http://localhost:8080/mele/apis/UserServlet?func=addUser&account=1&password=1&tel=1&email=1&paypassword=1&headic=1&level=2
5.2 û½(POSTʽ)
http://localhost:8080/mele/apis/UserServlet?func=login
5.3 ȡǰ¼û
http://localhost:8080/mele/apis/UserServlet?func=getCurAccount
5.4 ûע
http://localhost:8080/mele/apis/UserServlet?func=logout
