ECJiaWiki:Api:weapp/store (o2o)

来自ECJiaWiki
跳转至: 导航搜索

应用场景

 通过小程序uuid获取店铺信息

接口名称

 weapp/store

请求参数

字段名 变量名 必填 类型 示例值 描述
小程序uuid uuid string 小程序uuid

举例如下

"uuid": "c311f43fab92444dae00c2ce321b8c14",

返回参数

字段名 变量名 必填 类型 示例值 描述
返回状态码 status Array() {"succeed" : 1} 返回请求接口后的数据,succeed为1代表成功,0则为失败,失败后则返回error_code(错误code)及error_desc(错误说明)
返回信息 data data字典 请求接口提供的返回信息
└ 店铺id store_id 店铺id 店铺id

成功举例如下

{
    "data": {
        "store_id": 63,
        "cat_id": 7,
        "validate_type": 1,
        "manage_mode": "self",
        "merchants_name": "宅鲜配专营店",
        "shop_keyword": "肉禽、海鲜",
        "status": 1,
        "shop_close": 0,
        "responsible_person": "杨婷",
        "company_name": "",
        "email": "13812340001@139.com",
        "contact_mobile": "15216670568",
        "apply_time": 1505685846,
        "confirm_time": 0,
        "expired_time": 0,
        "account_status": "normal",
        "delete_time": 0,
        "activate_time": 0,
        "address": "上海市中山北路3553号伸大厦301",
        "identity_type": "1",
        "identity_number": "342101199301011234",
        "personhand_identity_pic": "http://192.168.1.69/cityo2o/content/uploads/data/store/1479177895438481117.jpg",
        "identity_pic_front": "http://192.168.1.69/cityo2o/content/uploads/data/store/1479177895619092797.jpg",
        "identity_pic_back": "http://192.168.1.69/cityo2o/content/uploads/data/store/1479177895332462370.jpg",
        "identity_status": 2,
        "business_licence": "",
        "business_licence_pic": "",
        "bank_account_name": "111",
        "bank_name": "111",
        "bank_branch_name": "111",
        "bank_account_number": "111",
        "bank_address": "111",
        "percent_id": 4,
        "remark": "",
        "longitude": "121.40966",
        "latitude": "31.22928",
        "geohash": "wtw3dtpgdp",
        "sort_order": 50,
        "province": "CN31",
        "city": "CN3101",
        "district": "CN310107",
        "street": "CN310107014",
        "express_assign_auto": "0",
        "min_goods_amount": "0",
        "orders_auto_confirm": "0",
        "orders_auto_rejection_time": "0",
        "printer_offline_send": "0",
        "quickpay_enabled": "1",
        "shop_banner_pic": "http://192.168.1.69/cityo2o/content/uploads/merchant/63/data/shop_banner/1492707558668553607.png",
        "shop_description": "好运来",
        "shop_kf_mobile": "15216670001",
        "shop_logo": "http://192.168.1.69/cityo2o/content/uploads/merchant/63/data/shop_logo/1502219493543820282.jpg",
        "shop_nav_background": "http://192.168.1.69/cityo2o/content/uploads/merchant/63/data/shop_nav_background/1478642645220772503.jpg",
        "shop_notice": "各位亲爱的吃货朋友,我们将继续为您带来最美味的进口海鲜!放心海买!",
        "shop_review_goods": "0",
        "shop_template": "default2",
        "shop_trade_time": "8:30--次日0:30"
    },
    "status": {
        "succeed": 1
    }
}

失败举例如下

注:错误编码