Home - 购食汇-v_5.5.0 登录  
最后修改者: root  2018-03-26 10:11:57 

新人欢迎页

编号  :  5

POST - /mobile/index.php?act=member_index&op=new_welcome_page
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y 登录令牌
返回值
{
  "code": 200,
  "top_data": [
    {
      "member_avatar": "http://b2.ifoodtube.com/data/upload/shop/common/default_user_portrait.gif",
      "member_name": "18280335990",
      "first_order_yes_num": 1,                //
      "old_voucher_amount": 2,
      "points": 100
    }
  ],
  "user_data": {
    "own_member_mobile": null,
    "ranking": 1,
    "member_grade": "白银会员",
    "member_exppoints": "110",
    "order_num": "0"
  }
}
备注
"top_data": [ top榜单
    {
      "member_avatar": "用户头像",
      "member_name": "用户名",
      "first_order_yes_num": 邀请新人下单数,                //
      "old_voucher_amount": 老用户获取的优惠券奖励额度总和,
      "points": 老用户获取的积分奖励额度总和,
      "ranking": 排名
    }
  ],
  "user_data": {
    "own_member_mobile": 您的邀请人 手机号  没有为  null,
    "ranking": 你的排名,
    "member_grade": "会员等级",
    "member_exppoints": "当前积分",
    "order_num": "下单数量"
  }
最后修改者: root  2018-03-22 10:40:38 

邀请新用户

编号  :  4

POST - /mobile/index.php?act=index&op=member_invite
请求参数
参数名 参数类型 必传 缺省值 描述
own_member_id int Y 老用户id
invitation_mobile string Y 被邀请人手机号
返回值
{
  "code": 200,
  "msg": "您已经领取过了,不可重复领取"
}
最后修改者: root  2018-03-22 10:36:29 

我的邀请记录

编号  :  3

