Home - 购食汇Q3 登录  
最后修改者: root  2017-09-12 10:45:27 

查看退货退款单详情-增加商家、平台处理时间

编号  :  9

GET - index.php?act=member_return&op=view,index.php?act=member_refund&op=view
请求参数
参数名 参数类型 必传 缺省值 描述
返回值
seller_time-卖家处理时间,admin_time-管理员处理时间
最后修改者: root  2017-09-11 17:19:03 

获取优惠券详情

编号  :  9

POST - /mobile/index.php?act=index&op=getVoucherInfo
请求参数
参数名 参数类型 必传 缺省值 描述
voucher_t_id string Y 模板id
返回值
{
    "code": 200,
    "datas": {
        "voucher_t_id": "222",
        "voucher_t_index": "3E29A02D9047CE7A249B54ABD84B39C9",
        "voucher_t_title": "0911平台积分兑换优惠券",
        "voucher_t_desc": "11111",
        "voucher_t_start_date": "1505099880",
        "voucher_t_end_date": "1514690220",
        "voucher_t_price": "3",
        "voucher_t_limit": "4.00",
        "voucher_t_store_id": "0",
        "voucher_t_storename": "平台",
        "voucher_t_sc_id": "0",
        "voucher_t_creator_id": "1",
        "voucher_t_state": "1",
        "voucher_t_total": "1111",
        "voucher_t_giveout": "2",
        "voucher_t_used": "0",
        "voucher_t_add_date": "1505099881",
        "voucher_t_quotaid": "0",
        "voucher_t_points": "348", //兑换所需积分
        "voucher_t_eachlimit": "0",
        "voucher_t_styleimg": null,
        "voucher_t_customimg": null,
        "voucher_t_recommend": "0",
        "voucher_isfornew": "0",
        "voucher_t_isview": "1",
        "voucher_t_isplatform": "1",
        "type_id": "1",
        "bind_data_type": "0",
        "bind_data_max_number": "5",
        "voucher_t_isshare": "0",
        "voucher_update_time": "0",
        "allow_points_exchange": "1", //是否允许积分兑换
        "is_fornew": "0"
    }
}
最后修改者: root  2017-09-11 10:50:50 

商品列表优化-是否有库存。

编号  :  9

POST - all_goods_list
请求参数
参数名 参数类型 必传 缺省值 描述
返回值
goods_storage  商品库存
最后修改者: root  2017-08-10 19:36:23 

广告条-新增跳转类型

编号  :  1

GET - @
请求参数
参数名 参数类型 必传 缺省值 描述
返回值
t跳转类型新增关键字-quanzi对于值为跳转的圈子帖子id
最后修改者: root  2017-08-10 14:13:07 

切换城市

编号  :  1

POST - index.php?act=index&op=switch_city
所有参数可以在基础参数中
请求参数
参数名 参数类型 必传 缺省值 描述
city_id int Y 城市id
key string Y 登录后的key 已登录就传未登录就空
最后修改者: root  2017-08-08 13:33:45 

获取发帖字数限制

编号  :  006

POST - mobile/index.php?act=circle_index&op=get_release_info
请求参数
参数名 参数类型 必传 缺省值 描述
返回值
{
  "code": 200,
  "name": "circle_contentleast",
  "value": "2"
}
最后修改者: root  2017-08-24 14:52:24 

圈子名称信息

编号  :  001

POST - mobile/index.php?act=circle_index&op=get_circle_info
请求参数
参数名 参数类型 必传 缺省值 描述
返回值
{
  "code": 200,
  "menu_list": [
    {
      "name": "circle_name",
      "value": "主题圈子",
      "foot_mark": 2
    }
  ]
}
最后修改者: root  2017-08-07 17:55:53 

取消收藏接口

编号  :  001

POST - mobile/index.php?act=member_circle&op=cancel_collection
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y 用户登录token
theme_id int Y 帖子id
返回值
{
  "code": 200,
  "msg": 1
}
最后修改者: root  2017-08-02 17:17:26 

删除帖子接口

编号  :  26

POST - mobile/index.php?act=member_circle&op=del_theme
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y 用户登录token
type int Y 删除类型:1 发帖 2 收藏
theme_id int Y 帖子id
返回值
{
  "code": 200,
  "msg": 1
}
最后修改者: root  2017-07-27 15:29:31 

社区运营平台app版本更新接口

编号  :  100

POST - http://container.test.ifoodtube.com/mobile/index.php?act=index&op=apk_versionV2
ios :http://container.test.ifoodtube.com/mobile/index.php?act=index&op=ios_versionV2
请求参数
参数名 参数类型 必传 缺省值 描述
version_no string Y 当前版本号
返回值
{
  "code": 200,
  "version": "v4.3.7",  //最新版本
  "url": "http://www.ifoodtube.com/apk/ifoodtube_v4.3.7.apk",   //最新版本下载链接
  "mobile_update_msg": [         //更新说明
    "1、新增中秋节活动",
    "2、新增中秋节活动节节活动节活动节活动节活动节活动活动",
    "3、新增中秋节活动",
    "4、新增中秋节活动",
  ],
  "is_update": "1",   //是否强制更新   1.是 0否
  "version_no": "71"  //版本号
}
最后修改者: root  2017-07-24 16:25:39 

客户端错误日志上报接口

编号  :  1001

POST - mobile/index.php?act=client_err_log&op=err_report
客户端--访问错误时,上报错误日志信息,方便定位错误
请求参数
参数名 参数类型 必传 缺省值 描述
err_msg string Y 错误信息
err_url string Y 访问错误地址
返回值
{"code":200,"id":4}
最后修改者: root  2017-07-18 14:06:24 

首页城市选择

编号  :  0

POST - index.php?act=mobile_area&op=getCitys
新增 pro_desc --小标题、xsd_pic--限时达图标
请求参数
参数名 参数类型 必传 缺省值 描述
返回值
{
            "area_id": "186",
            "area_parent_id": "12",
            "area_name": "合肥市",
            "area_deep": "2",
            "pro_desc": "跳楼大减价",
            "xsd_pic": "http://local.ifoodtube.com/data/upload/mobile/category/05536929168707645.png"
        },
最后修改者: root  2017-07-17 18:03:35 

客服中心文章

编号  :  27

POST - /mobile/index.php?act=service_issues&op=detail&debug=true
请求参数
参数名 参数类型 必传 缺省值 描述
article_id int Y
返回值
{
    "code": 200,
    "article_id": "69",
    "ac_id": "11",
    "article_url": null,
    "article_show": "1",
    "article_sort": "255",
    "article_title": "gsh",
    "article_content": "购食汇",
    "article_time": "1498815104",
    "reply_type": "0"
}
最后修改者: root  2017-07-12 11:07:15 

点赞

编号  :  26

POST - mobile/index.php?act=member_circle&op=add_praise
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y 用户登录token
theme_id int Y 帖子id
返回值
{
  "code": 200,
  "msg": 1
}
最后修改者: root  2017-10-16 16:01:47 

关注列表

编号  :  23

POST - mobile/index.php?act=member_circle&op=interest_list
请求参数
参数名 参数类型 必传 缺省值 描述
token string Y 用户登录token
返回值
{
  "code": 200,
  "class_list": [
    {
      "class_id": "2",
      "class_name": "食品溯源345",
      "img_url": "http://127.0.0.1/goushihui/data/upload/shop/common/default_goods_image_240.gif",
      "digest_total": "5",
      "latest_total": "14",
      "interest_num":'12' //分类关注数
    }
  ],
  "fans_list": [
    {
      "member_name": "15881064816",
      "member_id": "112969",
      "avatar_img_url": "http://127.0.0.1/goushihui/data/upload/shop/common/default_user_portrait.gif",
      "digest_total": "2",
      "latest_total": "11"
    }
  ]
}
最后修改者: root  2017-07-11 10:28:42 

粉丝列表

编号  :  23

