shops.yml 1.01 KB
_name: '根据关键词搜索品牌店铺接口。'
_request:
    keyword:
        _desc: '搜索店铺的关键词,不能为空'
        _required: true
        _type: 'string'
_response:
    code:
        _desc: '响应状态码,200为成功,其他为失败'
        _required: true
        _type: 'int'
    message:
        _desc: '响应描述信息'
        _required: false
        _type: 'string'
    data:
        _desc: '根据关键字搜索出的关联的品牌'
        _required: false
        _type: 'object'
        _content:
            id:
                _desc: '品牌ID'
                _required: true
                _type: 'int'
            brand_name:
                _desc: '品牌名称'
                _required: true
                _type: 'string'
            brand_ico:
                _desc: '品牌ICO'
                _required: true
                _type: 'string'
            brand_domain:
                _desc: '品牌DOMAIN'
                _required: true
                _type: 'string'