Home - v_170420 登录  
最后修改者: root  2017-03-28 17:12:09 

修改地址接口

编号  :  123

POST - /mobile/index.php?act=member_buy&op=change_address
请求参数
参数名 参数类型 必传 缺省值 描述
address_id int Y 地址
city_id int Y 城市
area_id int Y 区域
freight_hash string Y 第一步接口结果参数
key string Y 登陆token
own_freight_hash string Y 第一步接口结果参数
spell_activity_id int Y 拼团活动id
返回值
{
  "code": 200,
  "datas": {
    "state": "success",
    "content": {
      "1": "2.00"
    },
    "allow_offpay": "0",
    "allow_offpay_batch": {
      "1": false
    },
    "offpay_hash": "JnM4IUk2dm6tv2fEyKYNytxYRpFa28-T6cmUCpR",
    "offpay_hash_batch": "npZPiIw_onq4IRVaZzshTBpM-MifUGpcy109YNcJi10nWbX",
    "freeforfirst": 0
  }
}
最后修改者: root  2017-03-13 13:43:49 

购买第二步

编号  :  002

POST - mobile/index.php?act=member_buy&op=buy_step2
请求参数
参数名 参数类型 必传 缺省值 描述
spell_activity_id int Y 活动id
spell_id int Y 拼团id
is_colonel int Y 是否是开团 1 是 0 否
返回值
{
  "code": 200,
  "datas": {
    "pay_sn": "610542727670149968",
    "cost": "0.00",
    "cart_size": "0",
    "order_lock_time": 0,
    "spell_id": "50"
  }
}
备注
在原来基础上再加以下参数
最后修改者: root  2017-03-09 13:48:00 

购买第一步

编号  :  009

POST - http://b2.meiling.com/mobile/index.php?act=member_buy&op=buy_step1
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y 用户token
city_id int Y 城市
cart_id string Y 购物车编号|数量(商品编号|购买数量)
ifcart int Y 是否是购物车(1是0否)
spell_activity_id int Y 拼图活动id
spell_id int Y 团号
返回值
{
  "code": 200,
  "datas": {
    "store_cart_list": {
      "1": {
        "store_name": "购食汇绵阳官方旗舰店",
        "goods_list": [
          {
            "goods_num": 11,
            "goods_id": 103787,
            "goods_commonid": "105350",
            "gc_id": "1149",
            "gc_ids": "1149,0,0",
            "store_id": "1",
            "goods_name": "chen_测试2017",
            "goods_price": "0.50",
            "original_price": "1.00",
            "is_zd_groupbuy": "0",
            "store_name": "购食汇绵阳官方旗舰店",
            "goods_image": "1_05415230067447369.jpg",
            "transport_id": "0",
            "goods_freight": "22.00",
            "goods_vat": "0",
            "goods_storage": "948",
            "goods_storage_alarm": "0",
            "is_fcode": "0",
            "have_gift": "0",
            "state": true,
            "storage_state": true,
            "groupbuy_info": [],
            "xianshi_info": null,
            "is_part_sales": "0",
            "groupspell_info": {
              "spell_activity_id": "24",
              "spell_name": "chen_jinye",
              "spell_type": "2",
              "start_time": "1488333517",
              "end_time": "1493913600",
              "store_id": "1",
              "goods_id": "103787",
              "promotion_price": "0.50",
              "freight": "11.00",
              "success_group": "38",
              "limit_quantity": "20",
              "group_quantity": "100",
              "locked_time": "24",
              "pay_locked_time": "15",
              "interests_type": "1",
              "interests_value": "66",
              "vr_quantity": "0",
              "roll_group_num": "0",
              "is_new_user": "0",
              "add_time": "1488333517",
              "update_time": null
            },
            "cart_id": 103787,
            "bl_id": 0,
            "city_id": "390",
            "is_city_storaged": "2",
            "is_normal": "1",
            "is_presell": "0",
            "presell_deliverdate": "0",
            "order_endtime": "0",
            "erp_goods_id": "0",
            "weight": "0.000",
            "weight_meter": "0",
            "limit_quantity": "20",
            "spell_activity_id": "24",
            "ifgroupspell": true,
            "area_name": "绵阳市",
            "goods_total": "5.50",
            "goods_image_url": "http://b2.meiling.com/data/upload/shop/common/default_goods_image_240.gif"
          }
        ],
        "nonormal_num": 0,
        "store_goods_total": "5.50",
        "store_mansong_rule_list": null,
        "store_voucher_list": [],
        "freight": "1",
        "free_price": "50.00",
        "freight_tip": "快递满50免运费,自提柜/点满17免运费"
      }
    },
    "is_city_allStoraged": 1,
    "freight_hash": "UIG_YZLsTwRBXACdeKOyvaA__YqKzi-kOgL5vMaTPMnvq_ev4UfsGwIswPTxO4n8iYgMWvbrfcXqwkXkqVlvKo8HeeqVgTFV5eYjf06dYRDQNTNeg3nZ9vCbaG3SqE4jOfshc9I",
    "freight_total_hash": "TaatCH13rWYSEUtCheNEDIqtpjty0l7RIOjf4BgI96R6tnfy1BfvavaAe5BbZ7P9lVNMZDa9zKBYavaMrYicKg_bdw-DKBvg8GZmch6gsQVk797Ir6PaAsvbda2k-yiR4qvJdAF",
    "own_freight_hash": "9UPlKT9iOR325yqJT3-4Ay5xOlrZXgW2LUi7VAFGZllgEkaGH1XPZUl1WBNjEzIiX6S0B4E3oCJkiaSFQKHhyxnQHqz7SN3L0_-YBmiIh6PZzFHQWyI_yR0DFPgezqqdAVnCCyq",
    "own_freight_total_hash": "l7-i6AWLj80R6Ppxwfln9imK36WWyhz1zxKilE91zyO6kLB_bjG_sB7kTx68tIzfy7vzpVseX_5R7DnwNlI-xsPtvRi4C6Q0Jq7zCDhw-i2Iw10p_Hz8NSRCtsIFinaKZ-8t_Nr",
    "address_info": {
      "address_id": "614",
      "member_id": "112968",
      "true_name": "陈金业",
      "area_id": "45064",
      "city_id": "390",
      "area_info": "四川 绵阳市 经开区",
      "address": "长虹科技大厦附近",
      "tel_phone": null,
      "mob_phone": "15184373398",
      "is_default": "0",
      "dlyp_id": "0",
      "container_id": "0",
      "mapped": "0",
      "addr_type": 1
    },
    "vat_hash": "5W_7L_seJP0l6zAaOickYcSEl554hREBByD",
    "available_rc_balance": "940.00",
    "member_paypwd": true,
    "code": "",
    "award_id": null,
    "award_info_id": null,
    "freeforfirst": 0,
    "nonormal_total_num": 0,
    "userbalance": "1933.98",
    "credit": 0,
    "last_dlyp_info": null,
    "discount_sum": "0.00",
    "sum": "5.50"
  }
}
备注
拼团活动信息
"groupspell_info": {
              "spell_activity_id": "24",
              "spell_name": "chen_jinye",
              "spell_type": "2",
              "start_time": "1488333517",
              "end_time": "1493913600",
              "store_id": "1",
              "goods_id": "103787",
              "promotion_price": "0.50",
              "freight": "11.00",
              "success_group": "38",
              "limit_quantity": "20",
              "group_quantity": "100",
              "locked_time": "24",
              "pay_locked_time": "15",
              "interests_type": "1",
              "interests_value": "66",
              "vr_quantity": "0",
              "roll_group_num": "0",
              "is_new_user": "0",
              "add_time": "1488333517",
              "update_time": null
            }
           拼团活动id :"spell_activity_id": "24",
           是否是拼团商品: "ifgroupspell": true,
最后修改者: root  2017-03-08 14:47:22 

订单详情-多退少补描述优化

编号  :  1

POST - /mobile/index.php?act=member_order&op=show_order
新增返回字段 less_more_repair_desc : 多退少补描述信息
请求参数
参数名 参数类型 必传 缺省值 描述
返回值
{
  "code": 200,
  "datas": {
    "order_id": "180764",
    "order_sn": "1097010000000956901",
    "order_state": "20",
    "state_desc": "待发货",
    "store_id": "1",
    "store_member_id": "66383",
    "store_member_name": "ditui001",
    "store_name": "购食汇绵阳官方旗舰店",
    "add_time": "1488945092",
    "payment_time": "1488945103",
    "sendtimed": "1489028400",
    "order_amount": "0.02",
    "shipping_fee": "0.00",
    "is_normal": "0",
    "is_arrived": "0",
    "delivery_code": null,
    "dlyo_pickup_code": null,
    "voucher_price": "0.00",
    "is_picking": "0",
    "less_more_repair": "0.00",
    "freeforfirst": "0",
    "is_exchange": "0",
    "less_more_repair_desc": "(根据付款方式,已退至余额)",
    "reciver_info": {
      "re_phone": "18981850204",
      "re_address": "四川  绵阳市  游仙区 城东壹号自提柜",
      "re_true_name": "吴学海大哥",
      "container": 1,
      "deliver_service_name": "自提柜"
    },
    "extend_order_goods": [
      {
        "goods_id": "103443",
        "goods_name": "非标品",
        "goods_price": "0.02",
        "goods_num": "1",
        "goods_pay_price": "0.02",
        "is_normal": "0",
        "actual_weight": null,
        "goods_type": "1",
        "is_presell": "0",
        "image_url": "http://local.meiling.com/data/upload/shop/common/default_goods_image_240.gif"
      }
    ],
    "nonormal_num": 1,
    "goods_total": "0.02",
    "mansong_amount": "0.00",
    "order_send_voucher_desc": "",
    "goods_count": 1
  }
}
最后修改者: root  2017-08-07 17:47:12 

订单列表新增返回字段

编号  :  00

