detect/detect.gui/Embedded/dist/assets/authorityApi-323b0ce5.js

2 lines
356 B
JavaScript
Raw Normal View History

2025-05-08 11:41:35 +08:00
import{o 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}),p=t=>a.get({url:`${s}/${t}`});export{o as a,d as b,p as g,u as r,c as s,l as u};