Commit 768b0c0d authored by liuyuzhen's avatar liuyuzhen

接口页面化

parent c3a6e5fc
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<body> <body>
<div class="detail"> <div class="detail">
<ul> <ul>
<?php <?php phpinfo();
$len = count($problemList); $len = count($problemList);
foreach($problemList as $key=>$problem){?> foreach($problemList as $key=>$problem){?>
<li <?php if($key==($len-1)){?> class="li-last"<?php }?> onclick="goToDetail('<?php echo $problem['problemId'];?>')"><?php echo $problem['problemTitle']?></li> <li <?php if($key==($len-1)){?> class="li-last"<?php }?> onclick="goToDetail('<?php echo $problem['problemId'];?>')"><?php echo $problem['problemTitle']?></li>
......
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>加入购物车</title>
<style>
</style>
<script>
</script>
</head>
<body>
<form action="/cart/add" method="post">
key:<input name="data[key]" value="6d212e880869eb4960cf81700f1369fe"/><br />
商品ID:<input name="data[goodsId]" value=""/><br />
商品数量:<input name="data[goodsNum]" value=""/><br />
组合销售Id:<input name="data[blId]" value=""/><br />
组合销售数量:<input name="data[blNum]" value=""/><br />
商品类型: <input name="data[type]" checked type="radio" value="1"/>商品加入购物车 <input name="data[type]" checked type="radio" value="2"/>组合销售加入购物后 <br />
<input type="submit" value="提交">
</form>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>生成订单</title>
<style>
</style>
<script>
</script>
</head>
<body>
<form action="/cart/addOrder" method="post">
key:<input name="data[key]" value="6d212e880869eb4960cf81700f1369fe"/><br />
下单参数param:<input name="data[param]" value=""/><br />
<input type="submit" value="提交">
</form>
</body>
</html>
\ No newline at end of file
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<body> <body>
<form action="/cart/checkout" method="post"> <form action="/cart/checkout" method="post">
key:<input name="data[key]" value="6d212e880869eb4960cf81700f1369fe"/><br /> key:<input name="data[key]" value="6d212e880869eb4960cf81700f1369fe"/><br />
商品ID:<input name="data[cartIds]" value=""/><br /> 购物车ID(多个以','分隔):<input name="data[cartIds]" value=""/><br />
<input type="submit" value="提交"> <input type="submit" value="提交">
</form> </form>
</body> </body>
......
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>删除购物车商品</title>
<style>
</style>
<script>
</script>
</head>
<body>
<form action="/cart/delete" method="post">
key:<input name="data[key]" value="6d212e880869eb4960cf81700f1369fe"/><br />
购物车ID(多个以','分隔):<input name="data[cartIds]" value=""/><br />
<input type="submit" value="提交">
</form>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>更改购物车</title>
<style>
</style>
<script>
</script>
</head>
<body>
<form action="/cart/edit" method="post">
key:<input name="data[key]" value="6d212e880869eb4960cf81700f1369fe"/><br />
购物车ID:<input name="data[cartId]" value=""/><br />
普通商品ID:<input name="data[goodsId]" value=""/><br />
购物车数量:<input name="data[goodsNum]" value=""/><br />
<input type="submit" value="提交">
</form>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>获取购物车信息</title>
<style>
</style>
<script>
</script>
</head>
<body>
<form action="/cart/get" method="post">
key:<input name="data[key]" value="6d212e880869eb4960cf81700f1369fe"/><br />
页码:<input name="data[pageIndex]" value=""/><br />
每页条数:<input name="data[pageSize]" value=""/><br />
<input type="submit" value="提交">
</form>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>获取购物车多规格商品规格</title>
<style>
</style>
<script>
</script>
</head>
<body>
<form action="/cart/getCartGoodsAttr" method="post">
key:<input name="data[key]" value="6d212e880869eb4960cf81700f1369fe"/><br />
购物车ID(多个以','分隔):<input name="data[cartId]" value=""/><br />
<input type="submit" value="提交">
</form>
</body>
</html>
\ No newline at end of file
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>购物车结算流程</title> <title>从购物车移入收藏夹</title>
<style> <style>
</style> </style>
<script> <script>
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<body> <body>
<form action="/cart/moveToFavorites" method="post"> <form action="/cart/moveToFavorites" method="post">
key:<input name="data[key]" value="6d212e880869eb4960cf81700f1369fe"/><br /> key:<input name="data[key]" value="6d212e880869eb4960cf81700f1369fe"/><br />
商品ID:<input name="data[cartIds]" value=""/><br /> 购物车ID(多个以','分隔):<input name="data[cartIds]" value=""/><br />
<input type="submit" value="提交"> <input type="submit" value="提交">
</form> </form>
</body> </body>
......
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>添加足迹</title>
<style>
</style>
</head>
<body>
<form action="/footprint/addBrowseRecord" method="post">
用户登录状态key:<input name="data[key]" value="6d212e880869eb4960cf81700f1369fe"/><br />
商品commonid: <input name="data[goodsCommonId]" value="101509" /> <br/>
<input type="submit" value="提交">
</form>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>删除足迹</title>
<style>
</style>
</head>
<body>
<form action="/footprint/delFootPrint" method="post">
用户登录状态key:<input name="data[key]" value="6d212e880869eb4960cf81700f1369fe"/><br />
商品commonid(数组): <input name="data[ids]" value="119.285956" /> <br/>
<input type="submit" value="提交">
</form>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>平台全部分类</title>
<style>
</style>
</head>
<body>
<form action="/footprint/getDate" method="post">
用户登录状态key:<input name="data[key]" value="6d212e880869eb4960cf81700f1369fe"/><br />
月份: <input name="data[month]" value="8" /> <br/>
年份: <input name="data[year]" value="2018" /> <br/>
排序: <input name="data[sort]" value="1" type="radio" checked/>升序 <input name="data[sort]" value="2" type="radio" checked/>降序 <br/>
<input type="submit" value="提交">
</form>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>按日期获取足迹</title>
<style>
</style>
</head>
<body>
<form action="/footprint/getFootprints" method="post">
用户登录状态key:<input name="data[key]" value="6d212e880869eb4960cf81700f1369fe"/><br />
浏览日期时间戳: <input name="data[viewTime]" value="1534262400" /> <br/>
<input type="submit" value="提交"/>
</form>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>获取组合销售详情</title>
<style>
</style>
</head>
<body>
<form action="/group/get" method="post">
用户登录状态key:<input name="data[key]" value="6d212e880869eb4960cf81700f1369fe"/><br />
组合销售ID:<input name="data[groupId]" value="22"/><br />
<input type="submit" value="提交">
</form>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>平台全部分类</title>
<style>
</style>
</head>
<body>
<form action="/home/getAllClasses" method="post">
用户登录状态key:<input name="data[key]" value="6d212e880869eb4960cf81700f1369fe"/><br />
经度: <input name="data[lng]" value="119.285956" /> <br/>
纬度: <input name="data[lat]" value="26.064981" /> <br/>
城市编码: <input name="data[cityCode]" value="0591" /> <br/>
<input type="submit" value="提交">
</form>
</body>
</html>
\ No newline at end of file
getOtherGoods
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>换一批附近的店</title>
<style>
</style>
</head>
<body>
<form action="/home/getOtherGoods" method="post">
用户登录状态key:<input name="data[key]" value="6d212e880869eb4960cf81700f1369fe"/><br />
<input type="submit" value="提交">
</form>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>换一批附近的店</title>
<style>
</style>
</head>
<body>
<form action="/home/getOtherStores" method="post">
用户登录状态key:<input name="data[key]" value="6d212e880869eb4960cf81700f1369fe"/><br />
<input type="submit" value="提交">
</form>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>平台首页</title>
<style>
</style>
</head>
<body>
<form action="/home/index" method="post">
用户登录状态key:<input name="data[key]" value="6d212e880869eb4960cf81700f1369fe"/><br />
经度: <input name="data[lng]" value="119.285956" /> <br/>
纬度: <input name="data[lat]" value="26.064981" /> <br/>
城市编码: <input name="data[cityCode]" value="0591" /> <br/>
地址ID:<input name="data[addressId]" value=""/><br/>
<input type="submit" value="提交">
</form>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>获得已发送消息的用户列表和(系统消息,订单消息,快递用户消息最后一条消息)</title>
<style>
</style>
</head>
<body>
<form action="/message/get" method="post">
用户登录状态key:<input name="data[key]" value="6d212e880869eb4960cf81700f1369fe"/><br />
接受消息用户ID:<input name="data[toId]" value=""/><br />
接受消息用户类型:<input name="data[toType]" value="1" type="radio" checked/>系统消息 <input type="radio" name="data[toType]" value="2"/>订单消息 <input name="data[toType]" value="3" type="radio" />快递消息 <input type="radio" name="data[toType]" value="4"/>店铺消息 <input type="radio" name="data[toType]" value="5"/>普通消息 <input name="data[toType]" value="6" type="radio" />老师 <br />
自己发送消息的用户类型:<input name="data[fromType]" value=""/> <br />
页码:<input name="data[pageIndex]" value="" /><br/>
每页条数:<input name="data[pageSize]" value="" /><br/>
<input type="submit" value="提交">
</form>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>删除消息</title>
<style>
</style>
</head>
<body>
<form action="/message/remove" method="post">
用户登录状态key:<input name="data[key]" value="6d212e880869eb4960cf81700f1369fe"/><br />
消息ID:<input name="data[id]" value="1"/><br />
<input type="submit" value="提交">
</form>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>删除消息</title>
<style>
</style>
</head>
<body>
<form action="/message/update" method="post">
用户登录状态key:<input name="data[key]" value="6d212e880869eb4960cf81700f1369fe"/><br />
用户自己的身份:<input name="data[fromType]" value="1"/><br />
要更新的用户的用户id :<input name="data[toId]" value="1"/><br />
要更新的用户的用户类型 :<input name="data[toType]" value="1"/><br />
<input type="submit" value="提交">
</form>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>获取平台服务电话</title>
<style>
</style>
</head>
<body>
<form action="/setting/getCurrentVersion" method="post">
key:<input name="data[key]" value="6d212e880869eb4960cf81700f1369fe" /><br />
版本类型:<input name="data[type]" value="1" type="radio" checked />安卓 <input name="data[type]" value="1" type="radio" />iOS <br/>
<input type="submit" value="提交">
</form>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>获取优惠券对应商品列表</title>
<style>
</style>
</head>
<body>
<form action="/store/getCouponGoodsList" method="post">
用户登录状态key:<input name="data[key]" value="6d212e880869eb4960cf81700f1369fe"/><br />
店铺ID:<input name="data[storeId]" value="11"/><br />
优惠券ID:<input name="data[couponId]" value="11"/><br />
页码:<input name="data[pageIndex]" value="0"/><br />
页码:<input name="data[pageSize]" value="5"/><br />
属性值: <input name="data[attrValue]" value=""/><br/>
关键词: <input name="data[keyword]" value=""/><br/>
最低价格: <input name="data[minPrice]" value=""/><br/>
最高价格: <input name="data[maxPrice]" value=""/><br/>
排序方式: <input name="data[goodsSort]" value="1" type="radio" checked />综合 <input name="data[goodsSort]" value="2" type="radio" />销量 <input name="data[goodsSort]" value="3" type="radio" />新品 <input name="data[goodsSort]" value="4" type="radio" />价格降序 <input name="data[goodsSort]" value="5" type="radio" />价格升序 <br/>
<input type="submit" value="提交">
</form>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>获取组合销售标题列表</title>
<style>
</style>
</head>
<body>
<form action="/store/getCouponTitles" method="post">
用户登录状态key:<input name="data[key]" value="6d212e880869eb4960cf81700f1369fe"/><br />
店铺ID:<input name="data[storeId]" value="11"/><br />
<input type="submit" value="提交">
</form>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>获取组合销售对应商品列表</title>
<style>
</style>
</head>
<body>
<form action="/store/getGroupSaleGoodsList" method="post">
用户登录状态key:<input name="data[key]" value="6d212e880869eb4960cf81700f1369fe"/><br />
店铺ID:<input name="data[storeId]" value="11"/><br />
页码:<input name="data[pageIndex]" value="0"/><br />
每页条数:<input name="data[pageSize]" value="5"/><br />
<input type="submit" value="提交">
</form>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>根据一级分类获取推荐店铺</title>
<style>
</style>
</head>
<body>
<form action="/store/getRecommendStores" method="post">
用户登录状态key:<input name="data[key]" value="6d212e880869eb4960cf81700f1369fe"/><br />
分类ID:<input name="data[gcId]" value="11"/><br />
<input type="submit" value="提交">
</form>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>获取店铺基本信息</title>
<style>
</style>
</head>
<body>
<form action="/store/getStoreInfo" method="post">
用户登录状态key:<input name="data[key]" value="6d212e880869eb4960cf81700f1369fe"/><br />
店铺ID:<input name="data[storeId]" value="11"/><br />
经度:<input name="data[lng]" value="11"/><br />
纬度:<input name="data[lat]" value="11"/><br />
是否扫码进去:<input name="data[isScan]" value="0" type="radio" checked/><input name="data[isScan]" value="1" type="radio" /><br />
销售活动关联id:<input name="data[sid]" value=""/><br />
<input type="submit" value="提交">
</form>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>根据一级分类获取推荐店铺</title>
<style>
</style>
</head>
<body>
<form action="/store/index" method="post">
用户登录状态key:<input name="data[key]" value="6d212e880869eb4960cf81700f1369fe"/><br />
分类ID:<input name="data[storeId]" value="11"/><br />
<input type="submit" value="提交">
</form>
</body>
</html>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment