ed39506fae40b4fb9f825f4ee644ed0ff21b3386
[motion-next.git] / server / api / cmCustomField / index.js
1 const a162_0x198c=['put','../../components/auth/service','exports','post','express','./cmCustomField.controller','show','delete','isAuthenticated','destroy','Router','/:id','get','create'];(function(_0x435d5f,_0x5b66f6){const _0x198c0a=function(_0x4752ed){while(--_0x4752ed){_0x435d5f['push'](_0x435d5f['shift']());}};_0x198c0a(++_0x5b66f6);}(a162_0x198c,0x19b));const a162_0x4752=function(_0x435d5f,_0x5b66f6){_0x435d5f=_0x435d5f-0x7d;let _0x198c0a=a162_0x198c[_0x435d5f];return _0x198c0a;};const a162_0x4b7fe8=a162_0x4752;'use strict';const express=require(a162_0x4b7fe8(0x8a)),router=express[a162_0x4b7fe8(0x82)](),auth=require(a162_0x4b7fe8(0x87)),controller=require(a162_0x4b7fe8(0x7d));router['get']('/',auth[a162_0x4b7fe8(0x80)](),controller['index']),router[a162_0x4b7fe8(0x84)](a162_0x4b7fe8(0x83),auth['isAuthenticated'](),controller[a162_0x4b7fe8(0x7e)]),router[a162_0x4b7fe8(0x89)]('/',auth[a162_0x4b7fe8(0x80)](),controller[a162_0x4b7fe8(0x85)]),router[a162_0x4b7fe8(0x86)](a162_0x4b7fe8(0x83),auth[a162_0x4b7fe8(0x80)](),controller['update']),router[a162_0x4b7fe8(0x7f)](a162_0x4b7fe8(0x83),auth[a162_0x4b7fe8(0x80)](),controller[a162_0x4b7fe8(0x81)]),module[a162_0x4b7fe8(0x88)]=router;