chunk-2d22c35e.2e8bf746.js 790 B

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d22c35e"],{f1eb:function(t,e,n){"use strict";n.r(e),n.d(e,"urlPrefix",(function(){return c})),n.d(e,"GetList",(function(){return o})),n.d(e,"GetObj",(function(){return d})),n.d(e,"createObj",(function(){return i})),n.d(e,"UpdateObj",(function(){return a})),n.d(e,"DelObj",(function(){return f}));var r=n("5530"),u=n("22ce"),c="/api/system/role/";function o(t){return Object(u["c"])({url:c,method:"get",params:Object(r["a"])({},t)})}function d(t){return Object(u["c"])({url:c+t.id+"/",method:"get"})}function i(t){return Object(u["c"])({url:c,method:"post",data:t})}function a(t){return Object(u["c"])({url:c+t.id+"/",method:"put",data:t})}function f(t){return Object(u["c"])({url:c+t+"/",method:"delete",data:{id:t}})}}}]);