1 获取店铺链接信息
接口地址: /merchantapi/shop/link/index
响应示例:
json
{
"code": 1,
"msg": "获取成功",
"data": {
"shortLink": "https://short.com/abc123", // 店铺短链接(需要系统开启短链接功能)
"link": "https://example.com/shop/12345", // 店铺完整链接
"shop_no": "12345", // 店铺号
"shop_name": "我的店铺", // 店铺名称
"shop_status": 1 // 店铺状态 0:平台关闭 1:正常
}
}2 重置店铺短链接
接口地址: /merchantapi/shop/link/reset
响应示例:
json
{
"code": 1,
"msg": "重置成功"
}说明: 重置后会生成新的短链接