Built motion from commit 822e0ac2e.|1.0.30
[motion.git] / server / api / report_square / report_square.controller.js
index 15ccd80..3a4b34d 100644 (file)
@@ -1 +1 @@
-var _0x10bf=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x61\x70\x69","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x6F\x67\x67\x65\x72\x2E\x6A\x73","\x69\x6E\x64\x65\x78","\x72\x65\x61\x6C\x74\x69\x6D\x65","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x73\x63\x72\x69\x62\x65","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x75\x6E\x69\x71\x75\x65\x69\x64","\x66\x69\x6E\x64\x4F\x6E\x65","\x73\x74\x61\x63\x6B","\x65\x72\x72\x6F\x72"];_0x10bf[0];var _=require(_0x10bf[1]);var ReportSquare=require(_0x10bf[3])[_0x10bf[2]];var ReportSquareHistory=require(_0x10bf[3])[_0x10bf[5]][_0x10bf[4]];var Util=require(_0x10bf[6]);var logger=require(_0x10bf[8])(_0x10bf[7]);exports[_0x10bf[9]]= function(_0x109fx6,_0x109fx7,_0x109fx8){return generalIndex(_0x109fx6,_0x109fx7,_0x109fx8)};exports[_0x10bf[10]]= function(_0x109fx6,_0x109fx7,_0x109fx8){return generalIndex(_0x109fx6,_0x109fx7,_0x109fx8,{leaveAt:null})};function generalIndex(_0x109fx6,_0x109fx7,_0x109fx8,_0x109fxa){return ReportSquare[_0x10bf[17]](Util[_0x10bf[16]](_0x109fx6[_0x10bf[15]],_0x109fxa|| {}))[_0x10bf[14]](function(_0x109fxc){return _0x109fx7[_0x10bf[13]](200)[_0x10bf[12]](_0x109fxc)})[_0x10bf[11]](function(_0x109fxb){return handleError(_0x109fx7,_0x109fxb)})}exports[_0x10bf[18]]= function(_0x109fx6,_0x109fx7){return ReportSquareHistory[_0x10bf[18]]()[_0x10bf[14]](function(_0x109fxd){return _0x109fx7[_0x10bf[13]](200)[_0x10bf[12]](_0x109fxd)})[_0x10bf[11]](function(_0x109fxb){return handleError(_0x109fx7,_0x109fxb)})};exports[_0x10bf[19]]= function(_0x109fx6,_0x109fx7){return ReportSquare[_0x10bf[22]]({where:{uniqueid:_0x109fx6[_0x10bf[15]][_0x10bf[21]]}})[_0x10bf[14]](function(_0x109fxe){if(_0x109fxe){return _0x109fxe};return ReportSquareHistory[_0x10bf[22]]({where:{uniqueid:_0x109fx6[_0x10bf[15]][_0x10bf[21]]}})})[_0x10bf[14]](function(_0x109fxe){if(!_0x109fxe){return _0x109fx7[_0x10bf[20]](404)};return _0x109fx7[_0x10bf[13]](200)[_0x10bf[12]](_0x109fxe)})[_0x10bf[11]](function(_0x109fxb){return handleError(_0x109fx7,_0x109fxb)})};function handleError(_0x109fx7,_0x109fxb){logger[_0x10bf[24]](_0x109fxb[_0x10bf[23]]);return _0x109fx7[_0x10bf[13]](500)[_0x10bf[12]](_0x109fxb)}
\ No newline at end of file
+var _0x6969=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x61\x70\x69","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x6F\x67\x67\x65\x72\x2E\x6A\x73","\x69\x6E\x64\x65\x78","\x72\x65\x61\x6C\x74\x69\x6D\x65","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x73\x63\x72\x69\x62\x65","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x75\x6E\x69\x71\x75\x65\x69\x64","\x66\x69\x6E\x64\x4F\x6E\x65","\x73\x74\x61\x63\x6B","\x65\x72\x72\x6F\x72"];_0x6969[0];var _=require(_0x6969[1]);var ReportSquare=require(_0x6969[3])[_0x6969[2]];var ReportSquareHistory=require(_0x6969[3])[_0x6969[5]][_0x6969[4]];var Util=require(_0x6969[6]);var logger=require(_0x6969[8])(_0x6969[7]);exports[_0x6969[9]]= function(_0x1fd7x6,_0x1fd7x7,_0x1fd7x8){return generalIndex(_0x1fd7x6,_0x1fd7x7,_0x1fd7x8)};exports[_0x6969[10]]= function(_0x1fd7x6,_0x1fd7x7,_0x1fd7x8){return generalIndex(_0x1fd7x6,_0x1fd7x7,_0x1fd7x8,{leaveAt:null})};function generalIndex(_0x1fd7x6,_0x1fd7x7,_0x1fd7x8,_0x1fd7xa){return ReportSquare[_0x6969[17]](Util[_0x6969[16]](_0x1fd7x6[_0x6969[15]],_0x1fd7xa|| {}))[_0x6969[14]](function(_0x1fd7xc){return _0x1fd7x7[_0x6969[13]](200)[_0x6969[12]](_0x1fd7xc)})[_0x6969[11]](function(_0x1fd7xb){return handleError(_0x1fd7x7,_0x1fd7xb)})}exports[_0x6969[18]]= function(_0x1fd7x6,_0x1fd7x7){return ReportSquareHistory[_0x6969[18]]()[_0x6969[14]](function(_0x1fd7xd){return _0x1fd7x7[_0x6969[13]](200)[_0x6969[12]](_0x1fd7xd)})[_0x6969[11]](function(_0x1fd7xb){return handleError(_0x1fd7x7,_0x1fd7xb)})};exports[_0x6969[19]]= function(_0x1fd7x6,_0x1fd7x7){return ReportSquare[_0x6969[22]]({where:{uniqueid:_0x1fd7x6[_0x6969[15]][_0x6969[21]]}})[_0x6969[14]](function(_0x1fd7xe){if(_0x1fd7xe){return _0x1fd7xe};return ReportSquareHistory[_0x6969[22]]({where:{uniqueid:_0x1fd7x6[_0x6969[15]][_0x6969[21]]}})})[_0x6969[14]](function(_0x1fd7xe){if(!_0x1fd7xe){return _0x1fd7x7[_0x6969[20]](404)};return _0x1fd7x7[_0x6969[13]](200)[_0x6969[12]](_0x1fd7xe)})[_0x6969[11]](function(_0x1fd7xb){return handleError(_0x1fd7x7,_0x1fd7xb)})};function handleError(_0x1fd7x7,_0x1fd7xb){logger[_0x6969[24]](_0x1fd7xb[_0x6969[23]]);return _0x1fd7x7[_0x6969[13]](500)[_0x6969[12]](_0x1fd7xb)}
\ No newline at end of file