detect/detect.gui/Embedded/dist/assets/authorityApi-b12c1221.js

2 lines
356 B
JavaScript
Raw Normal View History

2025-01-24 17:14:15 +08:00
import{n as a}from"./index.js";const s="/v1/system/authority",o=t=>a.post({url:`${s}/`,data:t}),l=(t,e=!1)=>a.put({url:`${s}/`,data:t,params:{updateAllFields:e}}),u=t=>a.delete({url:`${s}/${t}`}),c=t=>a.get({url:`${s}/search`,params:t}),d=t=>a.get({url:`${s}/all`,params:t}),n=t=>a.get({url:`${s}/${t}`});export{o as a,d as b,n as g,u as r,c as s,l as u};