POST - mobile/index.php?act=member_circle&op=fans_list
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y 用户登录token
返回值
{
  "code": 200,
  "fans_list": [
    {
      "member_name": "15881064816",
      "member_id": "112969",
      "avatar_img_url": "http://127.0.0.1/goushihui/data/upload/shop/common/default_user_portrait.gif",
      "digest_total": "2",
      "latest_total": "11"
    }
  ]
}
最后修改者: root  2017-07-10 16:49:07 

取消关注

编号  :  22

POST - mobile/index.php?act=member_circle&op=cancel_interest
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y 用户登录token
type int Y 1分类 3用户
type_id int Y 1 对应class_id 3 对应粉丝member_id
返回值
{
  "code": 200,
  "msg": 1
}
最后修改者: root  2017-07-10 15:59:41 

帖子收藏接口

编号  :  21

POST - mobile/index.php?act=member_circle&op=add_collection
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y 用户登录token
theme_id int Y 帖子id
返回值
{
  "code": 200,
  "msg": 1
}
最后修改者: root  2017-07-31 17:28:05 

收藏列表

编号  :  21

POST - mobile/index.php?act=member_circle&op=collection_list
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y 用户登录token
curpage int Y 当前页码
返回值
{
  "code": 200,
  "hasmore": false,
  "page_total": 1,
  "collection_list": [
    {
      "member_img_url": "http://127.0.0.1/goushihui/data/upload/shop/common/default_user_portrait.gif",
      "member_sex": "0",
      "cover_img_url": "http://127.0.0.1/goushihui/data/upload/shop/common/default_goods_image_240.gif",
      "member_name": "CHEN-JIN-YE",
      "class_name": "天地玄黄",
      "theme_name": "chen_jinye",
      "theme_id": "2",
      "theme_addtime": "1498637842",
      "is_reply": "1",
      "area_name1": "安徽",
      "area_name2": "合肥市",
      "theme_browsecount": 0,
      "theme_praisecount": 0,
      "theme_commentcount": "2",
      "theme_colcount": "2"
    }
  ]
}
最后修改者: root  2017-07-31 17:29:17 

我的圈子

编号  :  19

GET - mobile/index.php?act=member_circle&op=index
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y 用户登录token
member_id int N 查看好友发帖时传该参数
curpage int Y 当前页码
返回值
{
  "code": 200,
  "hasmore": false,
  "page_total": 1,
  "member_info": {
    "member_id": "112968",
    "avatar_img_url": "http://127.0.0.1/goushihui/data/upload/shop/common/default_user_portrait.gif",
    "release_total": "5",
    "collection_total": "3",
    "atten_total": 3,
    "atten_fans_total": 2
  },
  "theme_list": [
    {
      "member_img_url": "http://127.0.0.1/goushihui/data/upload/shop/common/default_user_portrait.gif",
      "member_sex": null,
      "cover_img_url": "http://127.0.0.1/goushihui/data/upload/mobile/circle/circle_pic/05531845614256976.jpg",
      "member_name": "scuchen_2016",
      "class_name": "天地玄黄",
      "theme_name": "测试预览",
      "theme_id": "61",
      "theme_addtime": "1499840561",
      "is_reply": "0",
      "area_name1": "四川",
      "area_name2": "绵阳市",
      "theme_browsecount": 0,
      "theme_praisecount": 0,
      "theme_commentcount": 0,
      "theme_colcount": 0
    },
    {
      "member_img_url": "http://127.0.0.1/goushihui/data/upload/shop/common/default_user_portrait.gif",
      "member_sex": null,
      "cover_img_url": "http://127.0.0.1/goushihui/data/upload/shop/common/default_goods_image_240.gif",
      "member_name": "scuchen_2016",
      "class_name": "天地玄黄",
      "theme_name": "131131",
      "theme_id": "16",
      "theme_addtime": "1499329106",
      "is_reply": "0",
      "area_name1": "四川",
      "area_name2": "绵阳市",
      "theme_browsecount": 0,
      "theme_praisecount": 0,
      "theme_commentcount": 0,
      "theme_colcount": 0
    }
  ]
}
最后修改者: root  2017-07-31 17:30:29 

圈子主页

编号  :  18

POST - mobile/index.php?act=circle_index&op=class_theme_list
请求参数
参数名 参数类型 必传 缺省值 描述
city_id int Y 城市id
class_id int Y 分类id
key string N 用户登录传,未登录则不传
curpage init Y 当前页码
返回值
{
  "code": 200,
  "hasmore": false,
  "page_total": 1,
  "class_info": {
    "img_url": "http://127.0.0.1/goushihui/data/upload/shop/common/default_goods_image_240.gif",
    "class_interestcount": "0",
    "is_attention": 0,
    "class_name": "天地玄黄",
    "lates_sum": 0,
    "digest_sum": 0
  },
  "theme_list": [
    {
      "member_img_url": "http://127.0.0.1/goushihui/data/upload/shop/common/default_user_portrait.gif",
      "member_sex": null,
      "cover_img_url": "http://127.0.0.1/goushihui/data/upload/mobile/circle/circle_pic/05531845614256976.jpg",
      "member_name": "scuchen_2016",
      "class_name": "天地玄黄",
      "theme_name": "测试预览",
      "theme_id": "61",
      "theme_addtime": "1499840561",
      "is_reply": "0",
      "area_name1": "四川",
      "area_name2": "绵阳市",
      "theme_browsecount": 0,
      "theme_praisecount": 0,
      "theme_commentcount": 0,
      "theme_colcount": 0
    },
    {
      "member_img_url": "http://127.0.0.1/goushihui/data/upload/shop/common/default_user_portrait.gif",
      "member_sex": null,
      "cover_img_url": "http://127.0.0.1/goushihui/data/upload/shop/common/default_goods_image_240.gif",
      "member_name": "15881064816",
      "class_name": "天地玄黄",
      "theme_name": "131131",
      "theme_id": "43",
      "theme_addtime": "1499415196",
      "is_reply": "0",
      "area_name1": "四川",
      "area_name2": "绵阳市",
      "theme_browsecount": 0,
      "theme_praisecount": 0,
      "theme_commentcount": 0,
      "theme_colcount": 0
    },
    {
      "member_img_url": "http://127.0.0.1/goushihui/data/upload/shop/common/default_user_portrait.gif",
      "member_sex": null,
      "cover_img_url": "http://127.0.0.1/goushihui/data/upload/shop/common/default_goods_image_240.gif",
      "member_name": "scuchen_2016",
      "class_name": "天地玄黄",
      "theme_name": "131131",
      "theme_id": "16",
      "theme_addtime": "1499329106",
      "is_reply": "0",
      "area_name1": "四川",
      "area_name2": "绵阳市",
      "theme_browsecount": 0,
      "theme_praisecount": 0,
      "theme_commentcount": 0,
      "theme_colcount": 0
    }
  ]
}
备注
"class_interestcount": "2", //关注数量
    "is_attention": "1", //是否关注,未关注 0 关注 1
    "lates_sum": 14, //最新
    "digest_sum": 0 //精华
最后修改者: root  2017-07-07 17:19:54 

圈子搜索接口

编号  :  18

POST - mobile/index.php?act=circle_index&op=circle_search
请求参数
参数名 参数类型 必传 缺省值 描述
city_id int Y 城市id
key_words string Y 关键字
返回值
{
  "code": 200,
  "theme_list": [
    {
      "member_img_url": "http://127.0.0.1/goushihui/data/upload/shop/common/default_user_portrait.gif",
      "member_sex": null,
      "cover_img_url": "http://127.0.0.1/goushihui/data/upload/shop/common/default_goods_image_240.gif",
      "member_name": "这",
      "class_name": "121",
      "theme_name": "ljfdsafklsdlsjkfdjasfjks实打实",
      "theme_id": "39",
      "theme_addtime": "1499413905",
      "area_name1": "四川",
      "area_name2": "绵阳市",
      "theme_browsecount": 0,
      "theme_praisecount": 0,
      "theme_commentcount": 0,
      "theme_colcount": 0
    },
    {
      "member_img_url": "http://127.0.0.1/goushihui/data/upload/shop/common/default_user_portrait.gif",
      "member_sex": null,
      "cover_img_url": "http://127.0.0.1/goushihui/data/upload/shop/common/default_goods_image_240.gif",
      "member_name": "这",
      "class_name": "121",
      "theme_name": "ljfdsafklsdlsjkfdjasfjks实打实",
      "theme_id": "38",
      "theme_addtime": "1499413880",
      "area_name1": "四川",
      "area_name2": "绵阳市",
      "theme_browsecount": 0,
      "theme_praisecount": 0,
      "theme_commentcount": "2",
      "theme_colcount": 0
    }
  ]
}
最后修改者: root  2017-08-11 20:04:13 