POST - /mobile/index.php?act=member_order&op=order_list
订单列表
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y 用户token
type int Y 订单类型
返回值
{
  "code": 200,
  "hasmore": false,
  "page_total": 1,
  "datas": {
    "order_group_list": [
      {
        "order_list": [
          {
            "order_id": "180678",
            "order_sn": "1007010000000948801",
            "pay_sn": "680542202103794968",
            "store_id": "1",
            "store_name": "购食汇绵阳官方旗舰店",
            "buyer_id": "112968",
            "buyer_name": "scuchen_2016",
            "buyer_email": null,
            "add_time": "1488858102",
            "payment_code": "predeposit",
            "payment_time": "1488858102",
            "finnshed_time": "0",
            "goods_amount": "1.00",
            "order_amount": "1.00",
            "rcb_amount": "1.00",
            "pd_amount": "0.00",
            "shipping_fee": "0.00",
            "evaluation_state": "0",
            "order_state": "20",
            "refund_state": "0",
            "lock_state": "0",
            "delete_state": "0",
            "refund_amount": "0.00",
            "delay_time": "0",
            "order_from": "2",
            "shipping_code": "",
            "city_id": "390",
            "trade_no": null,
            "version_no": "android4.5",
            "subject": null,
            "freeforfirst": "0",
            "is_exchange": "0",
            "exchange_code": null,
            "trade_type": null,
            "bank_type": null,
            "is_normal": "1",
            "delivery_code": null,
            "pay_credit_debt": "0.00",
            "less_more_repair": "0.00",
            "ps_amount": "0.00",
            "pure_amount": "0.00",
            "is_transfer": "1",
            "is_picking": "0",
            "over_weight_free": "0.00",
            "real_money_owed": "0.00",
            "sendtimed": "1488967200",
            "delivery_number": "",
            "is_arrived": "0",
            "sm_no": null,
            "credit_debt": "0.00",
            "reciver_phone": "15184373398",
            "mobile_imei": "0",
            "groupbuy_type": "0",
            "if_finnished": "0",
            "final_refund_state": "1",
            "final_overdue": "0",
            "store_no_freight_total": "0.00",
            "order_lock_time": "1488861702",
            "order_type": "2",
            "is_spell_success": "1",
            "is_vr_order": "0",
            "state_desc": "待发货",
            "payment_name": "站内余额支付",
            "extend_store": {
              "store_id": "1",
              "store_name": "购食汇绵阳官方旗舰店",
              "grade_id": "0",
              "member_id": "1",
              "member_name": "mllifemj",
              "seller_name": "meiling",
              "sc_id": "0",
              "store_company_name": null,
              "province_id": "23",
              "area_info": "",
              "store_address": "",
              "store_zip": "",
              "store_state": "1",
              "store_close_info": "",
              "store_sort": "0",
              "store_time": "1421040447",
              "store_end_time": null,
              "store_label": "05343528842717659.jpg",
              "store_banner": "05282177792650022.jpg",
              "store_avatar": "04768065915473920_sm.png",
              "store_keywords": "",
              "store_description": "",
              "store_qq": null,
              "store_ww": null,
              "store_phone": null,
              "store_zy": null,
              "store_domain": null,
              "store_domain_times": "0",
              "store_recommend": "0",
              "store_theme": "default",
              "store_credit": "0",
              "store_desccredit": "0",
              "store_servicecredit": "0",
              "store_deliverycredit": "0",
              "store_collect": "6",
              "store_slide": "05300315465586110.png,05300145901604546.jpg,,,",
              "store_slide_url": null,
              "store_stamp": null,
              "store_printdesc": null,
              "store_sales": "0",
              "store_presales": "a:3:{i:0;a:3:{s:4:"name";s:7:"售前2";s:4:"type";i:3;s:3:"num";s:5:"66383";}i:1;a:3:{s:4:"name";s:7:"售前2";s:4:"type";i:3;s:3:"num";s:1:"3";}i:2;a:3:{s:4:"name";s:7:"售前3";s:4:"type";i:1;s:3:"num";s:9:"510404494";}}",
              "store_aftersales": "a:3:{i:0;a:3:{s:4:"name";s:7:"售后1";s:4:"type";i:1;s:3:"num";s:9:"510404494";}i:1;a:3:{s:4:"name";s:7:"售后2";s:4:"type";i:3;s:3:"num";s:1:"5";}i:2;a:3:{s:4:"name";s:7:"售后3";s:4:"type";i:3;s:3:"num";s:5:"66383";}}",
              "store_workingtime": "08:00-18:00",
              "store_free_price": "50.00",
              "store_decoration_switch": "0",
              "store_decoration_only": "0",
              "store_decoration_image_count": "0",
              "live_store_name": "",
              "live_store_address": "四川省成都市高新区天府四街199号",
              "live_store_tel": "",
              "live_store_bus": "4B,501,4A",
              "is_own_shop": "1",
              "bind_all_gc": "1",
              "store_vrcode_prefix": null,
              "iscalced_freight_discount": "1",
              "support_platform_voucher": "1",
              "is_support_erp": "1",
              "store_free_price_own": "17.00",
              "order_lock_time": "60",
              "after_order_time": "1440",
              "special_id": null,
              "slide_goods_id": "105043,105042,,,",
              "province_name": "四川",
              "city_name": "绵阳市",
              "city_id": "390",
              "auto_refund": "0"
            },
            "extend_order_goods": [
              {
                "rec_id": "311795",
                "order_id": "180678",
                "goods_id": "103787",
                "goods_name": "chen_测试2017",
                "goods_price": "1.00",
                "goods_num": "1",
                "goods_image": "1_05415230067447369.jpg",
                "goods_pay_price": "1.00",
                "original_price": "1.00",
                "store_id": "1",
                "buyer_id": "112968",
                "promotions_id": "0",
                "commis_rate": "0",
                "gc_id": "1149",
                "city_id": "390",
                "alipay_amount": "0.00",
                "rcb_amount": "1.00",
                "pd_amount": "0.00",
                "weight": "0",
                "weight_meter": "0",
                "actual_weight": null,
                "actual_pay_price": null,
                "is_normal": "1",
                "erp_goods_id": "0",
                "pure_amount": "0.00",
                "ps_amount": "0.00",
                "is_city_storaged": "2",
                "is_zd_groupbuy": "0",
                "goods_type": "1",
                "sale_discount": "0.00",
                "sale_minus": "0.00",
                "sale_suit": "0.00",
                "sale_hour": "0.00",
                "sale_general": "0.00",
                "market_coupon": "0.00",
                "market_give": "0.00",
                "is_presell": "0",
                "refund_list": {},
                "goods_image_url": "http://127.0.0.1/goushihui/data/upload/shop/store/goods/1/1_05415230067447369_240.jpg"
              }
            ],
            "order_goods_amount": 1,
            "order_goods_num": 1,
            "refund": "1",
            "if_cancel": false,
            "evaluation": false,
            "if_receive": false,
            "if_lock": false,
            "if_deliver": false,
            "container": 0,
            "refund_return_type": 1,
            "refund_id": 0,
            "spell_activity_id": "29",
            "spell_id": "41",
            "goods_count": 1
          }
        ],
        "add_time": "1488858102",
        "freeforfirst": "0",
        "pay_sn": "680542202103794968",
        "is_vr_order": "0"
      },
      {
        "order_list": [
          {
            "order_id": "180676",
            "order_sn": "1007010000000948601",
            "pay_sn": "320542201808484968",
            "store_id": "1",
            "store_name": "购食汇绵阳官方旗舰店",
            "buyer_id": "112968",
            "buyer_name": "scuchen_2016",
            "buyer_email": null,
            "add_time": "1488857807",
            "payment_code": "predeposit",
            "payment_time": "1488857807",
            "finnshed_time": "0",
            "goods_amount": "1.00",
            "order_amount": "1.00",
            "rcb_amount": "1.00",
            "pd_amount": "0.00",
            "shipping_fee": "0.00",
            "evaluation_state": "0",
            "order_state": "20",
            "refund_state": "0",
            "lock_state": "0",
            "delete_state": "0",
            "refund_amount": "0.00",
            "delay_time": "0",
            "order_from": "2",
            "shipping_code": "",
            "city_id": "390",
            "trade_no": null,
            "version_no": "android4.5",
            "subject": null,
            "freeforfirst": "0",
            "is_exchange": "0",
            "exchange_code": null,
            "trade_type": null,
            "bank_type": null,
            "is_normal": "1",
            "delivery_code": null,
            "pay_credit_debt": "0.00",
            "less_more_repair": "0.00",
            "ps_amount": "0.00",
            "pure_amount": "0.00",
            "is_transfer": "1",
            "is_picking": "0",
            "over_weight_free": "0.00",
            "real_money_owed": "0.00",
            "sendtimed": "1488967200",
            "delivery_number": "",
            "is_arrived": "0",
            "sm_no": null,
            "credit_debt": "0.00",
            "reciver_phone": "15184373398",
            "mobile_imei": "0",
            "groupbuy_type": "0",
            "if_finnished": "0",
            "final_refund_state": "1",
            "final_overdue": "0",
            "store_no_freight_total": "0.00",
            "order_lock_time": "1488861407",
            "order_type": "3",
            "is_spell_success": "1",
            "is_vr_order": "0",
            "state_desc": "待发货",
            "payment_name": "站内余额支付",
            "extend_store": {
              "store_id": "1",
              "store_name": "购食汇绵阳官方旗舰店",
              "grade_id": "0",
              "member_id": "1",
              "member_name": "mllifemj",
              "seller_name": "meiling",
              "sc_id": "0",
              "store_company_name": null,
              "province_id": "23",
              "area_info": "",
              "store_address": "",
              "store_zip": "",
              "store_state": "1",
              "store_close_info": "",
              "store_sort": "0",
              "store_time": "1421040447",
              "store_end_time": null,
              "store_label": "05343528842717659.jpg",
              "store_banner": "05282177792650022.jpg",
              "store_avatar": "04768065915473920_sm.png",
              "store_keywords": "",
              "store_description": "",
              "store_qq": null,
              "store_ww": null,
              "store_phone": null,
              "store_zy": null,
              "store_domain": null,
              "store_domain_times": "0",
              "store_recommend": "0",
              "store_theme": "default",
              "store_credit": "0",
              "store_desccredit": "0",
              "store_servicecredit": "0",
              "store_deliverycredit": "0",
              "store_collect": "6",
              "store_slide": "05300315465586110.png,05300145901604546.jpg,,,",
              "store_slide_url": null,
              "store_stamp": null,
              "store_printdesc": null,
              "store_sales": "0",
              "store_presales": "a:3:{i:0;a:3:{s:4:"name";s:7:"售前2";s:4:"type";i:3;s:3:"num";s:5:"66383";}i:1;a:3:{s:4:"name";s:7:"售前2";s:4:"type";i:3;s:3:"num";s:1:"3";}i:2;a:3:{s:4:"name";s:7:"售前3";s:4:"type";i:1;s:3:"num";s:9:"510404494";}}",
              "store_aftersales": "a:3:{i:0;a:3:{s:4:"name";s:7:"售后1";s:4:"type";i:1;s:3:"num";s:9:"510404494";}i:1;a:3:{s:4:"name";s:7:"售后2";s:4:"type";i:3;s:3:"num";s:1:"5";}i:2;a:3:{s:4:"name";s:7:"售后3";s:4:"type";i:3;s:3:"num";s:5:"66383";}}",
              "store_workingtime": "08:00-18:00",
              "store_free_price": "50.00",
              "store_decoration_switch": "0",
              "store_decoration_only": "0",
              "store_decoration_image_count": "0",
              "live_store_name": "",
              "live_store_address": "四川省成都市高新区天府四街199号",
              "live_store_tel": "",
              "live_store_bus": "4B,501,4A",
              "is_own_shop": "1",
              "bind_all_gc": "1",
              "store_vrcode_prefix": null,
              "iscalced_freight_discount": "1",
              "support_platform_voucher": "1",
              "is_support_erp": "1",
              "store_free_price_own": "17.00",
              "order_lock_time": "60",
              "after_order_time": "1440",
              "special_id": null,
              "slide_goods_id": "105043,105042,,,",
              "province_name": "四川",
              "city_name": "绵阳市",
              "city_id": "390",
              "auto_refund": "0"
            },
            "extend_order_goods": [
              {
                "rec_id": "311793",
                "order_id": "180676",
                "goods_id": "103787",
                "goods_name": "chen_测试2017",
                "goods_price": "1.00",
                "goods_num": "1",
                "goods_image": "1_05415230067447369.jpg",
                "goods_pay_price": "1.00",
                "original_price": "1.00",
                "store_id": "1",
                "buyer_id": "112968",
                "promotions_id": "0",
                "commis_rate": "0",
                "gc_id": "1149",
                "city_id": "390",
                "alipay_amount": "0.00",
                "rcb_amount": "1.00",
                "pd_amount": "0.00",
                "weight": "0",
                "weight_meter": "0",
                "actual_weight": null,
                "actual_pay_price": null,
                "is_normal": "1",
                "erp_goods_id": "0",
                "pure_amount": "0.00",
                "ps_amount": "0.00",
                "is_city_storaged": "2",
                "is_zd_groupbuy": "0",
                "goods_type": "1",
                "sale_discount": "0.00",
                "sale_minus": "0.00",
                "sale_suit": "0.00",
                "sale_hour": "0.00",
                "sale_general": "0.00",
                "market_coupon": "0.00",
                "market_give": "0.00",
                "is_presell": "0",
                "refund_list": {},
                "goods_image_url": "http://127.0.0.1/goushihui/data/upload/shop/store/goods/1/1_05415230067447369_240.jpg"
              }
            ],
            "order_goods_amount": 1,
            "order_goods_num": 1,
            "refund": "1",
            "if_cancel": false,
            "evaluation": false,
            "if_receive": false,
            "if_lock": false,
            "is_show_refund":0,
            "if_deliver": false,
            "container": 0,
            "refund_return_type": 1,
            "refund_id": 0,
            "spell_activity_id": "29",
            "spell_id": "41",
            "goods_count": 1
          }
        ],
        "add_time": "1488857807",
        "freeforfirst": "0",
        "pay_sn": "320542201808484968",
        "is_vr_order": "0"
      },
      {
        "order_list": [
          {
            "order_id": "180675",
            "order_sn": "1007010000000948501",
            "pay_sn": "700542201767144968",
            "store_id": "1",
            "store_name": "购食汇绵阳官方旗舰店",
            "buyer_id": "112968",
            "buyer_name": "scuchen_2016",
            "buyer_email": null,
            "add_time": "1488857766",
            "payment_code": "predeposit",
            "payment_time": "1488857766",
            "finnshed_time": "0",
            "goods_amount": "1.00",
            "order_amount": "1.00",
            "rcb_amount": "1.00",
            "pd_amount": "0.00",
            "shipping_fee": "0.00",
            "evaluation_state": "0",
            "order_state": "20",
            "refund_state": "0",
            "lock_state": "0",
            "delete_state": "0",
            "refund_amount": "0.00",
            "delay_time": "0",
            "order_from": "2",
            "shipping_code": "",
            "city_id": "390",
            "trade_no": null,
            "version_no": "android4.5",
            "subject": null,
            "freeforfirst": "0",
            "is_exchange": "0",
            "exchange_code": null,
            "trade_type": null,
            "bank_type": null,
            "is_normal": "1",
            "delivery_code": null,
            "pay_credit_debt": "0.00",
            "less_more_repair": "0.00",
            "ps_amount": "0.00",
            "pure_amount": "0.00",
            "is_transfer": "1",
            "is_picking": "0",
            "over_weight_free": "0.00",
            "real_money_owed": "0.00",
            "sendtimed": "1488967200",
            "delivery_number": "",
            "is_arrived": "0",
            "sm_no": null,
            "credit_debt": "0.00",
            "reciver_phone": "15184373398",
            "mobile_imei": "0",
            "groupbuy_type": "0",
            "if_finnished": "0",
            "final_refund_state": "1",
            "final_overdue": "0",
            "store_no_freight_total": "0.00",
            "order_lock_time": "1488861366",
            "order_type": "2",
            "is_spell_success": "1",
            "is_vr_order": "0",
            "state_desc": "待发货",
            "payment_name": "站内余额支付",
            "extend_store": {
              "store_id": "1",
              "store_name": "购食汇绵阳官方旗舰店",
              "grade_id": "0",
              "member_id": "1",
              "member_name": "mllifemj",
              "seller_name": "meiling",
              "sc_id": "0",
              "store_company_name": null,
              "province_id": "23",
              "area_info": "",
              "store_address": "",
              "store_zip": "",
              "store_state": "1",
              "store_close_info": "",
              "store_sort": "0",
              "store_time": "1421040447",
              "store_end_time": null,
              "store_label": "05343528842717659.jpg",
              "store_banner": "05282177792650022.jpg",
              "store_avatar": "04768065915473920_sm.png",
              "store_keywords": "",
              "store_description": "",
              "store_qq": null,
              "store_ww": null,
              "store_phone": null,
              "store_zy": null,
              "store_domain": null,
              "store_domain_times": "0",
              "store_recommend": "0",
              "store_theme": "default",
              "store_credit": "0",
              "store_desccredit": "0",
              "store_servicecredit": "0",
              "store_deliverycredit": "0",
              "store_collect": "6",
              "store_slide": "05300315465586110.png,05300145901604546.jpg,,,",
              "store_slide_url": null,
              "store_stamp": null,
              "store_printdesc": null,
              "store_sales": "0",
              "store_presales": "a:3:{i:0;a:3:{s:4:"name";s:7:"售前2";s:4:"type";i:3;s:3:"num";s:5:"66383";}i:1;a:3:{s:4:"name";s:7:"售前2";s:4:"type";i:3;s:3:"num";s:1:"3";}i:2;a:3:{s:4:"name";s:7:"售前3";s:4:"type";i:1;s:3:"num";s:9:"510404494";}}",
              "store_aftersales": "a:3:{i:0;a:3:{s:4:"name";s:7:"售后1";s:4:"type";i:1;s:3:"num";s:9:"510404494";}i:1;a:3:{s:4:"name";s:7:"售后2";s:4:"type";i:3;s:3:"num";s:1:"5";}i:2;a:3:{s:4:"name";s:7:"售后3";s:4:"type";i:3;s:3:"num";s:5:"66383";}}",
              "store_workingtime": "08:00-18:00",
              "store_free_price": "50.00",
              "store_decoration_switch": "0",
              "store_decoration_only": "0",
              "store_decoration_image_count": "0",
              "live_store_name": "",
              "live_store_address": "四川省成都市高新区天府四街199号",
              "live_store_tel": "",
              "live_store_bus": "4B,501,4A",
              "is_own_shop": "1",
              "bind_all_gc": "1",
              "store_vrcode_prefix": null,
              "iscalced_freight_discount": "1",
              "support_platform_voucher": "1",
              "is_support_erp": "1",
              "store_free_price_own": "17.00",
              "order_lock_time": "60",
              "after_order_time": "1440",
              "special_id": null,
              "slide_goods_id": "105043,105042,,,",
              "province_name": "四川",
              "city_name": "绵阳市",
              "city_id": "390",
              "auto_refund": "0"
            },
            "extend_order_goods": [
              {
                "rec_id": "311792",
                "order_id": "180675",
                "goods_id": "103787",
                "goods_name": "chen_测试2017",
                "goods_price": "1.00",
                "goods_num": "1",
                "goods_image": "1_05415230067447369.jpg",
                "goods_pay_price": "1.00",
                "original_price": "1.00",
                "store_id": "1",
                "buyer_id": "112968",
                "promotions_id": "0",
                "commis_rate": "0",
                "gc_id": "1149",
                "city_id": "390",
                "alipay_amount": "0.00",
                "rcb_amount": "1.00",
                "pd_amount": "0.00",
                "weight": "0",
                "weight_meter": "0",
                "actual_weight": null,
                "actual_pay_price": null,
                "is_normal": "1",
                "erp_goods_id": "0",
                "pure_amount": "0.00",
                "ps_amount": "0.00",
                "is_city_storaged": "2",
                "is_zd_groupbuy": "0",
                "goods_type": "1",
                "sale_discount": "0.00",
                "sale_minus": "0.00",
                "sale_suit": "0.00",
                "sale_hour": "0.00",
                "sale_general": "0.00",
                "market_coupon": "0.00",
                "market_give": "0.00",
                "is_presell": "0",
                "refund_list": {},
                "goods_image_url": "http://127.0.0.1/goushihui/data/upload/shop/store/goods/1/1_05415230067447369_240.jpg"
              }
            ],
            "order_goods_amount": 1,
            "order_goods_num": 1,
            "refund": "1",
            "if_cancel": false,
            "evaluation": false,
            "if_receive": false,
            "if_lock": false,
            "if_deliver": false,
            "container": 0,
            "refund_return_type": 1,
            "refund_id": 0,
            "spell_activity_id": "29",
            "spell_id": "41",
            "goods_count": 1
          }
        ],
        "add_time": "1488857766",
        "freeforfirst": "0",
        "pay_sn": "700542201767144968",
        "is_vr_order": "0"
      },
      {
        "order_list": [
          {
            "order_id": "6513",
            "order_sn": "250541182269255968",
            "store_id": "5",
            "store_name": "陈小妹儿1",
            "buyer_id": "112968",
            "buyer_name": "scuchen_2016",
            "buyer_phone": "15184373398",
            "add_time": "1487838268",
            "payment_code": "predeposit",
            "payment_time": "1487838268",
            "trade_no": null,
            "close_time": "0",
            "close_reason": null,
            "finnshed_time": null,
            "order_amount": "0.01",
            "refund_amount": "0.00",
            "rcb_amount": "0.00",
            "pd_amount": "0.01",
            "order_state": "20",
            "refund_state": "0",
            "buyer_msg": "",
            "delete_state": "0",
            "goods_id": "103773",
            "goods_name": "0120虚拟商品0.01",
            "goods_price": "0.01",
            "goods_num": "1",
            "goods_image": "5_05382439033333740.jpg",
            "commis_rate": "0",
            "gc_id": "1333",
            "vr_indate": "1514735999",
            "vr_send_times": "0",
            "vr_invalid_refund": "0",
            "order_promotion_type": "0",
            "promotions_id": "0",
            "order_from": "1",
            "evaluation_state": "0",
            "evaluation_time": "0",
            "use_state": "0",
            "version_no": null,
            "subject": null,
            "bank_type": null,
            "trade_type": null,
            "is_exchange": "0",
            "exchange_code": null,
            "pure_amount": "0.00",
            "ps_amount": "0.00",
            "pay_credit_debt": "0",
            "city_id": "390",
            "mobile_imei": null,
            "reciver_phone": null,
            "groupbuy_type": "0",
            "if_finnished": "0",
            "final_refund_state": "1",
            "final_overdue": "0",
            "lock_state": "0",
            "order_lock_time": "1487839348",
            "exchange_seller_id": "0",
            "exchange_seller_name": "",
            "sale_discount": "0.00",
            "sale_minus": "0.00",
            "sale_suit": "0.00",
            "sale_hour": "0.00",
            "sale_general": "0.00",
            "market_coupon": "0.00",
            "market_give": "0.00",
            "is_vr_order": "1",
            "pay_sn": "250541182269255968",
            "payment_name": "站内余额支付",
            "if_cancel": false,
            "extend_member": {
              "member_id": "112968",
              "member_name": "scuchen_2016",
              "member_truename": null,
              "member_avatar": "avatar_112968.jpg",
              "member_sex": null,
              "member_birthday": null,
              "member_passwd": "e10adc3949ba59abbe56e057f20f883e",
              "member_paypwd": "e10adc3949ba59abbe56e057f20f883e",
              "member_email": null,
              "member_email_bind": "0",
              "member_mobile": "15184373398",
              "member_mobile_bind": "1",
              "member_mobile_captcha": "",
              "member_mobile_time": "",
              "member_qq": null,
              "member_ww": null,
              "member_login_num": "22",
              "member_time": "1487816683",
              "member_login_time": "1488849509",
              "member_old_login_time": "1488849503",
              "member_login_ip": "182.138.102.27",
              "member_old_login_ip": "182.138.102.27",
              "member_qqopenid": null,
              "member_qqinfo": null,
              "member_sinaopenid": null,
              "member_sinainfo": null,
              "member_points": "199",
              "available_predeposit": "993.98",
              "freeze_predeposit": "0.00",
              "available_rc_balance": "941.00",
              "freeze_rc_balance": "0.00",
              "inform_allow": "1",
              "is_buy": "1",
              "is_allowtalk": "1",
              "member_state": "1",
              "member_snsvisitnum": "0",
              "member_areaid": null,
              "member_cityid": null,
              "member_provinceid": null,
              "member_areainfo": null,
              "member_privacy": null,
              "member_quicklink": null,
              "member_exppoints": "40",
              "customer_id": null,
              "register_city_id": "390",
              "client": "pc",
              "is_one_money": "0",
              "one_money_time": null,
              "is_one_money_buy": "0",
              "is_xishu365": "0",
              "order_num": "60",
              "invitation_code": "y5c69d7010",
              "present_card": "0.00",
              "freeze_present_card": "0.00",
              "freeze_pure_avaliable": "0.00",
              "pure_avaliable_card": "0.00",
              "card_number": null,
              "card_an_number": null,
              "card_uid": null,
              "credit_debt": "0.00",
              "id_card_number": null,
              "captcha_check_time": null,
              "agent_code": null,
              "is_update": "0",
              "open_id": null,
              "common_info": {
                "member_id": "112968",
                "auth_code": "",
                "send_acode_time": "0",
                "prev_dlyp_id": "0",
                "exchg_nuser_code": "0",
                "member_session_id": "2s7g764ok5vf08ovcucktmj682",
                "address_id": "614"
              }
            },
            "extend_store": {
              "store_id": "5",
              "store_name": "陈小妹儿1",
              "grade_id": "0",
              "member_id": "112705",
              "member_name": "cs1nono",
              "seller_name": "cs1",
              "sc_id": "0",
              "store_company_name": null,
              "province_id": "23",
              "area_info": "",
              "store_address": "",
              "store_zip": "",
              "store_state": "1",
              "store_close_info": "",
              "store_sort": "3",
              "store_time": "1475138153",
              "store_end_time": null,
              "store_label": "05297699838039984.jpg",
              "store_banner": "05297699838039370.jpg",
              "store_avatar": null,
              "store_keywords": "",
              "store_description": "",
              "store_qq": null,
              "store_ww": null,
              "store_phone": null,
              "store_zy": null,
              "store_domain": null,
              "store_domain_times": "0",
              "store_recommend": "0",
              "store_theme": "default",
              "store_credit": "0",
              "store_desccredit": "0",
              "store_servicecredit": "0",
              "store_deliverycredit": "0",
              "store_collect": "0",
              "store_slide": "05297698935299105.jpg,05297698979774553.jpg,05297699042139975.jpg,,",
              "store_slide_url": null,
              "store_stamp": null,
              "store_printdesc": null,
              "store_sales": "0",
              "store_presales": "a:1:{i:0;a:3:{s:4:"name";s:7:"售前1";s:4:"type";i:3;s:3:"num";s:6:"112705";}}",
              "store_aftersales": "a:1:{i:0;a:3:{s:4:"name";s:7:"售后1";s:4:"type";i:3;s:3:"num";s:6:"112705";}}",
              "store_workingtime": "-",
              "store_free_price": "49.00",
              "store_decoration_switch": "0",
              "store_decoration_only": "0",
              "store_decoration_image_count": "0",
              "live_store_name": null,
              "live_store_address": null,
              "live_store_tel": null,
              "live_store_bus": null,
              "is_own_shop": "1",
              "bind_all_gc": "1",
              "store_vrcode_prefix": null,
              "iscalced_freight_discount": "1",
              "support_platform_voucher": "1",
              "is_support_erp": "1",
              "store_free_price_own": "20.00",
              "order_lock_time": "18",
              "after_order_time": "1440",
              "special_id": null,
              "slide_goods_id": "103424,103421,103420,,",
              "province_name": "四川",
              "city_name": "绵阳市",
              "city_id": "390",
              "auto_refund": "0"
            },
            "extend_order_goods": [
              {
                "order_id": "6513",
                "goods_id": "103773",
                "goods_name": "0120虚拟商品0.01",
                "goods_price": "0.01",
                "goods_num": "1",
                "goods_image": "5_05382439033333740.jpg",
                "order_promotion_type": "0",
                "vr_indate": "1514735999",
                "vr_invalid_refund": "0",
                "use_state": "0",
                "order_state": "20",
                "if_finnished": "0",
                "is_vr_order": 1,
                "state_desc": "已付款",
                "goods_image_url": "http://127.0.0.1/goushihui/data/upload/shop/common/05243307613500606_240.jpg",
                "goods_type": "0"
              }
            ],
            "order_goods_amount": 0.01,
            "order_goods_num": "1",
            "state_desc": "已付款",
            "if_lock": false,
            "if_refund": true,
            "code_list": [
              {
                "rec_id": "6512",
                "order_id": "6513",
                "store_id": "5",
                "buyer_id": "112968",
                "vr_code": "4788400464016136",
                "vr_state": "0",
                "vr_usetime": null,
                "pay_price": "0.01",
                "vr_indate": "1514735999",
                "commis_rate": "0",
                "refund_lock": "0",
                "vr_invalid_refund": "0"
              }
            ]
          }
        ],
        "add_time": "1487838268",
        "admin_state": null,
        "freeforfirst": null,
        "pay_sn": "250541182269255968",
        "is_vr_order": "1"
      },
      {
        "order_list": [
          {
            "order_id": "6512",
            "order_sn": "260541180563264968",
            "store_id": "5",
            "store_name": "陈小妹儿1",
            "buyer_id": "112968",
            "buyer_name": "scuchen_2016",
            "buyer_phone": "15184373398",
            "add_time": "1487836562",
            "payment_code": "predeposit",
            "payment_time": "1487836562",
            "trade_no": null,
            "close_time": "0",
            "close_reason": null,
            "finnshed_time": null,
            "order_amount": "0.01",
            "refund_amount": "0.00",
            "rcb_amount": "0.00",
            "pd_amount": "0.01",
            "order_state": "20",
            "refund_state": "0",
            "buyer_msg": "",
            "delete_state": "0",
            "goods_id": "103773",
            "goods_name": "0120虚拟商品0.01",
            "goods_price": "0.01",
            "goods_num": "1",
            "goods_image": "5_05382439033333740.jpg",
            "commis_rate": "0",
            "gc_id": "1333",
            "vr_indate": "1514735999",
            "vr_send_times": "0",
            "vr_invalid_refund": "0",
            "order_promotion_type": "0",
            "promotions_id": "0",
            "order_from": "1",
            "evaluation_state": "0",
            "evaluation_time": "0",
            "use_state": "0",
            "version_no": null,
            "subject": null,
            "bank_type": null,
            "trade_type": null,
            "is_exchange": "0",
            "exchange_code": null,
            "pure_amount": "0.00",
            "ps_amount": "0.00",
            "pay_credit_debt": "0",
            "city_id": "390",
            "mobile_imei": null,
            "reciver_phone": null,
            "groupbuy_type": "0",
            "if_finnished": "0",
            "final_refund_state": "1",
            "final_overdue": "0",
            "lock_state": "0",
            "order_lock_time": "1487837642",
            "exchange_seller_id": "0",
            "exchange_seller_name": "",
            "sale_discount": "0.00",
            "sale_minus": "0.00",
            "sale_suit": "0.00",
            "sale_hour": "0.00",
            "sale_general": "0.00",
            "market_coupon": "0.00",
            "market_give": "0.00",
            "is_vr_order": "1",
            "pay_sn": "260541180563264968",
            "payment_name": "站内余额支付",
            "if_cancel": false,
            "extend_member": {
              "member_id": "112968",
              "member_name": "scuchen_2016",
              "member_truename": null,
              "member_avatar": "avatar_112968.jpg",
              "member_sex": null,
              "member_birthday": null,
              "member_passwd": "e10adc3949ba59abbe56e057f20f883e",
              "member_paypwd": "e10adc3949ba59abbe56e057f20f883e",
              "member_email": null,
              "member_email_bind": "0",
              "member_mobile": "15184373398",
              "member_mobile_bind": "1",
              "member_mobile_captcha": "",
              "member_mobile_time": "",
              "member_qq": null,
              "member_ww": null,
              "member_login_num": "22",
              "member_time": "1487816683",
              "member_login_time": "1488849509",
              "member_old_login_time": "1488849503",
              "member_login_ip": "182.138.102.27",
              "member_old_login_ip": "182.138.102.27",
              "member_qqopenid": null,
              "member_qqinfo": null,
              "member_sinaopenid": null,
              "member_sinainfo": null,
              "member_points": "199",
              "available_predeposit": "993.98",
              "freeze_predeposit": "0.00",
              "available_rc_balance": "941.00",
              "freeze_rc_balance": "0.00",
              "inform_allow": "1",
              "is_buy": "1",
              "is_allowtalk": "1",
              "member_state": "1",
              "member_snsvisitnum": "0",
              "member_areaid": null,
              "member_cityid": null,
              "member_provinceid": null,
              "member_areainfo": null,
              "member_privacy": null,
              "member_quicklink": null,
              "member_exppoints": "40",
              "customer_id": null,
              "register_city_id": "390",
              "client": "pc",
              "is_one_money": "0",
              "one_money_time": null,
              "is_one_money_buy": "0",
              "is_xishu365": "0",
              "order_num": "60",
              "invitation_code": "y5c69d7010",
              "present_card": "0.00",
              "freeze_present_card": "0.00",
              "freeze_pure_avaliable": "0.00",
              "pure_avaliable_card": "0.00",
              "card_number": null,
              "card_an_number": null,
              "card_uid": null,
              "credit_debt": "0.00",
              "id_card_number": null,
              "captcha_check_time": null,
              "agent_code": null,
              "is_update": "0",
              "open_id": null,
              "common_info": {
                "member_id": "112968",
                "auth_code": "",
                "send_acode_time": "0",
                "prev_dlyp_id": "0",
                "exchg_nuser_code": "0",
                "member_session_id": "2s7g764ok5vf08ovcucktmj682",
                "address_id": "614"
              }
            },
            "extend_store": {
              "store_id": "5",
              "store_name": "陈小妹儿1",
              "grade_id": "0",
              "member_id": "112705",
              "member_name": "cs1nono",
              "seller_name": "cs1",
              "sc_id": "0",
              "store_company_name": null,
              "province_id": "23",
              "area_info": "",
              "store_address": "",
              "store_zip": "",
              "store_state": "1",
              "store_close_info": "",
              "store_sort": "3",
              "store_time": "1475138153",
              "store_end_time": null,
              "store_label": "05297699838039984.jpg",
              "store_banner": "05297699838039370.jpg",
              "store_avatar": null,
              "store_keywords": "",
              "store_description": "",
              "store_qq": null,
              "store_ww": null,
              "store_phone": null,
              "store_zy": null,
              "store_domain": null,
              "store_domain_times": "0",
              "store_recommend": "0",
              "store_theme": "default",
              "store_credit": "0",
              "store_desccredit": "0",
              "store_servicecredit": "0",
              "store_deliverycredit": "0",
              "store_collect": "0",
              "store_slide": "05297698935299105.jpg,05297698979774553.jpg,05297699042139975.jpg,,",
              "store_slide_url": null,
              "store_stamp": null,
              "store_printdesc": null,
              "store_sales": "0",
              "store_presales": "a:1:{i:0;a:3:{s:4:"name";s:7:"售前1";s:4:"type";i:3;s:3:"num";s:6:"112705";}}",
              "store_aftersales": "a:1:{i:0;a:3:{s:4:"name";s:7:"售后1";s:4:"type";i:3;s:3:"num";s:6:"112705";}}",
              "store_workingtime": "-",
              "store_free_price": "49.00",
              "store_decoration_switch": "0",
              "store_decoration_only": "0",
              "store_decoration_image_count": "0",
              "live_store_name": null,
              "live_store_address": null,
              "live_store_tel": null,
              "live_store_bus": null,
              "is_own_shop": "1",
              "bind_all_gc": "1",
              "store_vrcode_prefix": null,
              "iscalced_freight_discount": "1",
              "support_platform_voucher": "1",
              "is_support_erp": "1",
              "store_free_price_own": "20.00",
              "order_lock_time": "18",
              "after_order_time": "1440",
              "special_id": null,
              "slide_goods_id": "103424,103421,103420,,",
              "province_name": "四川",
              "city_name": "绵阳市",
              "city_id": "390",
              "auto_refund": "0"
            },
            "extend_order_goods": [
              {
                "order_id": "6512",
                "goods_id": "103773",
                "goods_name": "0120虚拟商品0.01",
                "goods_price": "0.01",
                "goods_num": "1",
                "goods_image": "5_05382439033333740.jpg",
                "order_promotion_type": "0",
                "vr_indate": "1514735999",
                "vr_invalid_refund": "0",
                "use_state": "0",
                "order_state": "20",
                "if_finnished": "0",
                "is_vr_order": 1,
                "state_desc": "已付款",
                "goods_image_url": "http://127.0.0.1/goushihui/data/upload/shop/common/05243307613500606_240.jpg",
                "goods_type": "0"
              }
            ],
            "order_goods_amount": 0.01,
            "order_goods_num": "1",
            "state_desc": "已付款",
            "if_lock": false,
            "if_refund": false
          }
        ],
        "add_time": "1487836562",
        "admin_state": null,
        "freeforfirst": null,
        "pay_sn": "260541180563264968",
        "is_vr_order": "1"
      }
    ]
  }
}
备注
新增字段
 "spell_activity_id": 29, //活动id
 "spell_id": 41, //拼团id
