api.ts 423 B

12345678910111213141516171819
  1. import { request } from '/@/utils/service';
  2. const apiPrefix = '/api/searchterm/';
  3. export function getTopSearchTermTable(query: any) {
  4. return request({
  5. url: apiPrefix + 'topsearchtermTable/',
  6. method: 'GET',
  7. params: query,
  8. });
  9. }
  10. // export function postCreateSearchTerm(body: any) {
  11. // return request({
  12. // url: apiPrefix + 'topsearchtermroot/',
  13. // method: 'POST',
  14. // data: body,
  15. // });
  16. // }