回复帖子

编号  :  16

POST - mobile/index.php?act=member_circle&op=reply_theme
请求参数
参数名 参数类型 必传 缺省值 描述
theme_id int Y 帖子id
key stirng Y 用户token
reply_content string Y 回复内容
city_name string N 所在城市名称
返回值
{
  "code": 200,
  "status": 1,
  "reply_info": {
    "theme_id": "38",
    "reply_id": "72",
    "circle_id": "0",
    "member_id": "112969",
    "member_name": "15881064816",
    "reply_content": "666666",
    "reply_addtime": "1499758967",
    "reply_replyid": null,
    "reply_replyname": null,
    "is_closed": "0",
    "reply_exp": "0",
    "is_selected": "0",
    "is_writerreply": "0",
    "avatar_img_url": "http://127.0.0.1/goushihui/data/upload/shop/common/default_user_portrait.gif"
  }
}
最后修改者: root  2017-10-30 17:17:11 

发布帖子接口

编号  :  16

POST - mobile/index.php?act=member_circle&op=add_theme_release
请求参数
参数名 参数类型 必传 缺省值 描述
city_name string Y 手机定位所在城市名字
key string Y 用户登录token
class_id int Y 分类id
theme_name string Y 帖子主题
theme_content string Y 帖子内容
imgBase64 array Y base64编码的图片,imgBase64[1] = ''
返回值
{
  "code": 200,
  "msg": 1
}
最后修改者: root  2017-07-06 10:13:25 

圈子分类列表

编号  :  12

POST - mobile/index.php?act=circle_index&op=circle_class_list
请求参数
参数名 参数类型 必传 缺省值 描述
返回值
{
  "code": 200,
  "class_list": [
    {
      "class_id": "2",
      "class_name": "食品溯源345",
      "cov_img_url": "http://127.0.0.1/goushihui/data/upload/shop/common/default_goods_image_240.gif"
    },
    {
      "class_id": "5",
      "class_name": "121",
      "cov_img_url": "http://127.0.0.1/goushihui/data/upload/mobile/circle/class/05511874388102312.png"
    }
  ]
}
最后修改者: root  2017-07-05 17:54:58 

添加投诉接口

编号  :  12

POST - mobile/index.php?act=member_circle&op=add_inform
请求参数
参数名 参数类型 必传 缺省值 描述
theme_id int Y 投诉帖子id
reason_id int Y 投诉原因id
key string Y 用户登录token
返回值
正确
{
  "code": 200,
  "msg": 1
}
错误
{
  "code": 201,
  "msg": '操作失败'
}
最后修改者: root  2017-10-29 16:02:54 

帖子详情接口

编号  :  11

POST - mobile/index.php?act=circle_index&op=theme_detail
请求参数
参数名 参数类型 必传 缺省值 描述
theme_id int Y 帖子id
city_id int Y 手机定位city_id
返回值
{
  "code": 200,
  "member_id": "112664",
  "member_name": "基因等等",
  "area_name2": "成都市",
  "member_sex": null,
  "member_img_url": "http://127.0.0.1/goushihui/data/upload/shop/common/default_user_portrait.gif",
  "class_name": "琅琊榜",
  "theme_name": "苦咖啡康复科",
  "theme_content": "就放假减肥减肥减肥卡夫卡饭卡快发快发看v看v开车考察考察看妹妹参谋参谋摩擦摩擦快发快发看快发快发快发快发康复科饭卡",
  "theme_id": "92",
  "is_identity": "3",
  "theme_browsecount": "12",
  "theme_commentcount": "1",
  "theme_praisecount": "2",
  "theme_colcount": "0",
  "theme_addtime": "1501744789",
  "is_attention": 0,
  "is_praise": "1",
  "is_collection": 0,
"user_img_list": [
        {
            "image_width": 360,
            "image_height": 360,
            "img_url": "http://b2.ifoodtube.com/data/upload/mobile/circle/circle_pic/05626054770571248_360.png",
            "max_img_url": "http://b2.ifoodtube.com/data/upload/mobile/circle/circle_pic/05626054770571248.png"
        }
    ],
  "reply_list": [
    {
      "member_name": "基因等等",
      "reply_addtime": "1501744847",
      "time_desc": "4天前",
      "reply_content": "何处就觉得记得记得",
      "area_name2": "成都市",
      "member_img_url": "http://127.0.0.1/goushihui/data/upload/shop/common/default_user_portrait.gif",
      "member_sex": null
    }
  ]
}
备注
"is_identity": "2" //2作者 3成员
theme_content //作者所发帖子内容
  "member_sex": "2" // 空 保密 1 男 2 女
"user_img_list": //用户发贴图片列表
"is_attention": 0, //当前用户是否关注过 0 否 1 是
最后修改者: root  2017-08-16 09:44:15 

客服中心

编号  :  11

POST - /mobile/index.php?act=service_issues&op=service_issues_list
"reply_type": "0" 文章,"reply_type": "1" 文字,"call_type":客服类型,"call_num":客服号码
请求参数
参数名 参数类型 必传 缺省值 描述
city_id int Y
返回值
{
    "code": 200,
    "service_issues_list": [
        {
            "ac_id": "9",
            "ac_code": null,
            "ac_name": "订单物流",
            "ac_parent_id": "0",
            "ac_sort": "255",
            "class_image": "05521388083730941.png",
            "deep": 1
        },
        {
            "ac_id": "11",
            "ac_code": null,
            "ac_name": "订单失效",
            "ac_parent_id": "9",
            "ac_sort": "255",
            "class_image": null,
            "deep": 2,
            "issues_info": [
                {
                    "article_id": "72",
                    "ac_id": "11",
                    "article_url": null,
                    "article_show": "1",
                    "article_sort": "255",
                    "article_title": "的大大方方分",
                    "article_time": "1499234355",
                    "reply_type": "0"
                },
                {
                    "article_id": "71",
                    "ac_id": "11",
                    "article_url": null,
                    "article_show": "1",
                    "article_sort": "255",
                    "article_title": "213131",
                    "article_content": "fffffff",
                    "article_time": "1499232070",
                    "reply_type": "1"
                },
                {
                    "article_id": "69",
                    "ac_id": "11",
                    "article_url": null,
                    "article_show": "1",
                    "article_sort": "255",
                    "article_title": "gsh",
                    "article_time": "1498815104",
                    "reply_type": "0"
                }
            ]
        }
    ],
    "store_tel": "026589562364",
    "store_info": {
        "store_member_id": "23423443",
        "store_member_name": null,
        "call_num": "23423443",
        "call_type": "gzh"
    }
}
最后修改者: root  2017-07-04 17:57:35 

投诉原因列表

编号  :  10

POST - mobile/index.php?act=member_circle&op=reason_list
请求参数
参数名 参数类型 必传 缺省值 描述
返回值
{
  "code": 200,
  "reason_list": [
    {
      "reason_id": "100",
      "reason_info": "121121",
      "sort": "11",
      "update_time": "1498188875"
    }
  ]
}
最后修改者: root  2017-07-17 17:37:13 

分类首页

编号  :  9