最后修改者: root  2017-03-07 13:54:07 

移动端首页-活动专题-分享优化

编号  :  2

POST - /mobile/index.php?act=index&op=specialV1
不同模板-键名根据模板子项前缀+_share_target_url 作为分享内容跳转url
请求参数
参数名 参数类型 必传 缺省值 描述
返回值
{
  "code": 200,
  "datas": [
    {
      "home1": {
        "title": "",
        "image": "http://local.meiling.com/data/upload/mobile/special/s355/s355_05421985800708478.png",
        "type": "voucher",
        "data": {
          "id": "999",
          "title": "",
          "is_share": "",
          "can": "1"
        },
        "share_target_url": "99999",
        "image_width": 440,
        "image_height": 398
      }
    },
    {
      "home2": {
        "square_type": "voucher",
        "square_data": {
          "id": "66",
          "title": "0209优惠券积分121兑换",
          "is_share": "0"
        },
        "square_image": "http://local.meiling.com/data/upload/mobile/special/s355/s355_05421973535904635.png",
        "square_share_target_url": "6666666",
        "square_image_width": 440,
        "square_image_height": 398,
        "rectangle1_type": "voucher",
        "rectangle1_data": {
          "id": "777",
          "title": "",
          "is_share": "",
          "can": "1"
        },
        "rectangle1_image": "http://local.meiling.com/data/upload/mobile/special/s355/s355_05421973666498135.png",
        "rectangle1_share_target_url": "7777777",
        "rectangle1_image_width": 440,
        "rectangle1_image_height": 398,
        "rectangle2_type": "voucher",
        "rectangle2_data": {
          "id": "8888888",
          "title": "",
          "is_share": "",
          "can": "1"
        },
        "rectangle2_image": "http://local.meiling.com/data/upload/mobile/special/s355/s355_05421973766183477.png",
        "rectangle2_share_target_url": "88888888",
        "rectangle2_image_width": 440,
        "rectangle2_image_height": 398
      }
    },
    {
      "home3": {
        "title": "",
        "item": [
          {
            "image": "http://local.meiling.com/data/upload/mobile/special/s355/s355_05421981927441930.png",
            "type": "voucher",
            "data": {
              "id": "10000",
              "title": "",
              "is_share": "",
              "can": "1"
            },
            "share_target_url": "1000000",
            "image_width": 440,
            "image_height": 398
          },
          {
            "image": "http://local.meiling.com/data/upload/mobile/special/s355/s355_05421982096902142.png",
            "type": "voucher",
            "data": {
              "id": "111111",
              "title": "",
              "is_share": "",
              "can": "1"
            },
            "share_target_url": "1111111",
            "image_width": 440,
            "image_height": 398
          },
          {
            "image": "http://local.meiling.com/data/upload/mobile/special/s355/s355_05421982266989956.png",
            "type": "voucher",
            "data": {
              "id": "22222",
              "title": "",
              "is_share": "",
              "can": "1"
            },
            "share_target_url": "22222",
            "image_width": 440,
            "image_height": 398
          }
        ]
      }
    },
    {
      "home4": {
        "square_type": "voucher",
        "square_data": {
          "id": "22222222",
          "title": "",
          "is_share": "",
          "can": "1"
        },
        "square_image": "http://local.meiling.com/data/upload/mobile/special/s355/s355_05421984262116789.png",
        "square_share_target_url": "22222222222",
        "square_image_width": 440,
        "square_image_height": 398,
        "rectangle1_type": "voucher",
        "rectangle1_data": {
          "id": "1111111",
          "title": "",
          "is_share": "",
          "can": "1"
        },
        "rectangle1_image": "http://local.meiling.com/data/upload/mobile/special/s355/s355_05421984099690342.png",
        "rectangle1_share_target_url": "11111111",
        "rectangle1_image_width": 440,
        "rectangle1_image_height": 398,
        "rectangle2_type": "voucher",
        "rectangle2_data": {
          "id": "33333333",
          "title": "",
          "is_share": "",
          "can": "1"
        },
        "rectangle2_image": "http://local.meiling.com/data/upload/mobile/special/s355/s355_05421984456135430.png",
        "rectangle2_share_target_url": "33333333333",
        "rectangle2_image_width": 440,
        "rectangle2_image_height": 398
      }
    }
  ]
}
最后修改者: root  2017-03-07 13:54:21 

