5月05-07日工作

字段变化


collect变更为favorite

变更路由

get_merchandise_list_by_topicID get_merchandise_list_by_userID get_merchandise_list_by_streetID


tag变更为merchantTag

变更路由

get_merchandise_list_by_topicID get_merchandise_list_by_streetID


变更路由get_topic_list

传值添加字段tag(整型),0代表专题,1代表新品


新品列表


路由 URL
get_topic_list
传参 Parameter
'data': { 'startIndex' = 0 'pageCount' = 10 'tag' = 1 }
返回值 Request Return Value
{ "status": "SUCCESS", "data": [ { "topicID": "2016-05-0716122237c60e2e186d7c53647734a1e5ee5fa9", "description": "testINMay", "createTime": "2016-05-07 16:12:23", "topicPath": "...", "visitedCount": 0, "topicName": "testMay" } ] }

新品中商品列表


路由 URL
get_tao_merchandise_list
传参 Parameter
'data': { 'topicID' = '2016-05-0716130460ca0432328c6c9dbc0d51b7aa8804dd' 'startIndex' = 0 'pageCount'= 20 }
返回值 Request Return Value
{ "status": "FAILED", "data": [ { "url": null, "price": 100, "merchandiseID": "2016-05-07155428dd9fbddf648e5f93ac1c52539bc106b9", "visitedCount": 0, "merchandiseName": "西瓜", "createTime": "2016-05-07 15:54:30" } ] }

淘宝商品详情


路由 URL
get_tao_merchandise_detail
传参 Parameter
'data': { 'merchandiseID' = '2016-05-07155428dd9fbddf648e5f93ac1c52539bc106b9' }
返回值 Request Return Value
{ "status": "SUCCESS", "data": [ { "description": "这么贵", "url": null, "price": 100, "merchandiseID": "2016-05-07155428dd9fbddf648e5f93ac1c52539bc106b9", "visitedCount": 0, "path": [ { "path": "..." }, { "path": "..." }, { "path": "..." } ], "merchandiseName": "西瓜", "createTime": "2016-05-07 15:54:30" } ] }

主页信息


路由 URL
get_home_brief_info
传参 Parameter
'data': { 'userID' = '2016-04-23110434a7f93ed08160c35dd0e5647b8578c455' 'tokenID' = 'fa85df1a6c1bd24c8563e70da50ced80' }
返回值 Request Return Value
{ "status": "SUCCESS", "data": [ { "homeInfo": "test5_of_merchant_by_yz", "contact": true, "homeName": "merchanttest5", "portraitPath": "...", "merchantpath": [ { "path": "..." }, { "path": "..." }, { "path": "..." } ] } ] }

添加评论


路由 URL
get_home_brief_info
传参 Parameter
'data': { 'userID' = '2016-04-23110434a7f93ed08160c35dd0e5647b8578c455' 'tokenID' = 'fa85df1a6c1bd24c8563e70da50ced80' }
返回值 Request Return Value
{ "status": "SUCCESS", "data": [ { "homeInfo": "test5_of_merchant_by_yz", "contact": true, "homeName": "merchanttest5", "portraitPath": "...", "merchantpath": [ { "path": "..." }, { "path": "..." }, { "path": "..." } ] } ] }

获取评论列表


路由 URL
get_home_brief_info
传参 Parameter
'data': { 'userID' = '2016-04-23110434a7f93ed08160c35dd0e5647b8578c455' 'tokenID' = 'fa85df1a6c1bd24c8563e70da50ced80' }
返回值 Request Return Value
{ "status": "SUCCESS", "data": [ { "homeInfo": "test5_of_merchant_by_yz", "contact": true, "homeName": "merchanttest5", "portraitPath": "...", "merchantpath": [ { "path": "..." }, { "path": "..." }, { "path": "..." } ] } ] }

编辑发布的商品


路由 URL
update_merchandise_info
传参 Parameter
'data': { 'tokenID' = '9f8dd0cbefac9d17d6d4b437bc3bf093' 'merchandiseID' = '2016-04-25143413e1ac90e5e4ed9985019198e6c6691844' 'merchandiseName' = '新名字222' 'currentPrice' = 100 'oldPrice' = 50 'info' = '新简介' 'shipmentPrice' = 5 'deleteList' = ['2016-05-09153959d9754414c139952d6c78767f7df5f8f5'] 'imgNameList' = ['22', '11', '33'] }
返回值 Request Return Value
{ "status": "SUCCESS", "data": null }

获取商品信息,更新商品使用


路由 URL
update_get_merchandise_detail
传参 Parameter
'data': { 'merchandiseID' = '2016-04-25143413e1ac90e5e4ed9985019198e6c6691844' }
返回值 Request Return Value
{ "status": "SUCCESS", "data": [ { "info": "新简介", "city": "63", "shipmentPrice": 5, "oldPrice": 50, "imgList": [ { "path": "...", "imgPathID": "2016-05-091540017afdb97b60607affe6d300e3718f853c" } ], "merchandiseID": "2016-04-25143413e1ac90e5e4ed9985019198e6c6691844", "currentPrice": 100, "college": "1", "merchandiseName": "新名字222", "merchandiseTypeID": "1" } ] }

你可能感兴趣的:(5月05-07日工作)