POST - /mobile/index.php?act=index&op=cate_home
请求参数
参数名 参数类型 必传 缺省值 描述
key string N 登录后的key
city_id int Y 城市id
cate_id int Y 分类id
返回值
{
    "code": 200,
    "hasmore": true,
    "page_total": 4,
    "datas": {
        "cate_banners": [],---轮播图片
        "promotions": [----活动列表
            {
                "promotion_pic": "",---活动广告图
                "goods_list": []---商品列表
            }
        ],
        "sub_cate_goods_list": {--二级分类列表
            "promotion_pic": ---分类图片
            "goods_list": []----商品列表
        }
    }
}


当分页页码大于1时

{
    "code": 200,
    "hasmore": true,
    "page_total": 4,
    "datas": {
        "list": {
            "goods_list": []
}}}
备注
请求---增加分页参数   返回 ---活动商品倒计时参数 增加cart_num购物车数量,为0时未添加购物车
最后修改者: root  2017-07-03 14:28:41 

首页整点购接口

编号  :  7

POST - mobile/index.php?act=index&op=index
首页整点购接口
请求参数
参数名 参数类型 必传 缺省值 描述
city_id int Y 城市id
app_version string N 传4.1或4.2进行分页
page_size int N 12 每页条数
page_now int N 1 当前页
返回值
{
    "code": 200,
    "hasmore": "true",
    "page_total": 2,
    "page_now": 1,
    "datas": [
        {
            "quick_access": {
                "title": "快捷入口",
                "item": [
                    {
                        "quick_title": "天天特价",
                        "type_id": "1",
                        "type_name": "专题活动",
                        "type_image": "http://b2.ifoodtube.com/data/upload/access/05314995984601283.png",
                        "quick_data": "363"
                    },
                    {
                        "quick_title": "品质好货",
                        "type_id": "1",
                        "type_name": "专题活动",
                        "type_image": "http://b2.ifoodtube.com/data/upload/access/05314996648081759.png",
                        "quick_data": "101"
                    },
                    {
                        "quick_title": "兑换专区",
                        "type_id": "3",
                        "type_name": "兑换专区",
                        "type_image": "http://b2.ifoodtube.com/data/upload/access/05314996913094486.png"
                    },
                    {
                        "quick_title": "企业团购",
                        "type_id": "1",
                        "type_name": "专题活动",
                        "type_image": "http://b2.ifoodtube.com/data/upload/access/05314997381573479.png",
                        "quick_data": "104"
                    },
                    {
                        "quick_title": "入住商家",
                        "type_id": "1",
                        "type_name": "专题活动",
                        "type_image": "http://b2.ifoodtube.com/data/upload/access/05314997176901911.png",
                        "quick_data": "102"
                    },
                    {
                        "quick_title": "测试测试",
                        "type_id": "7",
                        "type_name": null,
                        "type_image": "http://b2.ifoodtube.com/data/upload/access/05507546429843377.png",
                        "quick_data": "363"
                    },
                    {
                        "quick_title": "领券啦",
                        "type_id": "8",
                        "type_name": "优惠券",
                        "type_image": "http://b2.ifoodtube.com/data/upload/access/05314997564067655.png",
                        "quick_data": "1,2,3,4"
                    },
                    {
                        "quick_title": "充值中心",
                        "type_id": "2",
                        "type_name": "充值中心",
                        "type_image": "http://b2.ifoodtube.com/data/upload/access/05314997875186993.png"
                    },
                    {
                        "quick_title": "售后客服",
                        "type_id": "4",
                        "type_name": "物流售后",
                        "type_image": "http://b2.ifoodtube.com/data/upload/access/05314998157661544.png",
                        "quick_data": "http://b2.ifoodtube.com/data/upload/access/05314998228425766.png"
                    },
                    {
                        "quick_title": "整点购",
                        "type_id": "7",
                        "type_name": null,
                        "type_image": "http://b2.ifoodtube.com/data/upload/access/05507657900497178.png",
                        "quick_data": "365"
                    }
                ]
            }
        },
        {
            "zd_groupbuy": {
                "goods_info": [
                    {
                        "promotion_id": "860",
                        "goods_id": "103756",
                        "goods_name": "绵阳合肥都有库存",
                        "goods_price": "10.00",
                        "promotion_stock": "980",
                        "promotion_price": "8.00",
                        "store_id": "1",
                        "start_time": "1499064600",
                        "end_time": "1499150999",
                        "state": "1",
                        "goods_image": "http://b2.ifoodtube.com/data/upload/shop/store/goods/1/1_05372863514255624_240.jpg",
                        "city_id": "390",
                        "each_limit": "1",
                        "sale_out": "0"
                    }
                ],
                "time_arr": [
                    {
                        "start_time": "1499064600",
                        "is_on": 0,
                        "time_zone": "14:50"
                    }
                ],
                "curr_time": 1499063276
            }
        },
        {
            "adv_list": {
                "item": [
                    {
                        "image": "http://b2.ifoodtube.com/data/upload/mobile/special/s0/s0_05457500872250046.jpg",
                        "type": "zd_groupbuy",
                        "data": {
                            "id": "363"
                        },
                        "image_width": 640,
                        "image_height": 240
                    },
                    {
                        "image": "http://b2.ifoodtube.com/data/upload/mobile/special/s0/s0_05478156866237968.jpg",
                        "type": "other",
                        "data": {
                            "id": "2"
                        },
                        "image_width": 640,
                        "image_height": 240
                    },
                    {
                        "image": "http://b2.ifoodtube.com/data/upload/shop/common/default_goods_image_240.gif",
                        "type": "special",
                        "data": {
                            "id": "355",
                            "type_name": "普通专题"
                        },
                        "image_width": 0,
                        "image_height": 0
                    },
                    {
                        "image": "http://b2.ifoodtube.com/data/upload/shop/common/default_goods_image_240.gif",
                        "type": "zd_groupbuy",
                        "data": {
                            "id": "363"
                        },
                        "image_width": 0,
                        "image_height": 0
                    }
                ],
                "share_target_url": ""
            }
        },
        {
            "home1": {
                "title": "",
                "image": "http://b2.ifoodtube.com/data/upload/mobile/special/s0/s0_05454134569252774.jpg",
                "type": "voucher",
                "data": {
                    "id": "153",
                    "title": "0523允许兑换优惠券",
                    "is_share": "0",
                    "can": "2"
                },
                "share_target_url": "",
                "image_width": 552,
                "image_height": 350
            }
        },
        {
            "home1": {
                "title": "",
                "image": "http://b2.ifoodtube.com/data/upload/mobile/special/s0/s0_05454136181307595.jpg",
                "type": "goods",
                "data": {
                    "id": "104164"
                },
                "share_target_url": "",
                "image_width": 326,
                "image_height": 300,
                "is_groupbuy": 0
            }
        },
        {
            "home1": {
                "title": "",
                "image": "http://b2.ifoodtube.com/data/upload/mobile/special/s0/s0_05454137276657535.jpg",
                "type": "goods",
                "data": {
                    "id": "103552"
                },
                "share_target_url": "",
                "image_width": 404,
                "image_height": 300,
                "is_groupbuy": 1,
                "system_time": 1499063277,
                "groupbuy_stock": 3,
                "start_time": "1489658400",
                "end_time": "1521388800"
            }
        },
        {
            "home1": {
                "title": "",
                "image": "http://b2.ifoodtube.com/data/upload/mobile/special/s0/s0_05453274959390674.png",
                "type": "goods",
                "data": {
                    "id": "104116"
                },
                "share_target_url": "",
                "image_width": 539,
                "image_height": 221,
                "is_groupbuy": 0
            }
        },
        {
            "home1": {
                "title": "",
                "image": "http://b2.ifoodtube.com/data/upload/mobile/special/s0/s0_05453274560015610.png",
                "type": "goods",
                "data": {
                    "id": "104052"
                },
                "share_target_url": "",
                "image_width": 602,
                "image_height": 203,
                "is_groupbuy": 0
            }
        },
        {
            "home1": {
                "title": "",
                "image": "http://b2.ifoodtube.com/data/upload/mobile/special/s0/s0_05453276818607201.png",
                "type": "goods",
                "data": {
                    "id": "104122"
                },
                "share_target_url": "",
                "image_width": 536,
                "image_height": 184,
                "is_groupbuy": 0
            }
        },
        {
            "home1": {
                "title": "",
                "image": "http://b2.ifoodtube.com/data/upload/mobile/special/s0/s0_05453279990639750.png",
                "type": "goods",
                "data": {
                    "id": "104162"
                },
                "share_target_url": "",
                "image_width": 767,
                "image_height": 280,
                "is_groupbuy": 0
            }
        },
        {
            "home1": {
                "title": "",
                "image": "http://b2.ifoodtube.com/data/upload/mobile/special/s0/s0_05454107868506445.png",
                "type": "goods",
                "data": {
                    "id": "103518"
                },
                "share_target_url": "",
                "image_width": 625,
                "image_height": 198,
                "is_groupbuy": 0
            }
        },
        {
            "home1": {
                "title": "",
                "image": "http://b2.ifoodtube.com/data/upload/mobile/special/s0/s0_05454112806858161.png",
                "type": "goods",
                "data": {
                    "id": "104168"
                },
                "share_target_url": "",
                "image_width": 494,
                "image_height": 212,
                "is_groupbuy": 0
            }
        }
    ]
}
最后修改者: root  2017-08-17 20:32:31 

