Built motion from commit b517aaa2a6638133380e4d135c64a80893061362. Version 3.0.0...
[motion-next.git] / server / api / squareReportDetail / squareReportDetail.rpc.js
index 35a794c..a814f97 100644 (file)
@@ -1 +1 @@
-const a617_0x276e=['CreateSquareDetailsReport','../../config/logger','error','catch','debug','create','stringify','options','rpc','../../mysqldb','raw','message','body'];(function(_0x2e2753,_0x276e28){const _0xfb5894=function(_0x424804){while(--_0x424804){_0x2e2753['push'](_0x2e2753['shift']());}};_0xfb5894(++_0x276e28);}(a617_0x276e,0x18d));const a617_0xfb58=function(_0x2e2753,_0x276e28){_0x2e2753=_0x2e2753-0x0;let _0xfb5894=a617_0x276e[_0x2e2753];return _0xfb5894;};const _0xffff3d=a617_0xfb58;'use strict';const db=require(_0xffff3d('0x2'))['db'],logger=require(_0xffff3d('0x7'))(_0xffff3d('0x1'));exports['CreateSquareDetailsReport']=function(_0x424804){const _0x6dcf20=this;return new Promise(function(_0x123d28,_0x46af0d){const _0x236acc=a617_0xfb58;return db['SquareDetailsReport'][_0x236acc('0xb')](_0x424804[_0x236acc('0x5')],{'raw':_0x424804[_0x236acc('0x0')]?_0x424804[_0x236acc('0x0')][_0x236acc('0x3')]===undefined?!![]:![]:!![]})['then'](function(_0x86523e){const _0x48f705=_0x236acc;logger['info'](_0x48f705('0x6'),_0x424804),logger[_0x48f705('0xa')](_0x48f705('0x6'),_0x424804,JSON[_0x48f705('0xc')](_0x86523e)),_0x123d28(_0x86523e);})[_0x236acc('0x9')](function(_0x337bf2){const _0x366010=_0x236acc;logger[_0x366010('0x8')](_0x366010('0x6'),_0x337bf2[_0x366010('0x4')],_0x424804),_0x46af0d(_0x6dcf20['error'](0x1f4,_0x337bf2[_0x366010('0x4')]));});});};
\ No newline at end of file
+const a617_0x14ad=['debug','body','create','CreateSquareDetailsReport','options','raw','message','info','SquareDetailsReport','error','catch','rpc','stringify','../../config/logger'];(function(_0x3e4b2a,_0x14ad13){const _0x55b50a=function(_0x115315){while(--_0x115315){_0x3e4b2a['push'](_0x3e4b2a['shift']());}};_0x55b50a(++_0x14ad13);}(a617_0x14ad,0x82));const a617_0x55b5=function(_0x3e4b2a,_0x14ad13){_0x3e4b2a=_0x3e4b2a-0x0;let _0x55b50a=a617_0x14ad[_0x3e4b2a];return _0x55b50a;};const _0xed8c29=a617_0x55b5;'use strict';const db=require('../../mysqldb')['db'],logger=require(_0xed8c29('0x9'))(_0xed8c29('0x7'));exports[_0xed8c29('0xd')]=function(_0x115315){const _0x52a183=this;return new Promise(function(_0x555c26,_0x1f65b0){const _0x1d83dc=a617_0x55b5;return db[_0x1d83dc('0x4')][_0x1d83dc('0xc')](_0x115315[_0x1d83dc('0xb')],{'raw':_0x115315[_0x1d83dc('0x0')]?_0x115315['options'][_0x1d83dc('0x1')]===undefined?!![]:![]:!![]})['then'](function(_0x17bade){const _0xcd9f15=_0x1d83dc;logger[_0xcd9f15('0x3')](_0xcd9f15('0xd'),_0x115315),logger[_0xcd9f15('0xa')](_0xcd9f15('0xd'),_0x115315,JSON[_0xcd9f15('0x8')](_0x17bade)),_0x555c26(_0x17bade);})[_0x1d83dc('0x6')](function(_0x1faea6){const _0x4f8331=_0x1d83dc;logger['error'](_0x4f8331('0xd'),_0x1faea6[_0x4f8331('0x2')],_0x115315),_0x1f65b0(_0x52a183[_0x4f8331('0x5')](0x1f4,_0x1faea6[_0x4f8331('0x2')]));});});};
\ No newline at end of file