import request from '@/utils/request'

// 获取商家端当前店铺上下文
export function getSellerContext() {
  return request({
    url: '/agri/seller/context',
    method: 'get'
  })
}

// 经营账号切换当前店铺
export function switchSellerShop(data) {
  return request({
    url: '/agri/seller/context/shop',
    method: 'put',
    data: data
  })
}