主题列表中关注接口

编号  :  8

POST - mobile/index.php?act=member_circle&op=interest
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y 用户登录token
type int Y 1主题圈子 3 用户
type_id int Y 与type对应的圈子id(1:class_id 3:member_id)
is_identity int Y 被关注的人是何种类型 2 作者 3 用户
返回值
正确返回
{
  "code": 200,
  "msg": 1
}
错误返回
{
  "code": 201,
  "msg": "关注失败"
}
最后修改者: root  2017-08-03 10:43:39 

奖励规则

编号  :  6

POST - mobile/index.php?act=circle_index&op=award_rules
请求参数
参数名 参数类型 必传 缺省值 描述
返回值
{
  "code": 200,
  "rules_list": [
    "1、天天果园-果友圈、点点帮-交流广场",
    "2、发布帖子奖励现金1w",
    "3、回复帖子奖励现金1k"
  ]
}
最后修改者: root  2017-06-22 16:39:34 

主题圈子列表

编号  :  5

POST - http://b2.meiling.com/mobile/index.php?act=circle_index&op=class_list
请求参数
参数名 参数类型 必传 缺省值 描述
key string N 用户token(未登录状态下不传)
返回值
{
  "code": 200,
  "class_list": [
    {
      "class_id": "5",
      "class_name": "121",
      "list_pic": "05511874460027735.png",
      "class_interestcount": "0",
      "list_pic_url": "http://127.0.0.1/goushihui/data/upload/mobile/circle/class/05511874460027735.png",
      "newcount": 0,
      "digestcount": 0,
      "is_attention": 0
    },
    {
      "class_id": "2",
      "class_name": "食品溯源345",
      "list_pic": null,
      "class_interestcount": "1",
      "list_pic_url": "http://127.0.0.1/goushihui/data/upload/shop/common/default_goods_image_240.gif",
      "newcount": "1",
      "digestcount": "1",
      "is_attention": "1"
    }
  ]
}
备注
"newcount": "1" //最新
 "digestcount": "1"  //精华
 "class_interestcount": "6" //关注
"is_attention": "1" 是否已经关注 1 是 0 否
最后修改者: root  2017-07-03 13:40:32 

购买第一步修改(优惠券默认使用)

编号  :  4

