Built motion from commit 65070aa.|0.0.108
[motion.git] / server / api / report_mail / report_mail.controller.js
index fa6269c..919f20c 100644 (file)
@@ -1 +1 @@
-var _0xb822=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x6F\x6D\x65\x6E\x74","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x61\x63\x63\x65\x70\x74","\x2E","\x73\x70\x6C\x69\x74","\x75\x6E\x69\x71\x75\x65\x69\x64","\x70\x61\x72\x61\x6D\x73","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x43\x4C\x4F\x53\x45\x44","\x67\x65\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x73","\x75\x73\x65\x72","\x6D\x61\x69\x6C\x43\x61\x70\x61\x63\x69\x74\x79","\x72\x65\x6A\x65\x63\x74","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x66\x6F\x72\x6D\x61\x74"];_0xb822[0];var _=require(_0xb822[1]);var moment=require(_0xb822[2]);var ReportMail=require(_0xb822[4])[_0xb822[3]];var sequelize=require(_0xb822[4])[_0xb822[5]];var Agent=require(_0xb822[4])[_0xb822[6]];var Util=require(_0xb822[7]);exports[_0xb822[8]]=function(_0x9fd9x7,_0x9fd9x8,_0x9fd9x9){return ReportMail[_0xb822[15]](Util[_0xb822[14]](_0x9fd9x7[_0xb822[13]]))[_0xb822[12]](function(_0x9fd9xb){_0x9fd9x8[_0xb822[11]](200)[_0xb822[10]](_0x9fd9xb)})[_0xb822[9]](function(_0x9fd9xa){return handleError(_0x9fd9x8,_0x9fd9xa)})};exports[_0xb822[16]]=function(_0x9fd9x7,_0x9fd9x8){var _0x9fd9xc;var _0x9fd9xd=_0x9fd9x7[_0xb822[20]][_0xb822[19]][_0xb822[18]](_0xb822[17])[1];return Agent[_0xb822[25]](_0x9fd9x7[_0xb822[28]][_0xb822[24]],{attributes:[_0xb822[24],_0xb822[29]]})[_0xb822[12]](function(_0x9fd9x11){_0x9fd9xc=_0x9fd9x11;return _0x9fd9x11[_0xb822[27]]({where:{status:{$ne:_0xb822[26]},id:{$ne:_0x9fd9xd}},attributes:[_0xb822[24]]})})[_0xb822[12]](function(_0x9fd9x10){return ReportMail[_0xb822[25]](_0x9fd9x7[_0xb822[20]][_0xb822[24]])})[_0xb822[12]](function(_0x9fd9xe){if(!_0x9fd9xe){return _0x9fd9x8[_0xb822[21]](404)};var _0x9fd9xf=_[_0xb822[22]](_0x9fd9xe,{connectid:_0x9fd9x7[_0xb822[20]][_0xb822[19]]});return _0x9fd9xf[_0xb822[23]]()})[_0xb822[12]](function(){return _0x9fd9x8[_0xb822[21]](200)})[_0xb822[9]](function(_0x9fd9xa){return handleError(_0x9fd9x8,_0x9fd9xa)})};exports[_0xb822[30]]=function(_0x9fd9x7,_0x9fd9x8){return ReportMail[_0xb822[25]](_0x9fd9x7[_0xb822[20]][_0xb822[24]])[_0xb822[12]](function(_0x9fd9xe){if(!_0x9fd9xe){return _0x9fd9x8[_0xb822[21]](404)};var _0x9fd9xf=_[_0xb822[22]](_0x9fd9xe,{rejectedAt:moment()[_0xb822[32]](_0xb822[31])});return _0x9fd9xf[_0xb822[23]]()})[_0xb822[12]](function(){return _0x9fd9x8[_0xb822[21]](200)})[_0xb822[9]](function(_0x9fd9xa){return handleError(_0x9fd9x8,_0x9fd9xa)})};function handleError(_0x9fd9x8,_0x9fd9xa){return _0x9fd9x8[_0xb822[11]](500)[_0xb822[10]](_0x9fd9xa)}
\ No newline at end of file
+var _0x39af=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x6F\x6D\x65\x6E\x74","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x61\x63\x63\x65\x70\x74","\x2E","\x73\x70\x6C\x69\x74","\x75\x6E\x69\x71\x75\x65\x69\x64","\x70\x61\x72\x61\x6D\x73","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x4F\x50\x45\x4E","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x72\x65\x6A\x65\x63\x74","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x66\x6F\x72\x6D\x61\x74"];_0x39af[0];var _=require(_0x39af[1]);var moment=require(_0x39af[2]);var ReportMail=require(_0x39af[4])[_0x39af[3]];var MailRoom=require(_0x39af[4])[_0x39af[5]];var sequelize=require(_0x39af[4])[_0x39af[6]];var Agent=require(_0x39af[4])[_0x39af[7]];var Util=require(_0x39af[8]);exports[_0x39af[9]]=function(_0xc77ex8,_0xc77ex9,_0xc77exa){return ReportMail[_0x39af[16]](Util[_0x39af[15]](_0xc77ex8[_0x39af[14]]))[_0x39af[13]](function(_0xc77exc){_0xc77ex9[_0x39af[12]](200)[_0x39af[11]](_0xc77exc)})[_0x39af[10]](function(_0xc77exb){return handleError(_0xc77ex9,_0xc77exb)})};exports[_0x39af[17]]=function(_0xc77ex8,_0xc77ex9){var _0xc77exd;var _0xc77exe=_0xc77ex8[_0x39af[21]][_0x39af[20]][_0x39af[19]](_0x39af[18])[1];return ReportMail[_0x39af[28]](_0xc77ex8[_0x39af[21]][_0x39af[27]])[_0x39af[13]](function(_0xc77exf){if(!_0xc77exf){return _0xc77ex9[_0x39af[22]](404)};var _0xc77ex10=_[_0x39af[25]](_0xc77exf,{connectid:_0xc77ex8[_0x39af[21]][_0x39af[20]]});return _0xc77ex10[_0x39af[26]]()})[_0x39af[13]](function(){return MailRoom[_0x39af[24]]({status:_0x39af[23]},{where:{id:_0xc77exe}})})[_0x39af[13]](function(){return _0xc77ex9[_0x39af[22]](200)})[_0x39af[10]](sequelize.UniqueConstraintError,function(_0xc77exb){return _0xc77ex9[_0x39af[22]](504)})[_0x39af[10]](function(_0xc77exb){return handleError(_0xc77ex9,_0xc77exb)})};exports[_0x39af[29]]=function(_0xc77ex8,_0xc77ex9){return ReportMail[_0x39af[28]](_0xc77ex8[_0x39af[21]][_0x39af[27]])[_0x39af[13]](function(_0xc77exf){if(!_0xc77exf){return _0xc77ex9[_0x39af[22]](404)};var _0xc77ex10=_[_0x39af[25]](_0xc77exf,{rejectedAt:moment()[_0x39af[31]](_0x39af[30])});return _0xc77ex10[_0x39af[26]]()})[_0x39af[13]](function(){return _0xc77ex9[_0x39af[22]](200)})[_0x39af[10]](function(_0xc77exb){return handleError(_0xc77ex9,_0xc77exb)})};function handleError(_0xc77ex9,_0xc77exb){return _0xc77ex9[_0x39af[12]](500)[_0x39af[11]](_0xc77exb)}
\ No newline at end of file