Built motion from commit b517aaa2a6638133380e4d135c64a80893061362. Version 3.0.0...
[motion-next.git] / server / api / intDeskField / index.js
1 const a236_0x138b=['./intDeskField.controller','express','put','show','isAuthenticated','exports','get','/:id','update','destroy','../../components/auth/service','post'];(function(_0x21233c,_0x138b16){const _0x5b7661=function(_0x1bde83){while(--_0x1bde83){_0x21233c['push'](_0x21233c['shift']());}};_0x5b7661(++_0x138b16);}(a236_0x138b,0x1c6));const a236_0x5b76=function(_0x21233c,_0x138b16){_0x21233c=_0x21233c-0x0;let _0x5b7661=a236_0x138b[_0x21233c];return _0x5b7661;};const _0x411194=a236_0x5b76;'use strict';const express=require(_0x411194('0x3')),router=express['Router'](),auth=require(_0x411194('0x0')),controller=require(_0x411194('0x2'));router['get']('/',auth[_0x411194('0x6')](),controller['index']),router[_0x411194('0x8')](_0x411194('0x9'),auth['isAuthenticated'](),controller[_0x411194('0x5')]),router[_0x411194('0x1')]('/',auth[_0x411194('0x6')](),controller['create']),router[_0x411194('0x4')](_0x411194('0x9'),auth[_0x411194('0x6')](),controller[_0x411194('0xa')]),router['delete'](_0x411194('0x9'),auth['isAuthenticated'](),controller[_0x411194('0xb')]),module[_0x411194('0x7')]=router;