Built motion from commit 10af8726.|2.6.34
[motion2.git] / server / api / openchannelTransferReport / openchannelTransferReport.rpc.js
index dafe4ea..29d6510 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xec39=['ioredis','../../mysqldb','../../config/logger','rpc','../../config/environment','request','then','info','OpenchannelTransferReport,\x20%s,\x20%s','request\x20sent','OpenchannelTransferReport,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','lodash','util','moment','bluebird','randomstring'];(function(_0x3ab51d,_0x2fa01d){var _0x29a04e=function(_0x7807b0){while(--_0x7807b0){_0x3ab51d['push'](_0x3ab51d['shift']());}};_0x29a04e(++_0x2fa01d);}(_0xec39,0x19f));var _0x9ec3=function(_0x4fdc92,_0x4456ab){_0x4fdc92=_0x4fdc92-0x0;var _0x1417d3=_0xec39[_0x4fdc92];return _0x1417d3;};'use strict';var _=require(_0x9ec3('0x0'));var util=require(_0x9ec3('0x1'));var moment=require(_0x9ec3('0x2'));var BPromise=require(_0x9ec3('0x3'));var rs=require(_0x9ec3('0x4'));var fs=require('fs');var Redis=require(_0x9ec3('0x5'));var db=require(_0x9ec3('0x6'))['db'];var utils=require('../../config/utils');var logger=require(_0x9ec3('0x7'))(_0x9ec3('0x8'));var config=require(_0x9ec3('0x9'));var jayson=require('jayson/promise');var client=jayson['client']['http']({'port':0x232a});function respondWithRpcPromise(_0x3742c5,_0x11c4d1,_0x29a6a2){return new BPromise(function(_0x595e3a,_0x570a91){return client[_0x9ec3('0xa')](_0x3742c5,_0x29a6a2)[_0x9ec3('0xb')](function(_0x2d0c30){logger[_0x9ec3('0xc')](_0x9ec3('0xd'),_0x11c4d1,_0x9ec3('0xe'));logger['debug'](_0x9ec3('0xf'),_0x11c4d1,_0x9ec3('0xe'),JSON[_0x9ec3('0x10')](_0x2d0c30));if(_0x2d0c30[_0x9ec3('0x11')]){if(_0x2d0c30[_0x9ec3('0x11')][_0x9ec3('0x12')]===0x1f4){logger[_0x9ec3('0x11')]('OpenchannelTransferReport,\x20%s,\x20%s',_0x11c4d1,_0x2d0c30[_0x9ec3('0x11')][_0x9ec3('0x13')]);return _0x570a91(_0x2d0c30[_0x9ec3('0x11')]['message']);}logger[_0x9ec3('0x11')]('OpenchannelTransferReport,\x20%s,\x20%s',_0x11c4d1,_0x2d0c30[_0x9ec3('0x11')][_0x9ec3('0x13')]);return _0x595e3a(_0x2d0c30[_0x9ec3('0x11')][_0x9ec3('0x13')]);}else{logger[_0x9ec3('0xc')](_0x9ec3('0xd'),_0x11c4d1,_0x9ec3('0xe'));_0x595e3a(_0x2d0c30[_0x9ec3('0x14')][_0x9ec3('0x13')]);}})['catch'](function(_0x39ca26){logger['error']('OpenchannelTransferReport,\x20%s,\x20%s',_0x11c4d1,_0x39ca26);_0x570a91(_0x39ca26);});});}
\ No newline at end of file
+var _0xb647=['request','OpenchannelTransferReport,\x20%s,\x20%s','OpenchannelTransferReport,\x20%s,\x20%s,\x20%s','request\x20sent','error','code','message','info','catch','lodash','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','rpc','jayson/promise','client','http'];(function(_0x1d49b5,_0x5b37a1){var _0x3baca5=function(_0x2ca8e0){while(--_0x2ca8e0){_0x1d49b5['push'](_0x1d49b5['shift']());}};_0x3baca5(++_0x5b37a1);}(_0xb647,0xdb));var _0x7b64=function(_0x4ab44c,_0xb8ba20){_0x4ab44c=_0x4ab44c-0x0;var _0x24c38f=_0xb647[_0x4ab44c];return _0x24c38f;};'use strict';var _=require(_0x7b64('0x0'));var util=require(_0x7b64('0x1'));var moment=require(_0x7b64('0x2'));var BPromise=require(_0x7b64('0x3'));var rs=require(_0x7b64('0x4'));var fs=require('fs');var Redis=require(_0x7b64('0x5'));var db=require(_0x7b64('0x6'))['db'];var utils=require(_0x7b64('0x7'));var logger=require('../../config/logger')(_0x7b64('0x8'));var config=require('../../config/environment');var jayson=require(_0x7b64('0x9'));var client=jayson[_0x7b64('0xa')][_0x7b64('0xb')]({'port':0x232a});function respondWithRpcPromise(_0x80721a,_0xcdec41,_0x22eca3){return new BPromise(function(_0x727684,_0x2ff650){return client[_0x7b64('0xc')](_0x80721a,_0x22eca3)['then'](function(_0x1b8b2a){logger['info'](_0x7b64('0xd'),_0xcdec41,'request\x20sent');logger['debug'](_0x7b64('0xe'),_0xcdec41,_0x7b64('0xf'),JSON['stringify'](_0x1b8b2a));if(_0x1b8b2a[_0x7b64('0x10')]){if(_0x1b8b2a[_0x7b64('0x10')][_0x7b64('0x11')]===0x1f4){logger[_0x7b64('0x10')](_0x7b64('0xd'),_0xcdec41,_0x1b8b2a[_0x7b64('0x10')][_0x7b64('0x12')]);return _0x2ff650(_0x1b8b2a['error'][_0x7b64('0x12')]);}logger['error']('OpenchannelTransferReport,\x20%s,\x20%s',_0xcdec41,_0x1b8b2a[_0x7b64('0x10')][_0x7b64('0x12')]);return _0x727684(_0x1b8b2a[_0x7b64('0x10')][_0x7b64('0x12')]);}else{logger[_0x7b64('0x13')](_0x7b64('0xd'),_0xcdec41,_0x7b64('0xf'));_0x727684(_0x1b8b2a['result'][_0x7b64('0x12')]);}})[_0x7b64('0x14')](function(_0x16ff72){logger[_0x7b64('0x10')](_0x7b64('0xd'),_0xcdec41,_0x16ff72);_0x2ff650(_0x16ff72);});});}
\ No newline at end of file