Built motion from commit f651e4b0a7312c0adceb5e57d6684a801a3aaf0d. Version 3.0.0...
[motion-next.git] / server / api / cmHopperFinal / cmHopperFinal.rpc.js
index 56d5da7..080aeda 100644 (file)
@@ -1 +1 @@
-const a149_0x3a94=['raw','message','error','info','then','catch','debug','rpc','CmHopperFinal','stringify','create','CreateCmHopperFinal','options','../../config/logger'];(function(_0x3f35be,_0x3a94fc){const _0x1aff72=function(_0x59b3d6){while(--_0x59b3d6){_0x3f35be['push'](_0x3f35be['shift']());}};_0x1aff72(++_0x3a94fc);}(a149_0x3a94,0x9f));const a149_0x1aff=function(_0x3f35be,_0x3a94fc){_0x3f35be=_0x3f35be-0x0;let _0x1aff72=a149_0x3a94[_0x3f35be];return _0x1aff72;};const _0x500194=a149_0x1aff;'use strict';const db=require('../../mysqldb')['db'],logger=require(_0x500194('0x8'))(_0x500194('0x2'));exports['CreateCmHopperFinal']=function(_0x59b3d6){const _0x5c4f11=this;return new Promise(function(_0x29b056,_0x210650){const _0x475d87=a149_0x1aff;return db[_0x475d87('0x3')][_0x475d87('0x5')](_0x59b3d6['body'],{'raw':_0x59b3d6[_0x475d87('0x7')]?_0x59b3d6['options'][_0x475d87('0x9')]===undefined?!![]:![]:!![]})[_0x475d87('0xd')](function(_0xb5a400){const _0x39d85a=_0x475d87;logger[_0x39d85a('0xc')](_0x39d85a('0x6'),_0x59b3d6),logger[_0x39d85a('0x1')]('CreateCmHopperFinal',_0x59b3d6,JSON[_0x39d85a('0x4')](_0xb5a400)),_0x29b056(_0xb5a400);})[_0x475d87('0x0')](function(_0x58a3c2){const _0x3998fc=_0x475d87;logger[_0x3998fc('0xb')]('CreateCmHopperFinal',_0x58a3c2[_0x3998fc('0xa')],_0x59b3d6),_0x210650(_0x5c4f11[_0x3998fc('0xb')](0x1f4,_0x58a3c2[_0x3998fc('0xa')]));});});};
\ No newline at end of file
+const a149_0x517b=['catch','stringify','raw','CmHopperFinal','rpc','options','message','error','body','../../mysqldb','create','CreateCmHopperFinal'];(function(_0x13a573,_0x517b7b){const _0x2058e0=function(_0x26b732){while(--_0x26b732){_0x13a573['push'](_0x13a573['shift']());}};_0x2058e0(++_0x517b7b);}(a149_0x517b,0xf0));const a149_0x2058=function(_0x13a573,_0x517b7b){_0x13a573=_0x13a573-0x0;let _0x2058e0=a149_0x517b[_0x13a573];return _0x2058e0;};const _0xdc8340=a149_0x2058;'use strict';const db=require(_0xdc8340('0x9'))['db'],logger=require('../../config/logger')(_0xdc8340('0x4'));exports[_0xdc8340('0xb')]=function(_0x26b732){const _0x34e94f=this;return new Promise(function(_0xbb24e,_0x3e3ddc){const _0x8ffaf1=a149_0x2058;return db[_0x8ffaf1('0x3')][_0x8ffaf1('0xa')](_0x26b732[_0x8ffaf1('0x8')],{'raw':_0x26b732[_0x8ffaf1('0x5')]?_0x26b732['options'][_0x8ffaf1('0x2')]===undefined?!![]:![]:!![]})['then'](function(_0x42dcae){const _0x416f00=_0x8ffaf1;logger['info']('CreateCmHopperFinal',_0x26b732),logger['debug']('CreateCmHopperFinal',_0x26b732,JSON[_0x416f00('0x1')](_0x42dcae)),_0xbb24e(_0x42dcae);})[_0x8ffaf1('0x0')](function(_0x23ef8a){const _0x63ee02=_0x8ffaf1;logger[_0x63ee02('0x7')](_0x63ee02('0xb'),_0x23ef8a['message'],_0x26b732),_0x3e3ddc(_0x34e94f[_0x63ee02('0x7')](0x1f4,_0x23ef8a[_0x63ee02('0x6')]));});});};
\ No newline at end of file