2 lines
1.1 KiB
Java
2 lines
1.1 KiB
Java
import{d as r}from"./index-X7Y8jykP.js";const o=(e,s)=>{let t=s?"/sys/thirdApp/editThirdAppConfig":"/sys/thirdApp/addThirdAppConfig";return r.post({url:t,params:e},{joinParamsToUrl:!0})},a=e=>r.get({url:"/sys/thirdApp/getThirdConfigByTenantId",params:e}),i=()=>r.get({url:"/sys/thirdApp/sync/dingtalk/departAndUser/toLocal",timeout:6e4},{isTransformResponse:!1}),d=()=>r.get({url:"/sys/thirdApp/getThirdUserByWechat"},{isTransformResponse:!1}),p=e=>r.get({url:"/sys/thirdApp/sync/wechatEnterprise/departAndUser/toLocal",params:e},{isTransformResponse:!1}),l=()=>r.get({url:"/sys/thirdApp/getThirdUserBindByWechat"},{isTransformResponse:!1}),c=e=>r.delete({url:"/sys/thirdApp/deleteThirdAccount",params:e},{isTransformResponse:!1,joinParamsToUrl:!0}),h=(e,s)=>r.delete({url:"/sys/thirdApp/deleteThirdAppConfig",params:e},{joinParamsToUrl:!0}).then(()=>{s()}),g=e=>r.get({url:"/sys/thirdApp/testKingdeeConnect",params:e},{isTransformResponse:!1}),T=()=>r.get({url:"/xslmes/dingtalk/stream/nodeInfo"});export{d as a,a as b,T as c,c as d,h as e,o as f,l as g,i as s,g as t,p as w};
|