Built motion from commit 362b9399b4d0ed5560fbb795af995925d345fc38. Version 3.0.0...
[motion-next.git] / server / api / squareReportDetail / squareReportDetail.rpc.js
index aa81d4e..5584e6a 100644 (file)
@@ -1 +1 @@
-const a739_0xbd93=['raw','CreateSquareDetailsReport','message','rpc','../../mysqldb','stringify','body','info','debug','options','create','error'];(function(_0x3fcb13,_0x10decc){const _0xbd9343=function(_0x5ec7a3){while(--_0x5ec7a3){_0x3fcb13['push'](_0x3fcb13['shift']());}};_0xbd9343(++_0x10decc);}(a739_0xbd93,0xfb));const a739_0x5ec7=function(_0x3fcb13,_0x10decc){_0x3fcb13=_0x3fcb13-0xfd;let _0xbd9343=a739_0xbd93[_0x3fcb13];return _0xbd9343;};const a739_0x5cdfc2=a739_0x5ec7;'use strict';const db=require(a739_0x5cdfc2(0x102))['db'],logger=require('../../config/logger')(a739_0x5cdfc2(0x101));exports[a739_0x5cdfc2(0xff)]=function(_0x21d1f1){const _0x3a8860=this;return new Promise(function(_0x27fdfc,_0x4b585c){const _0x356b0d=a739_0x5ec7;return db['SquareDetailsReport'][_0x356b0d(0x108)](_0x21d1f1[_0x356b0d(0x104)],{'raw':_0x21d1f1[_0x356b0d(0x107)]?_0x21d1f1[_0x356b0d(0x107)][_0x356b0d(0xfe)]===undefined?!![]:![]:!![]})['then'](function(_0x764052){const _0x32c85c=_0x356b0d;logger[_0x32c85c(0x105)](_0x32c85c(0xff),_0x21d1f1),logger[_0x32c85c(0x106)](_0x32c85c(0xff),_0x21d1f1,JSON[_0x32c85c(0x103)](_0x764052)),_0x27fdfc(_0x764052);})['catch'](function(_0x47cf9c){const _0x58d213=_0x356b0d;logger[_0x58d213(0xfd)](_0x58d213(0xff),_0x47cf9c[_0x58d213(0x100)],_0x21d1f1),_0x4b585c(_0x3a8860['error'](0x1f4,_0x47cf9c[_0x58d213(0x100)]));});});};
\ No newline at end of file
+const a739_0x369c=['../../config/logger','body','error','catch','raw','../../mysqldb','info','CreateSquareDetailsReport','message','options','create','then','rpc'];(function(_0x3ae0db,_0x9fb72f){const _0x369c44=function(_0x160c7b){while(--_0x160c7b){_0x3ae0db['push'](_0x3ae0db['shift']());}};_0x369c44(++_0x9fb72f);}(a739_0x369c,0x131));const a739_0x160c=function(_0x3ae0db,_0x9fb72f){_0x3ae0db=_0x3ae0db-0x16d;let _0x369c44=a739_0x369c[_0x3ae0db];return _0x369c44;};const a739_0x51adba=a739_0x160c;'use strict';const db=require(a739_0x51adba(0x179))['db'],logger=require(a739_0x51adba(0x174))(a739_0x51adba(0x173));exports['CreateSquareDetailsReport']=function(_0x25e507){const _0x15f04f=this;return new Promise(function(_0x25e646,_0x4367fe){const _0xb9654a=a739_0x160c;return db['SquareDetailsReport'][_0xb9654a(0x171)](_0x25e507[_0xb9654a(0x175)],{'raw':_0x25e507[_0xb9654a(0x170)]?_0x25e507[_0xb9654a(0x170)][_0xb9654a(0x178)]===undefined?!![]:![]:!![]})[_0xb9654a(0x172)](function(_0xb88972){const _0xda0635=_0xb9654a;logger[_0xda0635(0x16d)]('CreateSquareDetailsReport',_0x25e507),logger['debug']('CreateSquareDetailsReport',_0x25e507,JSON['stringify'](_0xb88972)),_0x25e646(_0xb88972);})[_0xb9654a(0x177)](function(_0x19728e){const _0x4b981f=_0xb9654a;logger[_0x4b981f(0x176)](_0x4b981f(0x16e),_0x19728e[_0x4b981f(0x16f)],_0x25e507),_0x4367fe(_0x15f04f[_0x4b981f(0x176)](0x1f4,_0x19728e[_0x4b981f(0x16f)]));});});};
\ No newline at end of file