import request from '@/api/request'

// 查询是否签署协议
export const getAgreement = () => request({
  method: 'GET',
  url: '/partner/agreement'
})

// 签署协议
export const submitAgreement = (id) => request({
  method: 'POST',
  url: '/partner/submitAgreement',
  data: {
    id
  }
})
