优特云
[ { "name": "首页", "url": "http://www.utyun.com/", "target": "0", "child": [] }, { "name": "活动", "url": "http://www.utyun.com/h-col-141.html", "target": "0", "child": [] }, { "name": "产品", "url": "", "target": "1", "child": [ { "name": "U语言", "url": "http://www.utyun.com/h-col-176.html", "target": "0", "child": [] }, { "name": "U平台", "url": "http://www.utyun.com/h-col-150.html", "target": "0", "child": [] } ] }, { "name": "技术与服务", "url": "", "target": "1", "child": [ { "name": "运维服务", "url": "http://www.utyun.com/h-col-161.html", "target": "0", "child": [] }, { "name": "技术方案", "url": "http://www.utyun.com/h-col-178.html", "target": "0", "child": [] } ] }, { "name": "优特云学院", "url": "", "target": "1", "child": [ { "name": "教程", "url": "http://www.utyun.com/h-col-166.html", "target": "0", "child": [] }, { "name": "下载中心", "url": "http://www.utyun.com/h-col-170.html", "target": "0", "child": [] }, { "name": "论坛", "url": "http://www.utyun.com/h-col-169.html", "target": "0", "child": [] } ] }, { "name": "关于优特云", "url": "", "target": "1", "child": [ { "name": "企业概况", "url": "http://www.utyun.com/h-col-171.html", "target": "0", "child": [] }, { "name": "新闻动态", "url": "http://www.utyun.com/h-col-172.html", "target": "0", "child": [] }, { "name": "加入我们", "url": "http://www.utyun.com/h-col-173.html", "target": "0", "child": [] }, { "name": "团队风采", "url": "http://www.utyun.com/h-col-140.html", "target": "0", "child": [] } ] } ]
V1.00.00
店铺服务(shop)-店铺ES搜索

伟 最后一次编辑

3 年多前 27

店铺服务(shop)-店铺ES搜索

同步某个店铺数据到ES

基本信息

Path: /shop/store/es/save

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
id string 必须 商品id

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 必须
├─ id string 必须 新增成功后的记录id

同步全部店铺数据到ES

基本信息

Path: /shop/store/es/saveAll

Method: GET

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
string 非必须 format: binary

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 非必须

增量同步店铺数据到ES

基本信息

Path: /shop/store/es/saveIncrement

Method: GET

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
string 非必须 format: binary

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 非必须

删除某个ES店铺

基本信息

Path: /shop/store/es/delete

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
id string 必须 商品id

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 非必须

删除全部ES店铺

基本信息

Path: /shop/store/es/deleteAll

Method: GET

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
string 非必须 format: binary

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 非必须

商家查看店铺详情

基本信息

Path: /shop/store/es/get

Method: GET

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
string 非必须 format: binary

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须
code integer 必须 format: int32
data object 必须
├─ contacts_phone string 必须 联系人电话
├─ store_banner string 必须 店铺Banner
├─ store_state integer 必须 店铺状态,0:下线;1:上线 format: int32
├─ bank_account_number string 必须 结算公司银行账号
├─ identity_card_back string 必须 身份证反面
├─ contacts_name string 必须 联系人姓名
├─ is_platform_store integer 必须 是否自营店铺 1是 0否 format: int32
├─ store_address string 必须 店铺地址
├─ area_id string 必须 地区ID
├─ extend_info string 必须 店铺扩展信息
├─ company_address string 必须 公司地址
├─ joinin_state string 必须 申请状态 10-已提交申请 20-审核成功 30-审核失败 40-审核通过开店
├─ store_avatar string 必须 店铺头像
├─ store_workingtime string 必须 店铺营业时间
├─ store_theme string 必须 店铺当前主题
├─ store_phone string 必须 商家电话
├─ apply_id string 必须 店铺申请ID
├─ contacts_email string 必须 联系人邮箱
├─ store_name string 必须 店铺名称
├─ area_info string 必须 地区名称
├─ business_licence string 必须 营业执照号
├─ store_free_price number 必须 超出该金额免运费,大于0才表示该值有效
├─ store_mainbusiness string 必须 店铺描述
├─ is_settlement_account integer 必须 开户行账号是否为结算账号 1-开户行就是结算账号 2-独立的计算账号 format: int32
├─ app_id string 必须 应用ID
├─ joinin_message string 必须 管理员审核信息
├─ member_id string 必须 用户ID
├─ store_id string 必须 店铺ID
├─ store_company_name string 必须 店铺公司名称
├─ store_keywords string 必须 店铺SEO关键字
├─ is_open integer 必须 0 休息中,1营业中 format: int32
├─ store_logo string 必须 店铺LOGO
├─ store_qq string 必须 店铺QQ
├─ store_ww string 必须 店铺旺旺
├─ member_name string 必须 店主用户名
├─ company_area_id string 必须 所在地区ID
├─ store_addtime string 必须 店铺时间 format: date-time
├─ bank_account_name string 必须 结算银行开户名
├─ province_id string 必须 省份
├─ company_name string 必须 公司名称
├─ identity_card_front string 必须 身份证正面
├─ store_huodaofk integer 必须 货到付款 format: int32
├─ position string 必须 位置经纬度
├─ business_licence_file string 必须 营业执照电子版
├─ city_id string 必须 城市

