api.B3uJjjz3.js 1.2 KB

1
  1. import{r as e,S as a}from"./index.BrcdRtnk.js";function s(t){return e({url:"/api/system/job/list",method:"get",params:{...t,tenant_id:"1"}})}function i(t){return e({url:"/api/system/job/detail?id="+t+"&tenant_id=1",method:"get"})}function o(t){return e({url:"/api/system/job/create",method:"post",data:{...t,tenant_id:"1"}})}function r(t){return e({url:"/api/system/job/update",method:"post",data:{...t,tenant_id:"1"}})}function p(t){return e({url:"/api/system/job/delete",method:"delete",data:{id:t,tenant_id:"1"}})}function d(t){return e({url:"/api/system/competency/batch_bind",method:"post",data:t})}function u(t){return e({url:"/api/system/competency/list",method:"get",params:{...t,tenant_id:1}})}function c(t){return e({url:"api/system/job/update_status",method:"post",data:JSON.stringify(t),headers:{"Content-Type":"application/json"}})}function m(t){return e({url:"/api/system/job/batch_publish",method:"post",data:JSON.stringify(t),headers:{"Content-Type":"application/json"}})}function l(t){return e({url:"/api/ai/generate_job_description",method:"post",data:JSON.stringify(t),headers:{"Content-Type":"application/json",Authorization:"JWT "+a.get("token")}})}export{o as A,d as B,p as D,u as G,c as P,r as U,l as a,i as b,m as c,s as d};