Built motion from commit (unavailable).|2.4.5
[motion2.git] / server / api / jscriptyQuestionReport / jscriptyQuestionReport.rpc.js
index ddd2eda..1a3b5b9 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa261=['request\x20sent','catch','lodash','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/logger','rpc','../../config/environment','jayson/promise','client','request','info','JscriptyQuestionReport,\x20%s,\x20%s,\x20%s','stringify','error','code','JscriptyQuestionReport,\x20%s,\x20%s','message'];(function(_0x2f0366,_0x10885f){var _0x5e1c27=function(_0x3495c0){while(--_0x3495c0){_0x2f0366['push'](_0x2f0366['shift']());}};_0x5e1c27(++_0x10885f);}(_0xa261,0x167));var _0x1a26=function(_0x2768d2,_0x37015e){_0x2768d2=_0x2768d2-0x0;var _0x458f3f=_0xa261[_0x2768d2];return _0x458f3f;};'use strict';var _=require(_0x1a26('0x0'));var util=require('util');var moment=require(_0x1a26('0x1'));var BPromise=require(_0x1a26('0x2'));var rs=require(_0x1a26('0x3'));var fs=require('fs');var Redis=require(_0x1a26('0x4'));var db=require(_0x1a26('0x5'))['db'];var utils=require('../../config/utils');var logger=require(_0x1a26('0x6'))(_0x1a26('0x7'));var config=require(_0x1a26('0x8'));var jayson=require(_0x1a26('0x9'));var client=jayson[_0x1a26('0xa')]['http']({'port':0x232a});function respondWithRpcPromise(_0x220105,_0x2cde4,_0x4dee0c){return new BPromise(function(_0x306d3e,_0x372771){return client[_0x1a26('0xb')](_0x220105,_0x4dee0c)['then'](function(_0x5e5b2b){logger[_0x1a26('0xc')]('JscriptyQuestionReport,\x20%s,\x20%s',_0x2cde4,'request\x20sent');logger['debug'](_0x1a26('0xd'),_0x2cde4,'request\x20sent',JSON[_0x1a26('0xe')](_0x5e5b2b));if(_0x5e5b2b[_0x1a26('0xf')]){if(_0x5e5b2b[_0x1a26('0xf')][_0x1a26('0x10')]===0x1f4){logger[_0x1a26('0xf')](_0x1a26('0x11'),_0x2cde4,_0x5e5b2b[_0x1a26('0xf')][_0x1a26('0x12')]);return _0x372771(_0x5e5b2b[_0x1a26('0xf')][_0x1a26('0x12')]);}logger[_0x1a26('0xf')](_0x1a26('0x11'),_0x2cde4,_0x5e5b2b[_0x1a26('0xf')][_0x1a26('0x12')]);return _0x306d3e(_0x5e5b2b['error'][_0x1a26('0x12')]);}else{logger[_0x1a26('0xc')](_0x1a26('0x11'),_0x2cde4,_0x1a26('0x13'));_0x306d3e(_0x5e5b2b['result'][_0x1a26('0x12')]);}})[_0x1a26('0x14')](function(_0x455671){logger[_0x1a26('0xf')]('JscriptyQuestionReport,\x20%s,\x20%s',_0x2cde4,_0x455671);_0x372771(_0x455671);});});}
\ No newline at end of file
+var _0xfc4c=['rpc','../../config/environment','jayson/promise','client','request','then','info','request\x20sent','debug','JscriptyQuestionReport,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','JscriptyQuestionReport,\x20%s,\x20%s','lodash','util','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger'];(function(_0x4a9801,_0x548afb){var _0x2b089a=function(_0x4b4074){while(--_0x4b4074){_0x4a9801['push'](_0x4a9801['shift']());}};_0x2b089a(++_0x548afb);}(_0xfc4c,0x88));var _0xcfc4=function(_0x1805c6,_0x5edf9d){_0x1805c6=_0x1805c6-0x0;var _0x1e17cd=_0xfc4c[_0x1805c6];return _0x1e17cd;};'use strict';var _=require(_0xcfc4('0x0'));var util=require(_0xcfc4('0x1'));var moment=require('moment');var BPromise=require(_0xcfc4('0x2'));var rs=require(_0xcfc4('0x3'));var fs=require('fs');var Redis=require(_0xcfc4('0x4'));var db=require(_0xcfc4('0x5'))['db'];var utils=require(_0xcfc4('0x6'));var logger=require(_0xcfc4('0x7'))(_0xcfc4('0x8'));var config=require(_0xcfc4('0x9'));var jayson=require(_0xcfc4('0xa'));var client=jayson[_0xcfc4('0xb')]['http']({'port':0x232a});function respondWithRpcPromise(_0x38bc5b,_0x4550c1,_0x30a1db){return new BPromise(function(_0x245edc,_0x59e706){return client[_0xcfc4('0xc')](_0x38bc5b,_0x30a1db)[_0xcfc4('0xd')](function(_0x26edbf){logger[_0xcfc4('0xe')]('JscriptyQuestionReport,\x20%s,\x20%s',_0x4550c1,_0xcfc4('0xf'));logger[_0xcfc4('0x10')](_0xcfc4('0x11'),_0x4550c1,_0xcfc4('0xf'),JSON[_0xcfc4('0x12')](_0x26edbf));if(_0x26edbf[_0xcfc4('0x13')]){if(_0x26edbf[_0xcfc4('0x13')][_0xcfc4('0x14')]===0x1f4){logger[_0xcfc4('0x13')]('JscriptyQuestionReport,\x20%s,\x20%s',_0x4550c1,_0x26edbf[_0xcfc4('0x13')][_0xcfc4('0x15')]);return _0x59e706(_0x26edbf[_0xcfc4('0x13')][_0xcfc4('0x15')]);}logger[_0xcfc4('0x13')]('JscriptyQuestionReport,\x20%s,\x20%s',_0x4550c1,_0x26edbf[_0xcfc4('0x13')][_0xcfc4('0x15')]);return _0x245edc(_0x26edbf[_0xcfc4('0x13')][_0xcfc4('0x15')]);}else{logger[_0xcfc4('0xe')]('JscriptyQuestionReport,\x20%s,\x20%s',_0x4550c1,_0xcfc4('0xf'));_0x245edc(_0x26edbf[_0xcfc4('0x16')][_0xcfc4('0x15')]);}})['catch'](function(_0x57ee82){logger[_0xcfc4('0x13')](_0xcfc4('0x17'),_0x4550c1,_0x57ee82);_0x59e706(_0x57ee82);});});}
\ No newline at end of file