专题活动-分享优化

编号  :  1

POST - /mobile/index.php?act=promotion&op=promotion_list_v1
在subject中增加share_target_url 此参数作为分享到第三方平台,跳转的url
请求参数
参数名 参数类型 必传 缺省值 描述
返回值
{
  "code": 200,
  "datas": [
    {
      "title": "",
      "type": "homep1",
      "scale": "398:440",
      "subject": [
        {
          "square_image": "http://local.meiling.com/data/upload/mobile/special/s187/s187_05421986984201075.png",
          "square_type": "voucher",
          "share_target_url": "11111111",
          "square_data": {
            "id": "111111",
            "is_share": "",
            "title": "",
            "can": "1"
          }
        },
        {
          "square_image": null,
          "square_type": null,
          "share_target_url": null,
          "square_data": null
        }
      ]
    },
最后修改者: root  2017-03-06 14:32:49 

拼团详情页接口

编号  :  08

POST - index.php?act=member_group_spell&op=group_spell_detail
请求参数
参数名 参数类型 必传 缺省值 描述
spell_id int Y 用户团购id
goods_id int Y 商品id
返回值
{
    "code": 200,
    "data": {
        "goods_info": {
            "goods_id": "10234",
            "goods_name": "banana",
            "goods_price": "10.0",
            "goods_promotion_price": "5.0",
            "goods_image": "http://url",
            "store_id": "2"
        },
        "group_spell": {
            "is_success": "1",
            "success_group": "2",
            "pay_quantity": "2",
            "end_time": "1488781454",
            "spell_activity_id": "10"
        },
        "spell_mem": [
            {
                "member_id": "102790",
                "member_avatar": "http://url"
            },
            {
                "member_id": "102791",
                "member_avatar": "http://url"
            }
        ],
        "spell_list": [
            {
                "member_id": "102790",
                "member_name": "17380617121",
                "remain_num": "3",
                "spell_id": "2",
                "spell_activity_id": "10",
                "end_time": "1488781454"
            },
            {
                "member_id": "102791",
                "member_name": "17380617122",
                "remain_num": "2",
                "spell_id": "3",
                "spell_activity_id": "10",
                "end_time": "1488781703"
            }
        ]
    }
}
最后修改者: root  2017-03-09 18:05:15 

团购订单支付成功跳转订单列表页(弹出提示)接口

编号  :  07

POST - index.php?act=member_order&op=order_list
请求参数
参数名 参数类型 必传 缺省值 描述
spell_id int N 用户团id(新增传递参数)
返回值
{
    "code": 200,
    "hasmore": true,
    "page_total": 165,
    "datas": {
        "order_group_list": [
            {
                "order_list": [
                    {
                        "order_id": "180559",
                        "order_sn": "1007010000000936801",
                        "pay_sn": "300541784434611790",
                        "store_id": "1",
                        "store_name": "购食汇绵阳官方旗舰店",
                        "buyer_id": "112790",
                        "buyer_name": "17380617121",
                        "buyer_email": null,
                        "add_time": "1488440434",
                        "payment_code": "predeposit",
                        "payment_time": "1488440434",
                        "finnshed_time": "0",
                        "goods_amount": "18.80",
                        "order_amount": "18.80",
                        "rcb_amount": "0.00",
                        "pd_amount": "18.80",
                        "shipping_fee": "0.00",
                        "evaluation_state": "0",
                        "order_state": "20",
                        "refund_state": "0",
                        "lock_state": "0",
                        "delete_state": "0",
                        "refund_amount": "0.00",
                        "delay_time": "0",
                        "order_from": "4",
                        "shipping_code": "",
                        "city_id": "390",
                        "trade_no": null,
                        "version_no": "h5_wap",
                        "subject": null,
                        "freeforfirst": "0",
                        "is_exchange": "0",
                        "exchange_code": null,
                        "trade_type": null,
                        "bank_type": null,
                        "is_normal": "0",
                        "delivery_code": null,
                        "pay_credit_debt": "0.00",
                        "less_more_repair": "0.00",
                        "ps_amount": "0.00",
                        "pure_amount": "0.00",
                        "is_transfer": "1",
                        "is_picking": "0",
                        "over_weight_free": "0.00",
                        "real_money_owed": "0.00",
                        "sendtimed": "1488535200",
                        "delivery_number": "",
                        "is_arrived": "0",
                        "sm_no": null,
                        "credit_debt": "0.00",
                        "reciver_phone": "17380617121",
                        "mobile_imei": "wap-112790-aaaaaaaa",
                        "groupbuy_type": "0",
                        "if_finnished": "0",
                        "final_refund_state": "1",
                        "final_overdue": "0",
                        "store_no_freight_total": "0.00",
                        "order_lock_time": "1488444034",
                        "order_type": "2",   //订单类型(1-普通订单,2-拼团订单)
                        "is_success": "1",   //为1则成团 不成团没这个字段
                        "spell_type":"2", //类型(1-商家团,2-用户团)
                        "spell_id":"1",//团购id
                        "spell_sn":***,//32位码
                        "is_spell_success": "0",
                        "is_vr_order": "0",
                        "state_desc": "待发货",
                        "payment_name": "站内余额支付",
                        "extend_store": {
                            "store_id": "1",
                            "store_name": "购食汇绵阳官方旗舰店",
                            "grade_id": "0",
                            "member_id": "1",
                            "member_name": "mllifemj",
                            "seller_name": "meiling",
                            "sc_id": "0",
                            "store_company_name": null,
                            "province_id": "23",
                            "area_info": "",
                            "store_address": "",
                            "store_zip": "",
                            "store_state": "1",
                            "store_close_info": "",
                            "store_sort": "0",
                            "store_time": "1421040447",
                            "store_end_time": null,
                            "store_label": "05343528842717659.jpg",
                            "store_banner": "05282177792650022.jpg",
                            "store_avatar": "04768065915473920_sm.png",
                            "store_keywords": "",
                            "store_description": "",
                            "store_qq": null,
                            "store_ww": null,
                            "store_phone": null,
                            "store_zy": null,
                            "store_domain": null,
                            "store_domain_times": "0",
                            "store_recommend": "0",
                            "store_theme": "default",
                            "store_credit": "0",
                            "store_desccredit": "0",
                            "store_servicecredit": "0",
                            "store_deliverycredit": "0",
                            "store_collect": "6",
                            "store_slide": "05300315465586110.png,05300145901604546.jpg,,,",
                            "store_slide_url": null,
                            "store_stamp": null,
                            "store_printdesc": null,
                            "store_sales": "0",
                            "store_presales": "a:1:{i:0;a:3:{s:4:"name";s:7:"售前2";s:4:"type";i:3;s:3:"num";s:1:"1";}}",
                            "store_aftersales": "a:2:{i:0;a:3:{s:4:"name";s:7:"售后1";s:4:"type";i:1;s:3:"num";s:9:"510404494";}i:1;a:3:{s:4:"name";s:7:"售后2";s:4:"type";i:3;s:3:"num";s:1:"1";}}",
                            "store_workingtime": "08:00-18:00",
                            "store_free_price": "50.00",
                            "store_decoration_switch": "0",
                            "store_decoration_only": "0",
                            "store_decoration_image_count": "0",
                            "live_store_name": "",
                            "live_store_address": "四川省成都市高新区天府四街199号",
                            "live_store_tel": "",
                            "live_store_bus": "4B,501,4A",
                            "is_own_shop": "1",
                            "bind_all_gc": "1",
                            "store_vrcode_prefix": null,
                            "iscalced_freight_discount": "1",
                            "support_platform_voucher": "1",
                            "is_support_erp": "1",
                            "store_free_price_own": "17.00",
                            "order_lock_time": "60",
                            "after_order_time": "1440",
                            "special_id": null,
                            "slide_goods_id": "105043,105042,,,",
                            "province_name": "四川",
                            "city_name": "绵阳市",
                            "city_id": "390",
                            "auto_refund": "0"
                        },
                        "extend_order_goods": [
                            {
                                "rec_id": "311677",
                                "order_id": "180559",
                                "goods_id": "103742",
                                "goods_name": "棒棒娃牛肉粒(沙嗲味)90g/袋",
                                "goods_price": "19.80",
                                "goods_num": "1",
                                "goods_image": "1_05363242633203218.png",
                                "goods_pay_price": "18.80",
                                "original_price": "19.80",
                                "store_id": "1",
                                "buyer_id": "112790",
                                "promotions_id": "0",
                                "commis_rate": "17",
                                "gc_id": "1210",
                                "city_id": "390",
                                "alipay_amount": "0.00",
                                "rcb_amount": "0.00",
                                "pd_amount": "18.80",
                                "weight": "1",
                                "weight_meter": "0",
                                "actual_weight": null,
                                "actual_pay_price": null,
                                "is_normal": "0",
                                "erp_goods_id": "1704010003",
                                "pure_amount": "0.00",
                                "ps_amount": "0.00",
                                "is_city_storaged": "1",
                                "is_zd_groupbuy": "0",
                                "goods_type": "1",
                                "sale_discount": "0.00",
                                "sale_minus": "1.00",
                                "sale_suit": "0.00",
                                "sale_hour": "0.00",
                                "sale_general": "0.00",
                                "market_coupon": "0.00",
                                "market_give": "0.00",
                                "is_presell": "0",
                                "refund_list": {},
                                "goods_image_url": "http://127.0.0.1/goushihui/data/upload/shop/common/default_goods_image_240.gif"
                            }
                        ],
                        "order_goods_amount": 19.8,
                        "order_goods_num": 1,
                        "refund": "1",
                        "if_cancel": false,
                        "evaluation": false,
                        "if_receive": false,
                        "if_lock": false,
                        "if_deliver": false,
                        "container": 0,
                        "refund_return_type": 0,
                        "refund_id": 0,
                        "goods_count": 1
                    }
                ],
                "add_time": "1488440434",
                "freeforfirst": "0",
                "pay_sn": "300541784434611790",
                "is_vr_order": "0"
            },
            {
                "order_list": [
                    {
                        "order_id": "6451",
                        "order_sn": "230536840602984790",
                        "store_id": "8",
                        "store_name": "mmm",
                        "buyer_id": "112790",
                        "buyer_name": "17380617121",
                        "buyer_phone": "17380617121",
                        "add_time": "1483496602",
                        "payment_code": "predeposit",
                        "payment_time": "1483496602",
                        "trade_no": null,
                        "close_time": "0",
                        "close_reason": null,
                        "finnshed_time": null,
                        "order_amount": "23.00",
                        "refund_amount": "0.00",
                        "rcb_amount": "19.49",
                        "pd_amount": "3.51",
                        "order_state": "20",
                        "refund_state": "0",
                        "buyer_msg": " ",
                        "delete_state": "0",
                        "goods_id": "103658",
                        "goods_name": " mmm的虚拟商品9 1kg",
                        "goods_price": "23.00",
                        "goods_num": "1",
                        "goods_image": "8_05349529117887397.jpg",
                        "commis_rate": "0",
                        "gc_id": "1320",
                        "vr_indate": "1672502399",
                        "vr_send_times": "0",
                        "vr_invalid_refund": "0",
                        "order_promotion_type": "0",
                        "promotions_id": "0",
                        "order_from": "4",
                        "evaluation_state": "0",
                        "evaluation_time": "0",
                        "use_state": "0",
                        "version_no": "h5_wap",
                        "subject": null,
                        "bank_type": null,
                        "trade_type": null,
                        "is_exchange": "0",
                        "exchange_code": null,
                        "pure_amount": "0.00",
                        "ps_amount": "0.00",
                        "pay_credit_debt": "0",
                        "city_id": "390",
                        "mobile_imei": "wap-112790-aaaaaaaa",
                        "reciver_phone": null,
                        "groupbuy_type": "0",
                        "if_finnished": "0",
                        "final_refund_state": "1",
                        "final_overdue": "0",
                        "lock_state": "1",
                        "order_lock_time": "1483583002",
                        "exchange_seller_id": "0",
                        "exchange_seller_name": "",
                        "sale_discount": "0.00",
                        "sale_minus": "0.00",
                        "sale_suit": "0.00",
                        "sale_hour": "0.00",
                        "sale_general": "0.00",
                        "market_coupon": "0.00",
                        "market_give": "0.00",
                        "is_vr_order": "1",
                        "pay_sn": "230536840602984790",
                        "payment_name": "站内余额支付",
                        "if_cancel": false,
                        "extend_member": {
                            "member_id": "112790",
                            "member_name": "17380617121",
                            "member_truename": null,
                            "member_avatar": null,
                            "member_sex": null,
                            "member_birthday": null,
                            "member_passwd": "e10adc3949ba59abbe56e057f20f883e",
                            "member_paypwd": "e10adc3949ba59abbe56e057f20f883e",
                            "member_email": null,
                            "member_email_bind": "0",
                            "member_mobile": "17380617121",
                            "member_mobile_bind": "1",
                            "member_mobile_captcha": "2396",
                            "member_mobile_time": "1484625190",
                            "member_qq": null,
                            "member_ww": null,
                            "member_login_num": "623",
                            "member_time": "1479260993",
                            "member_login_time": "1488763950",
                            "member_old_login_time": "1488510260",
                            "member_login_ip": "118.115.54.168",
                            "member_old_login_ip": "182.138.102.28",
                            "member_qqopenid": null,
                            "member_qqinfo": null,
                            "member_sinaopenid": null,
                            "member_sinainfo": null,
                            "member_points": "1621",
                            "available_predeposit": "183.69",
                            "freeze_predeposit": "0.00",
                            "available_rc_balance": "0.00",
                            "freeze_rc_balance": "0.00",
                            "inform_allow": "1",
                            "is_buy": "1",
                            "is_allowtalk": "1",
                            "member_state": "1",
                            "member_snsvisitnum": "0",
                            "member_areaid": null,
                            "member_cityid": null,
                            "member_provinceid": null,
                            "member_areainfo": null,
                            "member_privacy": null,
                            "member_quicklink": null,
                            "member_exppoints": "1110",
                            "customer_id": null,
                            "register_city_id": "390",
                            "client": "android",
                            "is_one_money": "0",
                            "one_money_time": null,
                            "is_one_money_buy": "0",
                            "is_xishu365": "0",
                            "order_num": "73",
                            "invitation_code": "y65526cc08",
                            "present_card": "0.00",
                            "freeze_present_card": "0.00",
                            "freeze_pure_avaliable": "0.00",
                            "pure_avaliable_card": "0.00",
                            "card_number": null,
                            "card_an_number": null,
                            "card_uid": null,
                            "credit_debt": "0.00",
                            "id_card_number": null,
                            "captcha_check_time": "1484625209",
                            "agent_code": null,
                            "is_update": "0",
                            "open_id": "o-J73vwyS55l7wEin7tyDjBmIFgA",
                            "common_info": {
                                "member_id": "112790",
                                "auth_code": "5304",
                                "send_acode_time": "0",
                                "prev_dlyp_id": "0",
                                "exchg_nuser_code": "0",
                                "member_session_id": "vr614nt4dpapivb1pjo31okj51",
                                "address_id": "551"
                            }
                        },
                        "extend_store": {
                            "store_id": "8",
                            "store_name": "mmm",
                            "grade_id": "0",
                            "member_id": "112804",
                            "member_name": "mmm",
                            "seller_name": "mmm",
                            "sc_id": "0",
                            "store_company_name": null,
                            "province_id": "0",
                            "area_info": "",
                            "store_address": "",
                            "store_zip": "",
                            "store_state": "1",
                            "store_close_info": null,
                            "store_sort": "7",
                            "store_time": "1479441008",
                            "store_end_time": null,
                            "store_label": "05344217396604119.jpg",
                            "store_banner": "05351406163727799.jpg",
                            "store_avatar": null,
                            "store_keywords": "",
                            "store_description": "",
                            "store_qq": null,
                            "store_ww": null,
                            "store_phone": null,
                            "store_zy": null,
                            "store_domain": null,
                            "store_domain_times": "0",
                            "store_recommend": "0",
                            "store_theme": "default",
                            "store_credit": "0",
                            "store_desccredit": "0",
                            "store_servicecredit": "0",
                            "store_deliverycredit": "0",
                            "store_collect": "0",
                            "store_slide": null,
                            "store_slide_url": null,
                            "store_stamp": null,
                            "store_printdesc": null,
                            "store_sales": "0",
                            "store_presales": "a:2:{i:0;a:3:{s:4:"name";s:7:"售前2";s:4:"type";i:1;s:3:"num";s:9:"952615890";}i:1;a:3:{s:4:"name";s:7:"售前2";s:4:"type";i:3;s:3:"num";s:6:"112804";}}",
                            "store_aftersales": "a:1:{i:0;a:3:{s:4:"name";s:7:"售后1";s:4:"type";i:3;s:3:"num";s:6:"112872";}}",
                            "store_workingtime": "08:48-17:30",
                            "store_free_price": "30.00",
                            "store_decoration_switch": "0",
                            "store_decoration_only": "0",
                            "store_decoration_image_count": "0",
                            "live_store_name": null,
                            "live_store_address": null,
                            "live_store_tel": null,
                            "live_store_bus": null,
                            "is_own_shop": "1",
                            "bind_all_gc": "1",
                            "store_vrcode_prefix": null,
                            "iscalced_freight_discount": "1",
                            "support_platform_voucher": "1",
                            "is_support_erp": "1",
                            "store_free_price_own": "30.00",
                            "order_lock_time": "1440",
                            "after_order_time": "10080",
                            "special_id": null,
                            "slide_goods_id": null,
                            "province_name": "",
                            "city_name": "",
                            "city_id": "0",
                            "auto_refund": "0"
                        },
                        "extend_order_goods": [
                            {
                                "order_id": "6451",
                                "goods_id": "103658",
                                "goods_name": " mmm的虚拟商品9 1kg",
                                "goods_price": "23.00",
                                "goods_num": "1",
                                "goods_image": "8_05349529117887397.jpg",
                                "order_promotion_type": "0",
                                "vr_indate": "1672502399",
                                "vr_invalid_refund": "0",
                                "use_state": "0",
                                "order_state": "20",
                                "if_finnished": "0",
                                "is_vr_order": 1,
                                "state_desc": "已付款",
                                "goods_image_url": "http://127.0.0.1/goushihui/data/upload/shop/common/default_goods_image_240.gif",
                                "goods_type": "0"
                            }
                        ],
                        "order_goods_amount": 23,
                        "order_goods_num": "1",
                        "state_desc": "已付款",
                        "if_lock": true,
                        "if_refund": false,
                        "refund_id": "273"
                    }
                ],
                "add_time": "1483496602",
                "freeforfirst": null,
                "pay_sn": "230536840602984790",
                "is_vr_order": "1"
            }
        ]
    },
    notice": {         //新增
        "msg": "123",  //提示语
        "end_time": "1488765512", //结束时间
        "spell_type": 2, //类型(1-商家团,2-用户团) 
        "spell_id":1,//团购id
        "spell_sn":***,//32位码
        "goods_id":10234,//商品id
        "goods_name":"" //商品名
        "num": 2 //剩余数量
    }
}
备注
新增  is_success,spell_id,spell_sn,spell_type 成团字段  notice 提示 
新增参数 spell_id
最后修改者: root  2017-03-06 09:55:32 

商品列表(优化)

编号  :  05

POST - /mobile/index.php?act=goods&op=goods_list
新增参数 gc_pattern用于区分 分类 标签 品牌(基于推荐虚拟分类)
请求参数
参数名 参数类型 必传 缺省值 描述
gc_pattern int N 1:分类 2:标签 3:品牌
最后修改者: root  2017-03-09 13:34:33 

分类列表(优化)

编号  :  05

POST - /mobile/index.php?act=goods_class&op=class_index
传参不变
请求参数
参数名 参数类型 必传 缺省值 描述
city_id int Y 城市id
返回值
"code": 200,
  "class_list": [
    {
      "gc_name": "为你推荐",
      "_child": [
        {
          "gc_name": "精选专辑",
          "gc_pattern": "2",
          "_child": [
            {
              "gc_name": "麻辣小吃",
              "gc_id": "46",
              "gc_thumb": "http://127.0.0.1/goushihui/data/upload/mobile/category/05418505816687328.jpg",
              "gc_pattern": "2"
            },
            {
              "gc_name": "全场-520满送券",
              "gc_id": "3",
              "gc_thumb": "http://127.0.0.1/goushihui/data/upload/shop/common/default_brand_image.gif",
              "gc_pattern": "2"
            }
          ]
        },
        {
          "gc_name": "品牌推荐",
          "gc_pattern": "3",
          "_child": []
    }
    {
      "gc_id": "1298",
      "gc_name": "XQ分类1级",
      "gc_pattern": 1,
      "_child": [     ]
    }
  ],
}
备注
gc_pattern: 1 分类 2 标签 3 品牌
最后修改者: root  2017-03-02 10:30:33 

参团列表

编号  :  04

POST - /mobile/index.php?act=member_group_spell&op=group_spell_list
请求参数
参数名 参数类型 必传 缺省值 描述
spell_activity_id int Y 拼团-活动ID
返回值
{
  "code": 200,
  "spell_list": [
    {
      "member_id": "112968",
      "member_name": "scuchen",
      "remain_num": "1",
      "spell_id": "16",
      "spell_activity_id": "24"
    },
    {
      "member_id": "112969",
      "member_name": "scuchen3",
      "remain_num": "1",
      "spell_id": "20",
      "spell_activity_id": "24"
    }
  ]
}
最后修改者: root  2017-03-27 09:55:14 

商品详情页接口

编号  :  02

POST - /mobile/index.php?act=goods&op=goods_detail
新增拼团数据
请求参数
参数名 参数类型 必传 缺省值 描述
goods_id int Y 商品编号
city_id int Y 城市id
返回值
{
  "code": 200,
  "datas": {
    "goods_info": {
      "goods_name": "chen_测试2017",
      "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",
      "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": "",
      "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",
      "cache_expiration_time": "1488768677",
      "goods_id": "103787",
      "goods_promotion_price": "1.00",
      "goods_salenum": "37",
      "goods_collect": "1",
      "goods_spec": null,
      "goods_storage": "970",
      "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,
      "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",
        "cache_expiration_time": "1488768677"
      },
      "goods_url": "http://b2.meiling.com/shop/index.php?act=goods&op=index&goods_id=103787"
    },
    "mansong_info": [],
    "gift_array": [],
    "goods_commend_list": [
      {
        "goods_id": "103805",
        "goods_name": "0301文竹",
        "goods_price": "10.00",
        "goods_marketprice": "12.00",
        "goods_image": "http://b2.meiling.com/data/upload/shop/store/goods/5/5_05416826588845416_360.jpg",
        "goods_salenum": "2",
        "evaluation_good_star": "5",
        "evaluation_count": "0",
        "is_appoint": "0",
        "is_zd_groupbuy": "0",
        "goods_promotion_price": "10.00",
        "is_virtual": "0",
        "is_presell": "0",
        "is_fcode": "0",
        "have_gift": "0",
        "group_flag": false,
        "xianshi_flag": false,
        "goods_image_url": "http://b2.meiling.com/data/upload/shop/store/goods/5/5_05416826588845416_360.jpg"
      },
      {
        "goods_id": "103763",
        "goods_name": "0117",
        "goods_price": "10.00",
        "goods_marketprice": "16.00",
        "goods_image": "http://b2.meiling.com/data/upload/shop/store/goods/5/5_05379749929385057_360.jpg",
        "goods_salenum": "46",
        "evaluation_good_star": "5",
        "evaluation_count": "0",
        "is_appoint": "0",
        "is_zd_groupbuy": "0",
        "goods_promotion_price": "10.00",
        "is_virtual": "0",
        "is_presell": "0",
        "is_fcode": "0",
        "have_gift": "0",
        "group_flag": false,
        "xianshi_flag": false,
        "goods_image_url": "http://b2.meiling.com/data/upload/shop/store/goods/5/5_05379749929385057_360.jpg"
      },
      {
        "goods_id": "103742",
        "goods_name": "棒棒娃牛肉粒(沙嗲味)90g/袋",
        "goods_price": "19.80",
        "goods_marketprice": "999.00",
        "goods_image": "http://b2.meiling.com/data/upload/shop/common/default_goods_image_360.gif",
        "goods_salenum": "8",
        "evaluation_good_star": "5",
        "evaluation_count": "0",
        "is_appoint": "0",
        "is_zd_groupbuy": "0",
        "goods_promotion_price": "19.80",
        "is_virtual": "0",
        "is_presell": "0",
        "is_fcode": "0",
        "have_gift": "0",
        "group_flag": false,
        "xianshi_flag": false,
        "goods_image_url": "http://b2.meiling.com/data/upload/shop/common/default_goods_image_360.gif"
      },
      {
        "goods_id": "103677",
        "goods_name": "1215陈诗cs分类商品",
        "goods_price": "2.00",
        "goods_marketprice": "3.00",
        "goods_image": "http://b2.meiling.com/data/upload/shop/store/goods/5/5_05351090377316122_360.jpg",
        "goods_salenum": "2",
        "evaluation_good_star": "5",
        "evaluation_count": "0",
        "is_appoint": "0",
        "is_zd_groupbuy": "0",
        "goods_promotion_price": "2.00",
        "is_virtual": "0",
        "is_presell": "0",
        "is_fcode": "0",
        "have_gift": "0",
        "group_flag": false,
        "xianshi_flag": false,
        "goods_image_url": "http://b2.meiling.com/data/upload/shop/store/goods/5/5_05351090377316122_360.jpg",
        "icon_image_url": "http://b2.meiling.com/data/upload/shop/icon/05324491457687962_240.png"
      },
      {
        "goods_id": "103423",
        "goods_name": "1014",
        "goods_price": "1.00",
        "goods_marketprice": "16.00",
        "goods_image": "http://b2.meiling.com/data/upload/shop/store/goods/5/5_05297598437700874_360.jpeg",
        "goods_salenum": "78",
        "evaluation_good_star": "5",
        "evaluation_count": "2",
        "is_appoint": "0",
        "is_zd_groupbuy": "0",
        "goods_promotion_price": "1.00",
        "is_virtual": "0",
        "is_presell": "0",
        "is_fcode": "0",
        "have_gift": "0",
        "group_flag": true,
        "groupbuy_new_user_price": "0.00",
        "is_new_user_pri": "0",
        "xianshi_flag": false,
        "goods_image_url": "http://b2.meiling.com/data/upload/shop/store/goods/5/5_05297598437700874_360.jpeg",
        "icon_image_url": "http://b2.meiling.com/data/upload/shop/icon/05324491457687962_240.png"
      },
      {
        "goods_id": "101920",
        "goods_name": "百益非我莫黍有机绿豆  400g",
        "goods_price": "12.80",
        "goods_marketprice": "13.90",
        "goods_image": "http://b2.meiling.com/data/upload/shop/common/default_goods_image_360.gif",
        "goods_salenum": "2",
        "evaluation_good_star": "5",
        "evaluation_count": "13",
        "is_appoint": "0",
        "is_zd_groupbuy": "0",
        "goods_promotion_price": "12.80",
        "is_virtual": "0",
        "is_presell": "0",
        "is_fcode": "0",
        "have_gift": "0",
        "group_flag": false,
        "xianshi_flag": false,
        "goods_image_url": "http://b2.meiling.com/data/upload/shop/common/default_goods_image_360.gif"
      }
    ],
    "store_info": {
      "goods_stock": "970",
      "store_id": "1",
      "store_working": "08:00-18:00",
      "store_name": "购食汇绵阳官方旗舰店",
      "store_label": "http://b2.meiling.com/data/upload/shop/store/05343528842717659.jpg",
      "goods_count": 1053,
      "new_count": 16,
      "hot_count": 9,
      "member_id": "1",
      "member_name": "meiling"
    },
    "free_freight": "快递满50免运费,自提柜/点满17免运费",
    "voucher_char": "满6减2|满3减2|满4减3|满10减2|",
    "bundling": [],
    "groupbuy": [],
    "groupspell": {
      "sales_rate": 50,
      "spell_activity_id": "24",
      "spell_type": "1",
      "remain_time": 5580083,
      "spell_price": "0.50",
      "success_group": "38",
      "spell_freight": "11.00",
      "spell_list": [
        {
          "member_id": "112968",
          "member_name": "scuchen_2016",
          "remain_num": "1",
          "spell_id": "25",
          "spell_activity_id": "24",
          "remain_time": "2073600"
        }
      ]
    },
    "spec_list": {
      "": "103787"
    },
    "goods_image": "http://b2.meiling.com/data/upload/shop/common/default_goods_image_360.gif"
  }
}
备注
新增拼团数据:
"groupspell": {
      "spell_activity_id": "24",
      "leave_group_num": 86, //剩余团数量
      "promotion_stock": "18", //促销库存
      "spell_type": "2",  //1-商家团,2-用户团
      "sales_num": 19 //销量对应用户团
      "remain_time": "5580083",
      "spell_price": "0.50",
      "success_group": "2", //成团人数
      "spell_freight": "11.00",
      "has_buy_num": "11",//登录状态下该用户已购买的数量,未登录状态为0
      "limit_quantity": "20",//限购数量
      "to_begin_time":1208879,//距离团购开始还需多久
      "spell_list": [
        {
          "member_id": "112968",
          "member_name": "scuchen",
          "remain_num": "1",
          "spell_id": "16",
          "spell_sn": "yZ5xM6n0dhYtqgdoxgWL6Zv2fGKby10F", //拼团编码(32位的随机编码,数字+字母)
          "spell_activity_id": "24",
          "remain_time": "2073600"
        },
        {
          "member_id": "112969",
          "member_name": "scuchen3",
          "remain_num": "1",
          "spell_id": "20",
          "spell_sn": "yZ5xM6n0dhYtqgdoxgWL6Zv2fGKby10F", //拼团编码(32位的随机编码,数字+字母)
          "spell_activity_id": "24",
           "remain_time": "2073600"
        }
      ]
    }

拼团为商家发起,返回字段"sales_rate": 50,拼团百分比
最后修改者: root  2017-04-07 10:10:52 

阶梯折扣商品池数据

编号  :  001

POST - /mobile/index.php?act=member_cart&op=step_discount_goodslist
获取阶梯折扣 购物车数据 折扣规则 折扣商品数据 同满赠数据 /mobile/index.php?act=goods&op=goods_list 临时购物车 接口 /mobile/index.php?act=member_cart_temp&op=step_discount_goodslist
请求参数
参数名 参数类型 必传 缺省值 描述
key string Y 登录令牌
promotion_id int Y 活动id
返回值
{
  "code": 200,
  "datas": {
    "cart_sum": 66.8,    //购物车参加活动商品总额
    "step_discount_cart_sum": 53.44,   //优惠后价格
    "discount_sum": 13.36,   //优惠价
    "step_discount_intro": "多买优惠,2件8折,3件7折"   //折扣规则
  }
}