普通用户查询店铺详情

基本信息

Path: /shop/store/es/getStoreInfo

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
id string 必须 应用ID

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 非必须 响应信息
code integer 非必须 响应状态码 format: int32
data object 非必须
├─ contacts_phone string 非必须
├─ member_id string 非必须
├─ store_banner string 非必须
├─ store_state integer 非必须 format: int32
├─ store_company_name string 非必须
├─ store_keywords string 非必须
├─ is_open string 非必须
├─ store_logo string 非必须
├─ contacts_name string 非必须
├─ store_address string 非必须
├─ area_id string 非必须
├─ member_name string 非必须
├─ extend_info string 非必须
├─ store_avatar string 非必须
├─ store_workingtime string 非必须
├─ store_addtime string 非必须 format: date-time
├─ store_phone string 非必须
├─ province_id string 非必须
├─ store_name string 非必须
├─ id string 非必须
├─ position string 非必须
├─ store_mainbusiness string 非必须
├─ city_id string 非必须

查看店铺列表

基本信息

Path: /shop/store/es/query

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
pageno integer 必须 当前页码数 format: int32
pagesize integer 必须 每页记录数 format: int32
store_name string 非必须 店铺名称
sort string 必须 排序规则
app_id string 必须 应用ID
order string 必须 排序字段

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object [] 必须 响应数据 item 类型: object
├─ store_endtime string 必须 店铺关闭时间 format: date-time
├─ store_banner string 必须 店铺Banner
├─ store_state integer 必须 店铺状态 format: int32
├─ store_sales integer 必须 店铺销量 format: int32
├─ is_platform_store integer 必须 是否自营店铺 format: int32
├─ store_address string 必须 店铺地址
├─ area_id string 必须 地区ID
├─ store_avatar string 必须 店铺头像
├─ store_workingtime string 必须 工作时间
├─ store_theme string 必须 店铺当前主题
├─ store_phone string 必须 商家电话
├─ store_collect integer 必须 店铺收藏数量 format: int32
├─ store_desccredit number 必须 描述相符度分数
├─ store_name string 必须 店铺名称
├─ area_info string 必须 地区名称
├─ id string 必须 店铺ID
├─ store_free_price number 必须 超出该金额免运费,大于0才表示该值有效
├─ store_mainbusiness string 必须 主营商品
├─ member_id string 必须 用户ID
├─ store_company_name string 必须 店铺公司名称
├─ store_keywords string 必须 店铺SEO关键字
├─ store_logo string 必须 店铺LOGO
├─ store_qq string 必须 店铺QQ
├─ store_ww string 必须 阿里旺旺
├─ member_name string 必须 用户名
├─ store_addtime string 必须 店铺创建时间 format: date-time
├─ store_recommend integer 必须 是否推荐 format: int32
├─ store_servicecredit number 必须 服务态度分数
├─ store_close_info string 必须 店铺关闭原因
├─ store_deliverycredit number 必须 发货速度分数
├─ store_huodaofk integer 必须 货到付款 format: int32
├─ store_credit integer 必须 店铺信用 format: int32
page object 非必须
├─ total integer 必须 总页数 format: int64
├─ records integer 必须 总记录数 format: int64
├─ pageno integer 必须 每页的记录数 format: int32
├─ pagesize integer 必须 页数 format: int32

