import request from '@/utils/request';

export async function answerquery(data) {
  return request({
    path: '/knowledge/answer/today/query',
    data,
    type: 'get',
  });
}

export async function getquestion(data) {
  return request({
    path: '/knowledge/answer/get/question',
    data,
    type: 'get',
  });
}

export async function submitquestion(data) {
  return request({
    path: '/knowledge/answer/submit/answer',
    data,
    type: 'post',
  });
}

export async function getdate(data) {
  return request({
    path: '/knowledge/answer/get/date',
    data,
    type: 'get',
  });
}
