baselines.js 306 Bytes
Newer Older
wangdanlei's avatar
wangdanlei committed
1 2 3 4 5 6 7 8 9 10 11 12
import { post } from '../utils/http'

export function revise(id) {
  return post(`/DxBaseline/version/${id}/revise`, null, true)
}

export function frozen(id) {
  return post(`/DxBaseline/frozen/${id}`, null, true)
}
export function unFrozen(id) {
  return post(`/DxBaseline/unFrozen/${id}`, null, true)
}