应用店铺搜索

基本信息

Path: /shop/public/store/es/searchStores

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
distance number 必须 搜索距离 format: double
store_keywords string 必须 店铺SEO关键字
pageno integer 非必须 format: int32
latitude string 必须 纬度
pagesize integer 非必须 format: int32
store_name string 必须 店铺名称
area_id string 必须 区域id
app_id string 必须 应用ID
city_id string 必须 城市id
longitude string 必须 经度

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object [] 必须 响应数据 item 类型: object
├─ contacts_phone string 非必须 联系人电话
├─ member_id string 非必须 用户id
├─ store_id string 必须 店铺ID
├─ distance number 必须 距离 format: double
├─ store_keywords string 必须 店铺SEO关键字
├─ is_open integer 必须 是否营业:0休息1营业中 最大值: 127最小值: -128format: int32
├─ store_logo string 必须 店铺LOGO
├─ store_sales integer 必须 店铺销量 format: int32
├─ contacts_name string 非必须 联系人名称
├─ store_address string 必须 店铺地址
├─ area_id string 必须 区域id
├─ member_name string 非必须 用户名
├─ store_workingtime string 必须 工作时间
├─ store_addtime string 非必须 店铺时间 format: date-time
├─ store_phone string 非必须 店铺电话
├─ store_collect integer 必须 店铺收藏数量 format: int32
├─ province_id string 必须 省份
├─ store_name string 必须 店铺名称
├─ store_credit integer 必须 店铺信用 format: int32
├─ store_mainbusiness string 必须 店铺描述
├─ city_id string 必须 城市id

商城首页店铺搜索(带位置信息)

基本信息

Path: /shop/store/es/storeSearch

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
pageno integer 必须 页数 format: int32
pagesize integer 必须 每页的记录数 format: int32
store_name string 非必须 店铺名称
position string 非必须 位置经纬度
app_id string 非必须 应用ID

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object [] 必须 响应数据 item 类型: object
├─ distance number 必须 距离 format: double
├─ store_servicecredit number 必须 服务态度分数
├─ province_id string 必须 省份
├─ store_sales integer 必须 店铺销量 format: int32
├─ store_desccredit number 必须 描述相符度分数
├─ store_name string 必须 店铺名称
├─ store_deliverycredit number 必须 发货速度分数
├─ id string 必须 店铺ID
├─ position string 必须 位置经纬度
├─ store_credit integer 必须 店铺信用 format: int32
├─ city_id string 必须 城市ID
page object 非必须
├─ total integer 必须 总页数 format: int64
├─ records integer 必须 总记录数 format: int64
├─ pageno integer 必须 每页的记录数 format: int32
├─ pagesize integer 必须 页数 format: int32

商城首页店铺搜索(V0.8)

基本信息

Path: /shop/public/store/es/storeHomePageListSearch

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
pageno integer 必须 页数
pagesize integer 必须 每页记录数
app_id string 必须 应用ID
store_name string 非必须 店铺名称
order string 非必须 排序字段
sort string 非必须 排序规则

返回数据

名称 类型 是否必须 默认值 备注 其他信息
code number 非必须
msg string 非必须
data object [] 非必须 item 类型: object
├─ favorable_rate number 非必须 好评率
├─ goodsList object [] 非必须 店铺推荐商品图片 item 类型: object
├─ goods_id string 必须 商品id
├─ price number 必须 价格
├─ goods_image string 必须 商品图片
├─ id string 非必须 店铺ID
├─ store_logo string 非必须 店铺LOGO
├─ store_name string 非必须 店铺名称
page object 非必须
├─ pageno number 非必须
├─ pagesize number 非必须
├─ records number 非必须
├─ total number 非必须

优特云