Newer
Older
shipFront / src / api / typhoon.js
[wangxitong] on 15 Oct 2021 381 bytes first commit
/**
 * 台风接口
 */
import request from '@/utils/request'


// 台风列表
export function getTyphoonList() {
  return request({
    url: 'typhoon/list',
    method: 'get',
    params:{}
  })
}

// 台风详情
export function getTyphoonDetail(typhoonId) {
  return request({
    url: 'typhoon/detail',
    method: 'get',
    params: {
      typhoonId: typhoonId
    }
  })
}