POST - index.php?act=member_buy&op=buy_step1
购买第一步修改(优惠券默认使用)
请求参数
参数名 参数类型 必传 缺省值 描述
ifcart int Y 是否购物车 1:是 0:不是
city_id int Y 城市id
cart_id string Y 购物车id|购买数量形如379691|2,379723|1
voucher_select string N 选择了的券 参数形如 店铺|优惠券编号 4|375,5|376
返回值
{
    "code": 200,
    "datas": {
        "store_cart_list": {
            "5": {
                "store_name": "陈小妹儿1",
                "goods_list": [
                    {
                        "cart_id": "379723",
                        "buyer_id": "112955",
                        "store_id": "5",
                        "store_name": "陈小妹儿1",
                        "goods_id": "104122",
                        "goods_name": "0408整点购成都10绵阳20合肥30",
                        "goods_price": "12.00",
                        "goods_num": "1",
                        "goods_image": "5_05449851933340811.jpg",
                        "bl_id": "0",
                        "city_id": "385",
                        "is_selected": "1",
                        "cart_state": "0",
                        "area_name": "成都市",
                        "is_city_storaged": "1",
                        "new_user_price": "12.00",
                        "is_new_user_pri": "0",
                        "state": true,
                        "storage_state": true,
                        "goods_commonid": "105643",
                        "gc_id": "1333",
                        "gc_ids": "1331,1332,1333",
                        "original_price": "12.00",
                        "transport_id": "28",
                        "goods_freight": "1.00",
                        "goods_vat": "0",
                        "goods_storage": "8",
                        "goods_storage_alarm": "0",
                        "is_fcode": "0",
                        "is_part_sales": 0,
                        "have_gift": "0",
                        "groupbuy_info": [],
                        "is_zd_groupbuy": "0",
                        "xianshi_info": null,
                        "xianshi_id": null,
                        "is_presell": "0",
                        "is_appoint": "0",
                        "is_normal": "1",
                        "erp_goods_id": "0",
                        "presell_deliverdate": "0",
                        "weight": "0.000",
                        "weight_meter": "0",
                        "the_city_storaged": "8",
                        "goods_total": "12.00",
                        "goods_image_url": "http://127.0.0.1/goushihui/data/upload/shop/common/default_goods_image_240.gif"
                    }
                ],
                "nonormal_num": 0,
                "store_goods_total": "12.00",
                "store_mansong_rule_list": null,
                "store_voucher_list": {
                    "voucher_list": [
                        {
                            "voucher_numb": "9",
                            "voucher_t_id": "174",
                            "voucher_store_id": "5",
                            "voucher_price": "5",
                            "voucher_title": "0525允许兑换商家",
                            "voucher_start_date": "1495677120",
                            "voucher_end_date": "1512006660",
                            "voucher_limit": "6.00"
                        },
                        {
                            "voucher_numb": "1",
                            "voucher_t_id": "79",
                            "voucher_store_id": "0",
                            "voucher_price": "3",
                            "voucher_title": "0216平台修改优惠券",
                            "voucher_start_date": "1487230320",
                            "voucher_end_date": "1514705520",
                            "voucher_limit": "4.00"
                        }
                    ],
                    "voucher_select": {
                        "voucher_numb": "9",
                        "voucher_t_id": "174",
                        "voucher_store_id": "5",
                        "voucher_price": "5",
                        "voucher_title": "0525允许兑换商家",
                        "voucher_start_date": "1495677120",
                        "voucher_end_date": "1512006660",
                        "voucher_limit": "6.00"
                    }
                },
                "freight": "1",
                "free_price": "49.00",
                "freight_tip": "快递满49免运费,自提柜/点满20免运费"
            },
            "8": {
                "store_name": "mmm",
                "goods_list": [
                    {
                        "cart_id": "379691",
                        "buyer_id": "112955",
                        "store_id": "8",
                        "store_name": "mmm",
                        "goods_id": "103814",
                        "goods_name": "满赠商品1-20170307",
                        "goods_price": "20.00",
                        "goods_num": "2",
                        "goods_image": "8_05422155077072530.jpg",
                        "bl_id": "0",
                        "city_id": "390",
                        "is_selected": "1",
                        "cart_state": "0",
                        "area_name": "绵阳市",
                        "is_city_storaged": "1",
                        "new_user_price": "20.00",
                        "is_new_user_pri": "0",
                        "state": true,
                        "storage_state": true,
                        "goods_commonid": "105369",
                        "gc_id": "1319",
                        "gc_ids": "1310,1318,1319",
                        "original_price": "20.00",
                        "transport_id": "0",
                        "goods_freight": "10.00",
                        "goods_vat": "0",
                        "goods_storage": "315",
                        "goods_storage_alarm": "0",
                        "is_fcode": "0",
                        "is_part_sales": 0,
                        "have_gift": "0",
                        "groupbuy_info": [],
                        "is_zd_groupbuy": "0",
                        "xianshi_info": null,
                        "xianshi_id": null,
                        "is_presell": "0",
                        "is_appoint": "0",
                        "is_normal": "1",
                        "erp_goods_id": "0",
                        "presell_deliverdate": "0",
                        "weight": "0.000",
                        "weight_meter": "0",
                        "the_city_storaged": "236",
                        "mansong_id": "69",
                        "promotion_list": [
                            {
                                "promotion_id": 69,
                                "promotion_name": "满赠钱",
                                "promotion_type": 7,
                                "discount": "2.00",
                                "goods_ids": [
                                    "103814"
                                ],
                                "send_goods_total_price": 0
                            }
                        ],
                        "goods_total": "40.00",
                        "goods_image_url": "http://127.0.0.1/goushihui/data/upload/shop/common/default_goods_image_240.gif"
                    }
                ],
                "nonormal_num": 0,
                "store_goods_total": "40.00",
                "store_mansong_rule_list": {
                    "mansong": {
                        "69": {
                            "mansong_name": "满赠钱",
                            "mansong_id": "69",
                            "mansong_type": "1",
                            "start_time": "1491889860",
                            "end_time": "1554566400",
                            "goods_id": [
                                "103814"
                            ],
                            "goods_total_sum": 40,
                            "times": 1,
                            "rule": {
                                "rule_id": "287",
                                "mansong_id": "69",
                                "price": "33.00",
                                "discount": "2.00",
                                "mansong_goods_name": "",
                                "goods_id": "[""]",
                                "voucher": """",
                                "goods_info": [],
                                "voucher_info": []
                            }
                        },
                        "discount_sum": 2
                    }
                },
                "store_voucher_list": {
                    "voucher_list": [
                        {
                            "voucher_numb": "1",
                            "voucher_t_id": "79",
                            "voucher_store_id": "0",
                            "voucher_price": "3",
                            "voucher_title": "0216平台修改优惠券",
                            "voucher_start_date": "1487230320",
                            "voucher_end_date": "1514705520",
                            "voucher_limit": "4.00"
                        },
                        {
                            "voucher_numb": "3",
                            "voucher_t_id": "110",
                            "voucher_store_id": "8",
                            "voucher_price": "2",
                            "voucher_title": "2元优惠券",
                            "voucher_start_date": "1491555480",
                            "voucher_end_date": "1586249880",
                            "voucher_limit": "2.00"
                        }
                    ],
                    "voucher_select": {
                        "voucher_numb": "1",
                        "voucher_t_id": "79",
                        "voucher_store_id": "0",
                        "voucher_price": "3",
                        "voucher_title": "0216平台修改优惠券",
                        "voucher_start_date": "1487230320",
                        "voucher_end_date": "1514705520",
                        "voucher_limit": "4.00"
                    },
                    "voucher_numb": "1"
                },
                "freight": "1",
                "free_price": "100.00",
                "freight_tip": "快递满100免运费,自提柜/点满50免运费"
            }
        },
        "is_city_allStoraged": 0,
        "freight_hash": "etWBlcDFQGf-hrTuuKPTZ-bQNh4Bx9g5sfxrK-otPOzOnGZ50Pt9n9s67fTurLdHdiYNkQpLCZf-ryowgge3M9ls_JnafUh7oodotIfpckwbiLlA3inNnLaoY1xaTD2LTpgtrQZpVClKQEzcaTs-q8qMMW_R38awZ77vHSX",
        "freight_total_hash": "8BEn_xzje5TIX8Cu5H1tnHkqiRWqKJSVH2M2jpGB90NjXkCGdoIUCIFlZzBUFgNlGvBm_nEWbE9SZYCFQ-HE1WADaUAF9oPhC9NGWVIC37Lm72DUlIBiXpD1BOMxuOP2x9OTFlJH-POjrbOnz-KSYiEh8Id6ElzLwWGIywr",
        "own_freight_hash": "NGC6MFCj_iL2kOaufJ6-sF332gWwZMMxZOMcluXG7Ha3mkIVgHasCuHqq4_nS0clM-EFR_E8dJOXXrPZf-NT41Sba6CKOtN0PRcGckLhJTLM97UZjbO2mpJEEteJu0R7CCMmS5YHEeRC9zON1DbXW1R1LedAToSdIWsK3Bw",
        "own_freight_total_hash": "2-Q2IwuxGvHxHP6UA1nkTzzhMk3mIs2SDYRcpA-JDWiSyPicCThOje-lTwNjOfIzTLAAK0QxUE3PlnLELMUg0wLQmv5F3lbwL8IUjxHcCIXB029RxXKhS3QRAoX-6pI2r6aiOkEVLrN92oaCs-EPkxNg31rHgkNW9ihByqo",
        "address_info": {
            "address_id": "740",
            "member_id": "112955",
            "true_name": "自己",
            "area_id": "4213",
            "city_id": "186",
            "area_info": "安徽 合肥市 成华区",
            "address": "哈哈哈哈",
            "tel_phone": null,
            "mob_phone": "15196638218",
            "is_default": "1",
            "dlyp_id": "0",
            "container_id": "0",
            "mapped": "0",
            "addr_type": 1
        },
        "vat_hash": "yq0TowvlWhcFen8qv9L_M9vylxK6BFB5N_n",
        "available_rc_balance": "4.95",
        "member_paypwd": true,
        "code": "",
        "award_id": null,
        "award_info_id": null,
        "freeforfirst": 0,
        "nonormal_total_num": 0,
        "userbalance": "9999999.92",
        "credit": 0,
        "last_dlyp_info": null,
        "discount_sum": "2.00",
        "sum": "52.00"
    }
}
最后修改者: root  2017-07-13 17:16:21 

圈子首页广告主题帖子接口

编号  :  3

POST - http://b2.meiling.com/mobile/index.php?act=circle_index&op=index
请求参数
参数名 参数类型 必传 缺省值 描述
city_id int Y 手机定位所在城市id
返回值
{
  "code": 200,
  "adv_list": [
    {
      "image_url": "http://127.0.0.1/goushihui/data/upload/mobile/circle/c2896/c2896_05512831294298416.jpg",
      "type": "1",
      "data": "1"
    },
    {
      "image_url": "http://127.0.0.1/goushihui/data/upload/mobile/circle/c2896/c2896_05513573678975977.jpg",
      "type": "110124",
      "data": "110124"
    },
    {
      "image_url": "http://127.0.0.1/goushihui/data/upload/mobile/circle/c2896/c2896_05513575092480031.jpg",
      "type": "6",
      "data": "6"
    }
  ],
  "class_data": {
    "class_list": [
      {
        "class_id": "6",
        "class_name": "天地玄黄",
        "cover_pic_url": "http://127.0.0.1/goushihui/data/upload/shop/common/default_goods_image_240.gif"
      },
      {
        "class_id": "5",
        "class_name": "121",
        "cover_pic_url": "http://127.0.0.1/goushihui/data/upload/mobile/circle/class/05511874388102312.png"
      }
    ],
    "isHasOtherClass": 1
  },
  "theme_list": [
    {
      "member_img_url": "http://127.0.0.1/goushihui/data/upload/shop/avatar/05519789393157403_small.jpg",
      "member_sex": "2",
      "cover_img_url": "http://127.0.0.1/goushihui/data/upload/mobile/circle/g24/g24_05518964133975954.jpg",
      "member_name": "CHEN-JIN-YE",
      "class_name": "食品溯源345",
      "theme_name": "chen_jinye11111",
      "theme_id": "11",
      "theme_addtime": "1499936994",
      "is_reply": "1",
      "area_name1": "四川",
      "area_name2": "绵阳市",
      "theme_browsecount": "1",
      "theme_praisecount": 0,
      "theme_commentcount": "19",
      "theme_colcount": 0
    },
    {
      "member_img_url": "http://127.0.0.1/goushihui/data/upload/shop/common/default_user_portrait.gif",
      "member_sex": null,
      "cover_img_url": "http://127.0.0.1/goushihui/data/upload/shop/common/default_goods_image_240.gif",
      "member_name": "这",
      "class_name": "121",
      "theme_name": "测试上传",
      "theme_id": "27",
      "theme_addtime": "1499410236",
      "is_reply": "0",
      "area_name1": "四川",
      "area_name2": "绵阳市",
      "theme_browsecount": "2",
      "theme_praisecount": 0,
      "theme_commentcount": 0,
      "theme_colcount": 0
    }
  ],
  "foot_num": 1
}
备注
adv_list:广告轮播
class_data:主题圈子(isHasOtherClass:是否有其他主题圈子)
theme_list:帖子列表 (member_sex:1 男 2 女 空 保密)
"theme_browsecount": 0 //浏览量
 "theme_praisecount": 0, //点赞量
"theme_commentcount": 0, //评论量
"theme_colcount": 0 //收藏量
"foot_num": 1 脚标
最后修改者: root  2017-06-16 17:27:05 

商品详情地址以及库存

编号  :  2

POST - mobile/index.php?act=member_address&op=address_list_storage
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y
goods_id int Y
返回值
{
    "code": 200,
    "datas": {
        "address_list": [
            {
                "address_id": "539",
                "member_id": "112957",
                "true_name": "测试测试z",
                "area_id": "4258",
                "city_id": "390",
                "area_info": "四川  绵阳市  涪城区",
                "address": "华丰社区自提柜",
                "tel_phone": "",
                "mob_phone": "15928911611",
                "is_default": "1",
                "dlyp_id": "0",
                "container_id": "101",
                "mapped": "0",
                "is_storage": "有货",
                "num_storage": 1328
            },
            {
                "address_id": "878",
                "member_id": "112957",
                "true_name": "成都",
                "area_id": "4216",
                "city_id": "385",
                "area_info": "四川  成都市  武侯区",
                "address": "自提点",
                "tel_phone": "",
                "mob_phone": "15928911611",
                "is_default": "0",
                "dlyp_id": "0",
                "container_id": "0",
                "mapped": "0",
                "is_storage": "有货",
                "num_storage": 122
            },
            {
                "address_id": "828",
                "member_id": "112957",
                "true_name": "普通地址",
                "area_id": "2224",
                "city_id": "186",
                "area_info": "安徽 合肥市 包河区",
                "address": "ces",
                "tel_phone": null,
                "mob_phone": "15928911611",
                "is_default": "0",
                "dlyp_id": "0",
                "container_id": "0",
                "mapped": "0",
                "is_storage": "无货",
                "num_storage": 0
            },
            {
                "address_id": "782",
                "member_id": "112957",
                "true_name": "合肥",
                "area_id": "2224",
                "city_id": "186",
                "area_info": "安徽 合肥市 包河区",
                "address": "自取柜",
                "tel_phone": "",
                "mob_phone": "15928911611",
                "is_default": "0",
                "dlyp_id": "0",
                "container_id": "140",
                "mapped": "0",
                "is_storage": "无货",
                "num_storage": 0
            },
            {
                "address_id": "683",
                "member_id": "112957",
                "true_name": "测试",
                "area_id": "4258",
                "city_id": "390",
                "area_info": "四川 绵阳市 涪城区",
                "address": "测试",
                "tel_phone": null,
                "mob_phone": "15928911611",
                "is_default": "0",
                "dlyp_id": "0",
                "container_id": "0",
                "mapped": "0",
                "is_storage": "有货",
                "num_storage": 1328
            },
            {
                "address_id": "613",
                "member_id": "112957",
                "true_name": "测试",
                "area_id": "4212",
                "city_id": "385",
                "area_info": "四川省 成都市 彭州市",
                "address": "长虹",
                "tel_phone": null,
                "mob_phone": "15928911611",
                "is_default": "0",
                "dlyp_id": "0",
                "container_id": "0",
                "mapped": "0",
                "is_storage": "有货",
                "num_storage": 122
            },
            {
                "address_id": "566",
                "member_id": "112957",
                "true_name": "测试",
                "area_id": "0",
                "city_id": "390",
                "area_info": "选择所在地区",
                "address": "测试",
                "tel_phone": "",
                "mob_phone": "15928911611",
                "is_default": "0",
                "dlyp_id": "0",
                "container_id": "0",
                "mapped": "0",
                "is_storage": "有货",
                "num_storage": 1328
            },
            {
                "address_id": "565",
                "member_id": "112957",
                "true_name": "测测试",
                "area_id": "37",
                "city_id": "36",
                "area_info": "北京  北京市  东城区",
                "address": "测试",
                "tel_phone": "",
                "mob_phone": "15928911611",
                "is_default": "0",
                "dlyp_id": "0",
                "container_id": "0",
                "mapped": "0",
                "is_storage": "无货",
                "num_storage": 0
            },
            {
                "address_id": "564",
                "member_id": "112957",
                "true_name": "这种音乐风格独",
                "area_id": "0",
                "city_id": "390",
                "area_info": "四川省 成都市 彭州市",
                "address": "测试彭州市",
                "tel_phone": null,
                "mob_phone": "15928911611",
                "is_default": "0",
                "dlyp_id": "0",
                "container_id": "0",
                "mapped": "0",
                "is_storage": "有货",
                "num_storage": 1328
            }
        ]
    }
}
最后修改者: root  2017-06-14 11:04:19 

商品详情接口

编号  :  1

POST - mobile/index.php?act=goods&op=goods_detail
请求参数
参数名 参数类型 必传 缺省值 描述
goods_id int Y 商品id
city_id int Y 城市id
key string Y 用户登录token
返回值
{
  "code": 200,
  "datas": {
    "goods_info": {
      "goods_name": "苹果苹果苹果-4444",
      "goods_jingle": "",
      "spec_name": null,
      "spec_value": null,
      "foodtube_image": null,
      "is_foodtube": null,
      "mobile_body": "",
      "goods_price": "1.00",
      "goods_marketprice": "2.00",
      "goods_storage_type": "0",
      "goods_freight": 0,
      "is_virtual": "0",
      "virtual_indate": "0",
      "virtual_limit": "0",
      "virtual_invalid_refund": "0",
      "is_fcode": "0",
      "is_appoint": "0",
      "appoint_satedate": "0",
      "is_presell": "0",
      "presell_deliverdate": "0",
      "no_normal_prompt": null,
      "is_normal": "1",
      "order_endtime": "0",
      "is_gift": "0",
      "is_not_display": "0",
      "is_since": "0",
      "commis_rate": "0",
      "commis_rate_edit_time": "0",
      "g_simple_price": "",
      "edit_time": "0",
      "material_goods_id": "0",
      "goods_id": "104067",
      "goods_promotion_price": "1.00",
      "goods_salenum": "23",
      "goods_collect": "0",
      "goods_spec": null,
      "goods_storage": "988",
      "evaluation_count": "0",
      "have_gift": "0",
      "goods_service": "",
      "is_new_user_pri": "0",
      "new_user_price": "1.00",
      "is_zd_groupbuy": 0,
      "groupbuy_info": [],
      "xianshi_info": null,
      "share_goods_image": "http://127.0.0.1/goushihui/data/upload/shop/common/05243307613500606_240.jpg",
      "is_collected": 0,
      "area": "绵阳市",
      "area_parent": "四川",
      "evaluate_count": "0",
      "evaluate_good_percent": 0,
      "last_three_evaluate": [],
      "goods_evaluate_info": {
        "good": 0,
        "normal": 0,
        "bad": 0,
        "all": 0,
        "good_percent": 100,
        "normal_percent": 0,
        "bad_percent": 0,
        "good_star": 5,
        "star_average": 5,
        "image_num": "0"
      },
      "goods_url": "http://127.0.0.1/goushihui/shop/index.php?act=goods&op=index&goods_id=104067"
    },
    "mansong_info": [],
    "gift_array": [],
    "goods_commend_list": [
      {
        "goods_id": "104185",
        "goods_name": "0504抢购",
        "goods_price": "10.00",
        "goods_marketprice": "13.00",
        "goods_image": "http://127.0.0.1/goushihui/data/upload/shop/common/05243307613500606_360.jpg",
        "goods_salenum": "69",
        "evaluation_good_star": "5",
        "evaluation_count": "1",
        "is_appoint": "0",
        "is_zd_groupbuy": "0",
        "goods_promotion_price": "10.00",
        "goods_promotion_type": "0",
        "is_virtual": "0",
        "is_presell": "0",
        "is_fcode": "0",
        "have_gift": "0",
        "group_flag": false,
        "xianshi_flag": false,
        "goods_image_url": "http://127.0.0.1/goushihui/data/upload/shop/common/05243307613500606_360.jpg",
        "promotions": []
      },
      {
        "goods_id": "104131",
        "goods_name": "0410赠品",
        "goods_price": "1.00",
        "goods_marketprice": "11.00",
        "goods_image": "http://127.0.0.1/goushihui/data/upload/shop/common/05243307613500606_360.jpg",
        "goods_salenum": "6",
        "evaluation_good_star": "5",
        "evaluation_count": "0",
        "is_appoint": "0",
        "is_zd_groupbuy": "0",
        "goods_promotion_price": "1.00",
        "goods_promotion_type": "0",
        "is_virtual": "0",
        "is_presell": "0",
        "is_fcode": "0",
        "have_gift": "0",
        "group_flag": false,
        "xianshi_flag": false,
        "goods_image_url": "http://127.0.0.1/goushihui/data/upload/shop/common/05243307613500606_360.jpg",
        "promotions": []
      },
      {
        "goods_id": "104125",
        "goods_name": "商品图片222",
        "goods_price": "1.00",
        "goods_marketprice": "11.00",
        "goods_image": "http://127.0.0.1/goushihui/data/upload/shop/common/05243307613500606_360.jpg",
        "goods_salenum": "4",
        "evaluation_good_star": "3",
        "evaluation_count": "1",
        "is_appoint": "0",
        "is_zd_groupbuy": "0",
        "goods_promotion_price": "1.00",
        "goods_promotion_type": "0",
        "is_virtual": "0",
        "is_presell": "0",
        "is_fcode": "0",
        "have_gift": "1",
        "group_flag": false,
        "xianshi_flag": false,
        "goods_image_url": "http://127.0.0.1/goushihui/data/upload/shop/common/05243307613500606_360.jpg",
        "promotions": []
      },
      {
        "goods_id": "104071",
        "goods_name": "茄子333",
        "goods_price": "0.90",
        "goods_marketprice": "2.00",
        "goods_image": "http://127.0.0.1/goushihui/data/upload/shop/common/05243307613500606_360.jpg",
        "goods_salenum": "26",
        "evaluation_good_star": "5",
        "evaluation_count": "0",
        "is_appoint": "0",
        "is_zd_groupbuy": "0",
        "goods_promotion_price": "0.90",
        "goods_promotion_type": "9",
        "is_virtual": "0",
        "is_presell": "0",
        "is_fcode": "0",
        "have_gift": "0",
        "group_flag": false,
        "xianshi_flag": false,
        "goods_image_url": "http://127.0.0.1/goushihui/data/upload/shop/common/05243307613500606_360.jpg",
        "promotions": [
          {
            "desc": "3人成团",
            "icon": "http://127.0.0.1/goushihui/data/resource/images/promotion_icon/9.png"
          }
        ]
      },
      {
        "goods_id": "104034",
        "goods_name": "香蕉香蕉",
        "goods_price": "12.00",
        "goods_marketprice": "32423.00",
        "goods_image": "http://127.0.0.1/goushihui/data/upload/shop/common/05243307613500606_360.jpg",
        "goods_salenum": "4",
        "evaluation_good_star": "5",
        "evaluation_count": "0",
        "is_appoint": "0",
        "is_zd_groupbuy": "0",
        "goods_promotion_price": "12.00",
        "goods_promotion_type": "0",
        "is_virtual": "0",
        "is_presell": "0",
        "is_fcode": "0",
        "have_gift": "0",
        "group_flag": false,
        "xianshi_flag": false,
        "goods_image_url": "http://127.0.0.1/goushihui/data/upload/shop/common/05243307613500606_360.jpg",
        "promotions": []
      },
      {
        "goods_id": "103630",
        "goods_name": "1212实物商品0.01抢购",
        "goods_price": "0.01",
        "goods_marketprice": "0.10",
        "goods_image": "http://127.0.0.1/goushihui/data/upload/shop/common/05243307613500606_360.jpg",
        "goods_salenum": "195",
        "evaluation_good_star": "5",
        "evaluation_count": "1",
        "is_appoint": "0",
        "is_zd_groupbuy": "0",
        "goods_promotion_price": "0.01",
        "goods_promotion_type": "0",
        "is_virtual": "0",
        "is_presell": "0",
        "is_fcode": "0",
        "have_gift": "0",
        "group_flag": false,
        "xianshi_flag": false,
        "goods_image_url": "http://127.0.0.1/goushihui/data/upload/shop/common/05243307613500606_360.jpg",
        "promotions": []
      }
    ],
    "store_info": {
      "goods_stock": 7,
      "store_id": "1",
      "store_working": "08:00-18:00",
      "store_name": "购食汇绵阳官方旗舰店",
      "store_label": "http://127.0.0.1/goushihui/data/upload/shop/store/05343528842717659.jpg",
      "store_presales": [
        {
          "name": "售前1",
          "type": 3,
          "num": "1"
        }
      ],
      "store_aftersales": [
        {
          "name": "售后1",
          "type": 1,
          "num": "510404494"
        },
        {
          "name": "售后2",
          "type": 3,
          "num": "5"
        },
        {
          "name": "售后3",
          "type": 3,
          "num": "66383"
        }
      ],
      "goods_count": 1147,
      "new_count": 89,
      "hot_count": 6,
      "order_lock_time": "60",
      "member_id": "1",
      "member_name": "meiling"
    },
    "free_freight": "快递满50免运费,自提柜/点满22免运费",
    "voucher_char": "满31减30|",
    "bundling": [],
    "groupbuy": [],
    "groupspell": {
      "sales_num": "1",
      "leave_group_num": 1,
      "promotion_stock": "8",
      "spell_activity_id": "909",
      "spell_type": "2",
      "is_frontshow": "0",
      "end_time": "1497419400",
      "remain_time": 6600,
      "spell_price": "0.01",
      "success_group": "2",
      "limit_quantity": "2",
      "is_new_user": "0",
      "roll_group_num": "0",
      "spell_freight": "0.00",
      "spell_list": [
        {
          "member_id": "112968",
          "member_name": "scuchen_2016",
          "remain_num": "1",
          "spell_id": "1015",
          "spell_sn": "aQWUDasvFhXKCadsy2jxspfAi2wwMDsm",
          "spell_activity_id": "909",
          "end_time": "1497412362",
          "open_time": "1497408762",
          "remain_time": 1429
        }
      ],
      "has_buy_num": 0
    },
    "spec_list": {
      "": "104067"
    },
    "goods_image": "",
    "system_time": 1497409133
  }
}
备注
用户团新增前端是否显示去参团字段:"is_frontshow": "0",0 表示否 1 表示是