53498f94c56ae2643ecca88f46c82271fbb2d68e
[motion-next.git] / server / api / squareMessage / index.js
1 const a586_0x5d3a=['put','/:id','get','../../components/auth/service','destroy','Router','show','exports','create','isAuthenticated','express'];(function(_0x1212ff,_0x5d3a9c){const _0x20b2b3=function(_0x2793c0){while(--_0x2793c0){_0x1212ff['push'](_0x1212ff['shift']());}};_0x20b2b3(++_0x5d3a9c);}(a586_0x5d3a,0x149));const a586_0x20b2=function(_0x1212ff,_0x5d3a9c){_0x1212ff=_0x1212ff-0x0;let _0x20b2b3=a586_0x5d3a[_0x1212ff];return _0x20b2b3;};const _0x315286=a586_0x20b2;'use strict';const express=require(_0x315286('0x0')),router=express[_0x315286('0x6')](),auth=require(_0x315286('0x4')),controller=require('./squareMessage.controller');router[_0x315286('0x3')]('/',auth[_0x315286('0xa')](),controller['index']),router[_0x315286('0x3')](_0x315286('0x2'),auth[_0x315286('0xa')](),controller[_0x315286('0x7')]),router['post']('/',auth[_0x315286('0xa')](),controller[_0x315286('0x9')]),router[_0x315286('0x1')](_0x315286('0x2'),auth[_0x315286('0xa')](),controller['update']),router['delete'](_0x315286('0x2'),auth[_0x315286('0xa')](),controller[_0x315286('0x5')]),module[_0x315286('0x8')]=router;