POST - mobile/index.php?act=member_exchange&op=members_invite_record
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y 登录令牌
this_month int Y 1 本月 0全部
返回值
{
  "code": 200,
  "page_total": 1,
  "hasmore": false,
  "old_invite_data": {
    "first_order_yes_num": 1,
    "old_voucher_amount": 2,
    "voucher_amount": 12,
    "old_reward_points": 100,
    "ranking": 1
  },
  "invite_arr": [
    {
      "points": "100",
      "state": "1",
      "add_time": "2018-03-20 16:04:01",
      "member_mobile": "18183290726",
      "old_voucher_amount": 2
    },
    {
      "points": 0,
      "state": "0",
      "add_time": 0,
      "member_mobile": "18202818081",
      "old_voucher_amount": 0
    },
    {
      "points": 0,
      "state": "0",
      "add_time": 0,
      "member_mobile": "17380617090",
      "old_voucher_amount": 0
    },
    {
      "points": 0,
      "state": "0",
      "add_time": 0,
      "member_mobile": "13912345611",
      "old_voucher_amount": 0
    }
  ]
}
备注
"old_invite_data": { 老用户邀请数据
    "first_order_yes_num": 邀请人数(已签收),
    "old_voucher_amount": 老用户获取的优惠券额度
    "voucher_amount": 送给好友优惠券额度
    "old_reward_points": 获得的积分奖励,
    "ranking": 排名
  },
  "invite_arr": [  记录日志
    {
      "points": "积分奖励  0 未到账",
      "state": "首单签收  1 签收 0 未签收",
      "add_time": "签收时间    0 暂无",
      "member_mobile": "被邀请人",
      "old_voucher_amount": 优惠券奖励额度 0 未到账
    },
最后修改者: root  2018-04-08 15:10:44 

邀请有礼 分享页面

编号  :  2

POST - mobile/index.php?act=member_exchange&op=invite_data
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y 登录令牌
返回值
{
  "code": 200,
  "inv_temp": {
    "activity_rules": "1、老用户转发分享页面到微信、朋友圈、QQ等,新用户输入手机号即可领取新人礼包;
2、通过购食汇APP,H5微商城等登录即可使用新人优惠券;
3、新人完成首单购买,确认收货后,老用户的积分和优惠券奖励就会自动到账;
4、邀请越多的新人下单,就能排上TOP榜,每月TOP榜第1名还有额外神秘大礼包,详情查看圈子官方活动贴;
5.老用户转发分享页面到微信、朋友圈、QQ等,新用户输入手机号即可领取新人礼包;
6.通过购食汇APP,H5微商城等登录即可使用新人优惠券;
7.通过购食汇APP,H5微商城等登录即可使用新人优惠券;",
    "gam_share_title": "一二三四五六七八九十一二三四五六七八九十",
    "gam_share_abstract": "一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十",
    "gam_share_imge": "http://b2.ifoodtube.com/data/upload/mobile/invitation/05761722352590373.jpg"
  },
  "old_invite_data": {
    "first_order_yes_num": 1,
    "old_voucher_amount": 0,
    "voucher_amount": 0,
    "old_reward_points": 100
  },
  "top_month_data": {   
    "ranking": 0,
    "top_data": []
  },
  "top_all_data": {
    "ranking": 1,
    "top_data": [
      {
        "member_avatar": "http://b2.ifoodtube.com/data/upload/shop/common/default_user_portrait.gif",
        "member_name": "18280335990",
        "first_order_yes_num": 1,
        "old_voucher_amount": 0,
        "points": 100,
        "ranking": 1
      }
    ]
  },
  "bomb_box_data": {},
  "member_mobile": "18280335990",
  "member_id": "124358",
  "invitation_code": "y6e031a0cf"
}
备注
"inv_temp": {      分享图文设置
    "activity_rules":  活动规则文本
    "gam_share_title": 标题
    "gam_share_abstract": 摘要
    "gam_share_imge":   主图
  },
  "old_invite_data": {     老用户邀请数据
    "first_order_yes_num":     邀请用户数(已签收)
    "old_voucher_amount":    老用户累计获得优惠券额度
    "voucher_amount":            累计送给好友的优惠券额度
    "old_reward_points":       累计获得积分奖励
  },
  "bomb_box_data": {   顶部弹框数据
    "member_name":   用户名
    "first_order_yes_num": 邀请用户数(已签收)
    "old_voucher_amount": 老用户获得优惠券额度
    "old_reward_points": 获得积分奖励
  },
 "top_month_data": {   //月排行
    "ranking": 0,  //本月我的排名
    "top_data": []
  },
  "top_all_data": {   //累计排行
    "ranking": 1, //累计我的排名
    "top_data": [ top榜单
    {
      "member_avatar":  头像,
      "member_name": "用户名",
      "first_order_yes_num": 邀请用户数(已签收),
      "old_voucher_amount": 老用户获得优惠券额度
      "points": 获得积分奖励
      "ranking":排名
    }
  "member_mobile": "18280335990",  
  "member_id": 老用户id,
  "invitation_code": 邀请码
}
最后修改者: root  2018-03-15 10:40:57 

积分兑换日,可兑换优惠券列表

编号  :  01

POST - /mobile/index.php?act=member_voucher&op=points_exchange_voucher_list
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y 登录后的key
返回值
{
    "code": 200,
    "datas": {
        "voucher_list": [
            {
                "voucher_t_id": "348",
                "voucher_t_index": "1AD61179E8DD944038EB770AF68EFBE1",
                "voucher_t_title": "重置有效期平台",
                "voucher_t_desc": "2",
                "voucher_t_start_date": "1520998620",
                "voucher_t_end_date": "1806464220",
                "validity_day": "255",
                "voucher_t_price": "1",
                "voucher_t_limit": "11",
                "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": "22",
                "voucher_t_giveout": "0",
                "voucher_t_used": "0",
                "voucher_t_add_date": "1520998650",
                "voucher_t_quotaid": "0",
                "voucher_t_points": "1",
                "voucher_t_eachlimit": "1",
                "voucher_t_styleimg": null,
                "voucher_t_customimg": "http://local.ifoodtube.com/data/upload/shop/voucher/0/05743426509911530_small.jpg",
                "voucher_t_recommend": "0",
                "voucher_isfornew": "0",
                "voucher_t_isview": "0",
                "voucher_t_type": "0",
                "voucher_t_isplatform": "1",
                "only_for_app": "0",
                "type_id": "1",
                "bind_data_type": "0",
                "bind_data_max_number": "5",
                "voucher_t_isshare": "0",
                "voucher_update_time": "0",
                "allow_points_exchange": "0",
                "is_fornew": "0",
                "voucher_t_sc_name": null
            }
        ],
        "msg": "暂无可兑换优惠券
每周四会员日开放积分兑换
兑换比例100:1 100个积分=1元",
        "status": 1
    }
}
备注
status 1-可兑换日,0-不可兑换日,msg 不可兑换日提示信息
最后修改者: root  2018-03-07 13:49:06 

最优惠、快过期、仅限APP端使用 标签添加

编号  :  7

POST - mobile/index.php?act=member_buy&op=buy_step1
最优惠、快过期、仅限APP端使用 标签添加
请求参数
参数名 参数类型 必传 缺省值 描述
返回值
{
    "code": 200,
    "datas": [
        {
            "voucher_numb": "1",
            "voucher_t_id": "297",
            "voucher_store_id": "0",
            "voucher_price": "9",
            "voucher_title": "平台商品券1107",
            "voucher_start_date": "1510042380",
            "voucher_end_date": "1520611200",
            "voucher_limit": "20.00",
            "only_for_app": "1",
            "prime_tag": "最优惠",//最优惠
            "end_tag": "快过期", //快过期
            "for_app_tag": "仅限APP端使用"//仅限APP端使用
        },
        {
            "voucher_numb": "1",
            "voucher_t_id": "205",
            "voucher_store_id": "1",
            "voucher_price": "8",
            "voucher_title": "测试优惠券购买很多商品但是只有部分能使用优惠券",
            "voucher_start_date": "1501064100",
            "voucher_end_date": "1532686500",
            "voucher_limit": "8.00",
            "only_for_app": "0"
        }
    ]
}
备注
只用于说明添加字段
最后修改者: root  2018-03-07 09:59:23 

我的积分

编号  :  6

POST - mobile/index.php?act=member_center&op=user_points
我的积分
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y 用户token
返回值
{
    "code": 200,
    "datas": {
        "member_info": {
            "point": "2734"
        },
        "points_info": [
            {
                "sum_points": "-30",
                "pl_stage": "app",
                "stage_name": "积分兑换"
            },
            {
                "sum_points": "40",
                "pl_stage": "comments",
                "stage_name": "商品评论"
            },
            {
                "sum_points": "800",
                "pl_stage": "digest",
                "stage_name": "帖子加精"
            },
            {
                "sum_points": "520",
                "pl_stage": "login",
                "stage_name": "会员登录"
            },
            {
                "sum_points": "184",
                "pl_stage": "order",
                "stage_name": "订单消费"
            },
            {
                "sum_points": "20",
                "pl_stage": "regist",
                "stage_name": "会员注册"
            },
            {
                "sum_points": "88",
                "pl_stage": "release",
                "stage_name": "发帖奖励"
            },
            {
                "sum_points": "1110",
                "pl_stage": "replied",
                "stage_name": "被跟帖奖励"
            },
            {
                "sum_points": "2",
                "pl_stage": "reply",
                "stage_name": "跟帖奖励"
            }
        ]
    }
}
最后修改者: root  2018-03-07 10:00:13 

我的经验值

编号  :  5

POST - mobile/index.php?act=member_center&op=user_exppoints
我的经验值
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y 用户token
返回值
{
    "code": 200,
    "datas": {
        "member_info": {
            "member_exppoints": "484"
        },
        "exp_info": [
            {
                "sum_exp": "40",
                "exp_stage": "comments",
                "stage_name": "商品评论"
            },
            {
                "sum_exp": "260",
                "exp_stage": "login",
                "stage_name": "会员登录"
            },
            {
                "sum_exp": "184",
                "exp_stage": "order",
                "stage_name": "订单消费"
            }
        ]
    }
}
最后修改者: root  2018-03-28 16:47:01 

会员中心

编号  :  4

POST - mobile/index.php?act=member_center&op=user_center
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y 用户token
返回值
{
    "code": 200,
    "datas": {
        "member_info": {
            "member_id": "124446",
            "user_name": "18981850204",
            "avator": "http://local.ifoodtube.com/data/upload/shop/common/default_user_portrait.gif",
            "point": "99993580",
            "member_mobile": "18981850204",
            "member_exppoints": "30777",
            "level": {
                "level": 3,
                "level_name": "钻石会员",
                "upgrade_level": 3,
                "upgrade_level_name": "钻石会员",
                "upgrade_exppoints": 30000,
                "less_exppoints": 0,
                "upgrade_desc": "您已达到尊贵的钻石会员会员",
                "grade_valid_time": "2019-03-15" //等级到期时间
            }
        },
        "level_rule": [ //等级规则
            {
                "level": 0,
                "level_name": "白银会员",
                "level_name2": "白银会员",
                "exppoints": 0, //需要的经验值
                "exppoints_reduce": 0, //降级扣除的经验值
                "valid": "永久", //有效期
                "price": "2元/月" //会员福利工资
            },
            {
                "level": 1,
                "level_name": "黄金会员",
                "level_name2": "黄金会员",
                "exppoints": 1000,
                "exppoints_reduce": 1000,
                "valid": "1年",
                "price": "2元/月"
            },
            {
                "level": 2,
                "level_name": "铂金会员",
                "level_name2": "铂金会员",
                "exppoints": 3000,
                "exppoints_reduce": 3000,
                "valid": "1年",
                "price": "96元/月"
            },
            {
                "level": 3,
                "level_name": "钻石会员",
                "level_name2": "钻石会员",
                "exppoints": 30000,
                "exppoints_reduce": 27000,
                "valid": "1年",
                "price": "100元/月"
            }
        ]
    }
}
最后修改者: root  2018-03-07 10:03:18 

我的角标(优惠券过期及赠送优惠券提示)

编号  :  3

POST - /mobile/index.php?act=member_voucher&op=getVoucherNotice
我的角标(优惠券过期及赠送优惠券提示)
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y 用户token
返回值
{
    "code": 200,
    "datas": "5张优惠券即将过期"  或 系统送了您X张优惠券
}
备注
需要登录
最后修改者: root  2018-02-24 14:38:47 

分类首页

编号  :  1

POST - /mobile/index.php?act=index&op=cate_home
去掉分页参数、商品列表统一放在promotions下,《"index": 2, "name": "抢购",》组合导航条和跳转锚点
请求参数
参数名 参数类型 必传 缺省值 描述
key string N 登录后的key
cate_id int Y 分类id
city_id int Y 城市id
返回值
{
    "code": 200,
    "datas": {
        "list": {
            "cate_banners": [],
            "promotions": [
                {
                    "index": 2,
                    "name": "抢购",
                    "promotion_pic": "http://local.ifoodtube.com/data/upload/mobile/category/",
                    "image_width": 0,
                    "image_height": 0,
                    "goods_list": [
                        {
                            "goods_id": "104383",
                            "gc_id_2": "1361",
                            "gc_id_3": "1362",
                            "goods_name": "统计商品1",
                            "goods_price": "1.00",
                            "goods_marketprice": "11.00",
                            "goods_image": "http://local.ifoodtube.com/data/upload/shop/common/default_goods_image_360.gif",
                            "goods_salenum": "2",
                            "evaluation_good_star": "5",
                            "evaluation_count": "0",
                            "is_appoint": "0",
                            "is_zd_groupbuy": "0",
                            "goods_promotion_price": "1.00",
                            "is_virtual": "1",
                            "goods_jingle": "卖点:统计商品1",
                            "goods_promotion_type": "1",
                            "is_city_storaged": "1",
                            "goods_storage": 21,
                            "goods_addtime": "1511503146",
                            "is_presell": "0",
                            "is_not_display": "0",
                            "goods_belong_type": "0",
                            "group_flag": true,
                            "groupbuy_new_user_price": "0.50",
                            "system_time": 1519454153,
                            "start_time": "1511504100",
                            "end_time": "1541692800",
                            "is_new_user_pri": "1",
                            "xianshi_flag": false,
                            "goods_image_url": "http://local.ifoodtube.com/data/upload/shop/common/default_goods_image_360.gif",
                            "cart_num": 0,
                            "cart_id": 0,
                            "promotions": [
                                {
                                    "type": 1,
                                    "icon": "http://local.ifoodtube.com/data/resource/images/promotion_icon/1.png"
                                },
                                {
                                    "type": 7,
                                    "icon": "http://local.ifoodtube.com/data/resource/images/promotion_icon/new.png"
                                },
                                {
                                    "type": 11,
                                    "icon": "http://local.ifoodtube.com/data/resource/images/promotion_icon/vr.png"
                                }
                            ]
                        }
                    ]
                },
                {
                    "index": 7,
                    "name": "其他",
                    "promotion_pic": "http://local.ifoodtube.com/data/upload/mobile/category/",
                    "image_width": 0,
                    "image_height": 0,
                    "goods_list": [
                        {
                            "goods_id": "104384",
                            "gc_id_2": "1361",
                            "gc_id_3": "1362",
                            "goods_name": "统计商品2",
                            "goods_price": "2.00",
                            "goods_marketprice": "11.00",
                            "goods_image": "http://local.ifoodtube.com/data/upload/shop/common/default_goods_image_360.gif",
                            "goods_salenum": "4",
                            "evaluation_good_star": "5",
                            "evaluation_count": "0",
                            "is_appoint": "0",
                            "is_zd_groupbuy": "0",
                            "goods_promotion_price": "2.00",
                            "is_virtual": "0",
                            "goods_jingle": "商品卖点:统计商品2",
                            "goods_promotion_type": "0",
                            "is_city_storaged": "1",
                            "goods_storage": 0,
                            "goods_addtime": "1511503205",
                            "is_presell": "0",
                            "is_not_display": "0",
                            "goods_belong_type": "0",
                            "group_flag": false,
                            "xianshi_flag": false,
                            "goods_image_url": "http://local.ifoodtube.com/data/upload/shop/common/default_goods_image_360.gif",
                            "cart_num": 0,
                            "cart_id": 0,
                            "promotions": []
                        },
                        {
                            "goods_id": "104385",
                            "gc_id_2": "1361",
                            "gc_id_3": "1362",
                            "goods_name": "统计商品3",
                            "goods_price": "0.01",
                            "goods_marketprice": "12.00",
                            "goods_image": "http://local.ifoodtube.com/data/upload/shop/common/default_goods_image_360.gif",
                            "goods_salenum": "2",
                            "evaluation_good_star": "5",
                            "evaluation_count": "0",
                            "is_appoint": "0",
                            "is_zd_groupbuy": "0",
                            "goods_promotion_price": "0.01",
                            "is_virtual": "0",
                            "goods_jingle": "商品买点:统计商品3",
                            "goods_promotion_type": "0",
                            "is_city_storaged": "1",
                            "goods_storage": 110,
                            "goods_addtime": "1511503265",
                            "is_presell": "0",
                            "is_not_display": "0",
                            "goods_belong_type": "0",
                            "group_flag": false,
                            "xianshi_flag": false,
                            "goods_image_url": "http://local.ifoodtube.com/data/upload/shop/common/default_goods_image_360.gif",
                            "cart_num": 0,
                            "cart_id": 0,
                            "promotions": []
                        },
                        {
                            "goods_id": "104386",
                            "gc_id_2": "1361",
                            "gc_id_3": "1362",
                            "goods_name": "统计商品4",
                            "goods_price": "2.00",
                            "goods_marketprice": "22.00",
                            "goods_image": "http://local.ifoodtube.com/data/upload/shop/common/default_goods_image_360.gif",
                            "goods_salenum": "3",
                            "evaluation_good_star": "5",
                            "evaluation_count": "0",
                            "is_appoint": "0",
                            "is_zd_groupbuy": "0",
                            "goods_promotion_price": "2.00",
                            "is_virtual": "0",
                            "goods_jingle": "商品卖点:统计商品4",
                            "goods_promotion_type": "2",
                            "is_city_storaged": "1",
                            "goods_storage": 1109,
                            "goods_addtime": "1511503321",
                            "is_presell": "0",
                            "is_not_display": "0",
                            "goods_belong_type": "0",
                            "group_flag": false,
                            "xianshi_flag": false,
                            "goods_image_url": "http://local.ifoodtube.com/data/upload/shop/common/default_goods_image_360.gif",
                            "cart_num": 0,
                            "cart_id": 0,
                            "promotions": []
                        },
                        {
                            "goods_id": "104387",
                            "gc_id_2": "1361",
                            "gc_id_3": "1362",
                            "goods_name": "统计商品5",
                            "goods_price": "1.00",
                            "goods_marketprice": "22.00",
                            "goods_image": "http://local.ifoodtube.com/data/upload/shop/common/default_goods_image_360.gif",
                            "goods_salenum": "4",
                            "evaluation_good_star": "5",
                            "evaluation_count": "0",
                            "is_appoint": "0",
                            "is_zd_groupbuy": "0",
                            "goods_promotion_price": "1.00",
                            "is_virtual": "0",
                            "goods_jingle": "商品卖点:统计商品5",
                            "goods_promotion_type": "2",
                            "is_city_storaged": "1",
                            "goods_storage": 1221,
                            "goods_addtime": "1511503404",
                            "is_presell": "0",
                            "is_not_display": "0",
                            "goods_belong_type": "0",
                            "group_flag": false,
                            "xianshi_flag": false,
                            "goods_image_url": "http://local.ifoodtube.com/data/upload/shop/common/default_goods_image_360.gif",
                            "cart_num": 0,
                            "cart_id": 0,
                            "promotions": []
                        },
                        {
                            "goods_id": "104388",
                            "gc_id_2": "1361",
                            "gc_id_3": "1362",
                            "goods_name": "统计商品6",
                            "goods_price": "3.00",
                            "goods_marketprice": "22.00",
                            "goods_image": "http://local.ifoodtube.com/data/upload/shop/common/default_goods_image_360.gif",
                            "goods_salenum": "4",
                            "evaluation_good_star": "5",
                            "evaluation_count": "0",
                            "is_appoint": "0",
                            "is_zd_groupbuy": "0",
                            "goods_promotion_price": "3.00",
                            "is_virtual": "0",
                            "goods_jingle": "商品买点:统计商品6",
                            "goods_promotion_type": "0",
                            "is_city_storaged": "1",
                            "goods_storage": 2222,
                            "goods_addtime": "1511503465",
                            "is_presell": "0",
                            "is_not_display": "0",
                            "goods_belong_type": "0",
                            "group_flag": false,
                            "xianshi_flag": false,
                            "goods_image_url": "http://local.ifoodtube.com/data/upload/shop/common/default_goods_image_360.gif",
                            "cart_num": 0,
                            "cart_id": 0,
                            "promotions": []
                        },
                        {
                            "goods_id": "104389",
                            "gc_id_2": "1361",
                            "gc_id_3": "1362",
                            "goods_name": "统计商品7",
                            "goods_price": "0.01",
                            "goods_marketprice": "21.00",
                            "goods_image": "http://local.ifoodtube.com/data/upload/shop/common/default_goods_image_360.gif",
                            "goods_salenum": "2",
                            "evaluation_good_star": "5",
                            "evaluation_count": "0",
                            "is_appoint": "0",
                            "is_zd_groupbuy": "0",
                            "goods_promotion_price": "0.01",
                            "is_virtual": "0",
                            "goods_jingle": "商品卖点:统计商品7",
                            "goods_promotion_type": "0",
                            "is_city_storaged": "1",
                            "goods_storage": 2021,
                            "goods_addtime": "1511503538",
                            "is_presell": "1",
                            "is_not_display": "0",
                            "goods_belong_type": "0",
                            "group_flag": false,
                            "xianshi_flag": false,
                            "goods_image_url": "http://local.ifoodtube.com/data/upload/shop/common/default_goods_image_360.gif",
                            "cart_num": 0,
                            "cart_id": 0,
                            "promotions": [
                                {
                                    "type": 12,
                                    "icon": "http://local.ifoodtube.com/data/resource/images/promotion_icon/ys_goods.png"
                                }
                            ]
                        },
                        {
                            "goods_id": "104390",
                            "gc_id_2": "1361",
                            "gc_id_3": "1362",
                            "goods_name": "西昌无籽红提500g",
                            "goods_price": "12.80",
                            "goods_marketprice": "33.00",
                            "goods_image": "http://local.ifoodtube.com/data/upload/shop/common/default_goods_image_360.gif",
                            "goods_salenum": "4",
                            "evaluation_good_star": "5",
                            "evaluation_count": "0",
                            "is_appoint": "0",
                            "is_zd_groupbuy": "0",
                            "goods_promotion_price": "12.80",
                            "is_virtual": "0",
                            "goods_jingle": "活动描述:统计商品8统计商品8",
                            "goods_promotion_type": "0",
                            "is_city_storaged": "1",
                            "goods_storage": 3221,
                            "goods_addtime": "1511503604",
                            "is_presell": "0",
                            "is_not_display": "0",
                            "goods_belong_type": "0",
                            "group_flag": false,
                            "xianshi_flag": false,
                            "goods_image_url": "http://local.ifoodtube.com/data/upload/shop/common/default_goods_image_360.gif",
                            "cart_num": 0,
                            "cart_id": 0,
                            "promotions": []
                        },
                        {
                            "goods_id": "104391",
                            "gc_id_2": "1361",
                            "gc_id_3": "1362",
                            "goods_name": "柠檬500gg",
                            "goods_price": "9.90",
                            "goods_marketprice": "21.00",
                            "goods_image": "http://local.ifoodtube.com/data/upload/shop/common/default_goods_image_360.gif",
                            "goods_salenum": "4",
                            "evaluation_good_star": "5",
                            "evaluation_count": "0",
                            "is_appoint": "0",
                            "is_zd_groupbuy": "0",
                            "goods_promotion_price": "9.90",
                            "is_virtual": "0",
                            "goods_jingle": "商品卖点:统计商品9",
                            "goods_promotion_type": "0",
                            "is_city_storaged": "1",
                            "goods_storage": 454351,
                            "goods_addtime": "1511503677",
                            "is_presell": "0",
                            "is_not_display": "0",
                            "goods_belong_type": "0",
                            "group_flag": false,
                            "xianshi_flag": false,
                            "goods_image_url": "http://local.ifoodtube.com/data/upload/shop/common/default_goods_image_360.gif",
                            "cart_num": 0,
                            "cart_id": 0,
                            "promotions": []
                        },
                        {
                            "goods_id": "104393",
                            "gc_id_2": "1361",
                            "gc_id_3": "1362",
                            "goods_name": "清香橘",
                            "goods_price": "5.98",
                            "goods_marketprice": "22.00",
                            "goods_image": "http://local.ifoodtube.com/data/upload/shop/common/default_goods_image_360.gif",
                            "goods_salenum": "3",
                            "evaluation_good_star": "5",
                            "evaluation_count": "0",
                            "is_appoint": "0",
                            "is_zd_groupbuy": "0",
                            "goods_promotion_price": "5.98",
                            "is_virtual": "0",
                            "goods_jingle": "活动卖点:统计商品11",
                            "goods_promotion_type": "0",
                            "is_city_storaged": "1",
                            "goods_storage": 22322,
                            "goods_addtime": "1511504898",
                            "is_presell": "0",
                            "is_not_display": "0",
                            "goods_belong_type": "0",
                            "group_flag": false,
                            "xianshi_flag": false,
                            "goods_image_url": "http://local.ifoodtube.com/data/upload/shop/common/default_goods_image_360.gif",
                            "cart_num": 0,
                            "cart_id": 0,
                            "promotions": [
                                {
                                    "type": 4,
                                    "icon": "http://local.ifoodtube.com/data/resource/images/promotion_icon/4.png"
                                }
                            ]
                        },
                        {
                            "goods_id": "104394",
                            "gc_id_2": "1361",
                            "gc_id_3": "1362",
                            "goods_name": "高峰山散养鸡蛋10",
                            "goods_price": "10.80",
                            "goods_marketprice": "11.00",
                            "goods_image": "http://local.ifoodtube.com/data/upload/shop/common/default_goods_image_360.gif",
                            "goods_salenum": "3",
                            "evaluation_good_star": "5",
                            "evaluation_count": "0",
                            "is_appoint": "0",
                            "is_zd_groupbuy": "0",
                            "goods_promotion_price": "10.80",
                            "is_virtual": "0",
                            "goods_jingle": "商品卖点:统计商品12",
                            "goods_promotion_type": "0",
                            "is_city_storaged": "1",
                            "goods_storage": 1121,
                            "goods_addtime": "1511504978",
                            "is_presell": "0",
                            "is_not_display": "0",
                            "goods_belong_type": "0",
                            "group_flag": false,
                            "xianshi_flag": false,
                            "goods_image_url": "http://local.ifoodtube.com/data/upload/shop/common/default_goods_image_360.gif",
                            "cart_num": 0,
                            "cart_id": 0,
                            "promotions": [
                                {
                                    "type": 4,
                                    "icon": "http://local.ifoodtube.com/data/resource/images/promotion_icon/4.png"
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    }
}
最后修改者: root  2018-03-21 16:47:50 

app在线充值列表接口

编号  :  1

POST - index.php?act=member_online_rcb&op=rcb_list
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y 用户token
返回值
{
  "code": 200,
  "is_other_amount_open": "0",
  "online_rcb_btm_msg": "",
  "online_rcb_top_msg": "",
  "rcb_operation_adv_bar": [
    {
      "image": "http://127.0.0.1/goushihui/data/upload/mobile/rcb/cadv/cadv_05693272189158186.jpg",
      "type": "keyword",
      "data": "221",
      "share_target_url": ""
    },
    {
      "image": "http://127.0.0.1/goushihui/data/upload/mobile/rcb/cadv/cadv_05693272346549012.jpg",
      "type": "special",
      "data": "13",
      "share_target_url": ""
    }
  ],
  "rcb_show_image": "http://127.0.0.1/goushihui/data/upload/mobile/rcb/05690032366931093.jpg",
  "rcb_list": [
    {
      "id": "1",
      "prime_cost": "10",
      "discount_price": "9.50",
      "is_bind": 0,
      "voucher_data": []
    },
    {
      "id": "2",
      "prime_cost": "20",
      "discount_price": "19.00",
      "is_bind": 1,
      "voucher_data": {
        "voucher_t_id": "68",
        "voucher_t_title": "2元优惠券",
        "voucher_t_desc": "2元优惠券",
        "voucher_t_end_date": "1740462180",
        "voucher_t_price": "2",
        "voucher_num": "3"
      }
    },
    {
      "id": "4",
      "prime_cost": "50",
      "discount_price": "45.00",
      "is_bind": 1,
      "voucher_data": {
        "voucher_t_id": "84",
        "voucher_t_title": "优惠券1",
        "voucher_t_desc": "优惠券1优惠券1优惠券1优惠券1",
        "voucher_t_end_date": "1678179060",
        "voucher_t_price": "2",
        "voucher_num": "3"
      }
    },
    {
      "id": "3",
      "prime_cost": "100",
      "discount_price": "80.00",
      "is_bind": 0,
      "voucher_data": []
    }
  ]
}
备注
app在线充值页面使用
is_other_amount_open: 自定义金额(无折扣)充值是否开放 1 是 0 否
online_rcb_top_msg:立即充值按钮上方,备注文字设置
online_rcb_btm_msg:页面底部说明文字设置
rcb_operation_adv_bar : 广告条板块(广告轮播图) 类似分类轮播图
               image: 图片地址
               type: 操作类型
               data: 内容
               share_target_url: 分享地址
rcb_show_image:礼品卡充值立即充值按钮下方,礼品卡背面密码示意图
rcb_list:充值金额列表
               prime_cost:原价
               discount_price:折扣价
               is_bind:是否绑定优惠券  0 不绑定 1绑定
               voucher_data:优惠券数据
                        voucher_num:优惠券数量
                        voucher_t_limit:满多少可用
 voucher_t_price元优惠券满voucher_t_limit可用Xvoucher_num