// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xe367=['then','info','JscriptyQuestionReport,\x20%s,\x20%s','request\x20sent','debug','JscriptyQuestionReport,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','lodash','util','moment','bluebird','randomstring','ioredis','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','request'];(function(_0x5acaa1,_0x1bf7bd){var _0x217fbf=function(_0x29f134){while(--_0x29f134){_0x5acaa1['push'](_0x5acaa1['shift']());}};_0x217fbf(++_0x1bf7bd);}(_0xe367,0x151));var _0x7e36=function(_0x46e363,_0x45d7e2){_0x46e363=_0x46e363-0x0;var _0x3fb059=_0xe367[_0x46e363];return _0x3fb059;};'use strict';var _=require(_0x7e36('0x0'));var util=require(_0x7e36('0x1'));var moment=require(_0x7e36('0x2'));var BPromise=require(_0x7e36('0x3'));var rs=require(_0x7e36('0x4'));var fs=require('fs');var Redis=require(_0x7e36('0x5'));var db=require('../../mysqldb')['db'];var utils=require(_0x7e36('0x6'));var logger=require(_0x7e36('0x7'))(_0x7e36('0x8'));var config=require(_0x7e36('0x9'));var jayson=require(_0x7e36('0xa'));var client=jayson[_0x7e36('0xb')]['http']({'port':0x232a});function respondWithRpcPromise(_0x348a5f,_0x5aa0dc,_0x50d3fe){return new BPromise(function(_0x58e95e,_0x1e4e96){return client[_0x7e36('0xc')](_0x348a5f,_0x50d3fe)[_0x7e36('0xd')](function(_0x1d707e){logger[_0x7e36('0xe')](_0x7e36('0xf'),_0x5aa0dc,_0x7e36('0x10'));logger[_0x7e36('0x11')](_0x7e36('0x12'),_0x5aa0dc,_0x7e36('0x10'),JSON[_0x7e36('0x13')](_0x1d707e));if(_0x1d707e[_0x7e36('0x14')]){if(_0x1d707e[_0x7e36('0x14')][_0x7e36('0x15')]===0x1f4){logger[_0x7e36('0x14')]('JscriptyQuestionReport,\x20%s,\x20%s',_0x5aa0dc,_0x1d707e[_0x7e36('0x14')]['message']);return _0x1e4e96(_0x1d707e[_0x7e36('0x14')][_0x7e36('0x16')]);}logger[_0x7e36('0x14')](_0x7e36('0xf'),_0x5aa0dc,_0x1d707e[_0x7e36('0x14')][_0x7e36('0x16')]);return _0x58e95e(_0x1d707e[_0x7e36('0x14')][_0x7e36('0x16')]);}else{logger['info'](_0x7e36('0xf'),_0x5aa0dc,'request\x20sent');_0x58e95e(_0x1d707e[_0x7e36('0x17')][_0x7e36('0x16')]);}})[_0x7e36('0x18')](function(_0x3741e4){logger['error'](_0x7e36('0xf'),_0x5aa0dc,_0x3741e4);_0x1e4e96(_0x3741e4);});});}
\ No newline at end of file
+var _0x74b8=['request','then','info','JscriptyQuestionReport,\x20%s,\x20%s','debug','JscriptyQuestionReport,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','message','result','catch','lodash','moment','bluebird','ioredis','../../mysqldb','../../config/logger','rpc','../../config/environment','http'];(function(_0x1aa200,_0x121cc2){var _0x1cca3a=function(_0x8df907){while(--_0x8df907){_0x1aa200['push'](_0x1aa200['shift']());}};_0x1cca3a(++_0x121cc2);}(_0x74b8,0x15c));var _0x874b=function(_0x43d11d,_0xccff91){_0x43d11d=_0x43d11d-0x0;var _0x38cd08=_0x74b8[_0x43d11d];return _0x38cd08;};'use strict';var _=require(_0x874b('0x0'));var util=require('util');var moment=require(_0x874b('0x1'));var BPromise=require(_0x874b('0x2'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x874b('0x3'));var db=require(_0x874b('0x4'))['db'];var utils=require('../../config/utils');var logger=require(_0x874b('0x5'))(_0x874b('0x6'));var config=require(_0x874b('0x7'));var jayson=require('jayson/promise');var client=jayson['client'][_0x874b('0x8')]({'port':0x232a});function respondWithRpcPromise(_0x40f9a0,_0x24a188,_0x134b27){return new BPromise(function(_0xc5409b,_0x4096df){return client[_0x874b('0x9')](_0x40f9a0,_0x134b27)[_0x874b('0xa')](function(_0x16661b){logger[_0x874b('0xb')](_0x874b('0xc'),_0x24a188,'request\x20sent');logger[_0x874b('0xd')](_0x874b('0xe'),_0x24a188,_0x874b('0xf'),JSON[_0x874b('0x10')](_0x16661b));if(_0x16661b[_0x874b('0x11')]){if(_0x16661b[_0x874b('0x11')]['code']===0x1f4){logger[_0x874b('0x11')](_0x874b('0xc'),_0x24a188,_0x16661b[_0x874b('0x11')][_0x874b('0x12')]);return _0x4096df(_0x16661b[_0x874b('0x11')][_0x874b('0x12')]);}logger[_0x874b('0x11')](_0x874b('0xc'),_0x24a188,_0x16661b['error'][_0x874b('0x12')]);return _0xc5409b(_0x16661b[_0x874b('0x11')][_0x874b('0x12')]);}else{logger[_0x874b('0xb')]('JscriptyQuestionReport,\x20%s,\x20%s',_0x24a188,_0x874b('0xf'));_0xc5409b(_0x16661b[_0x874b('0x13')][_0x874b('0x12')]);}})[_0x874b('0x14')](function(_0x3ebe46){logger[_0x874b('0x11')]('JscriptyQuestionReport,\x20%s,\x20%s',_0x24a188,_0x3ebe46);_0x4096df(_0x3ebe46);});});}
\ No newline at end of file