UNPKG

egg-minifapp

Version:

对接各种小程序之类app的sdk

1 lines 7.43 kB
'use strict';const a0_0x38facc=a0_0x28c8;(function(_0x292b3b,_0x2c7029){const _0x5d8447=a0_0x28c8,_0x51d622=_0x292b3b();while(!![]){try{const _0xc16846=parseInt(_0x5d8447(0x12d))/0x1*(-parseInt(_0x5d8447(0x110))/0x2)+-parseInt(_0x5d8447(0x121))/0x3+parseInt(_0x5d8447(0x114))/0x4+parseInt(_0x5d8447(0x111))/0x5*(-parseInt(_0x5d8447(0x119))/0x6)+-parseInt(_0x5d8447(0x11a))/0x7+parseInt(_0x5d8447(0x10a))/0x8*(-parseInt(_0x5d8447(0x101))/0x9)+-parseInt(_0x5d8447(0x11e))/0xa*(-parseInt(_0x5d8447(0x131))/0xb);if(_0xc16846===_0x2c7029)break;else _0x51d622['push'](_0x51d622['shift']());}catch(_0x263163){_0x51d622['push'](_0x51d622['shift']());}}}(a0_0xf703,0xad8fc));function a0_0x28c8(_0x3cb880,_0x42c490){const _0xf703c1=a0_0xf703();return a0_0x28c8=function(_0x28c8c5,_0x91a32b){_0x28c8c5=_0x28c8c5-0xfd;let _0x499232=_0xf703c1[_0x28c8c5];return _0x499232;},a0_0x28c8(_0x3cb880,_0x42c490);}var __createBinding=this&&this['__createBinding']||(Object['create']?function(_0x287e74,_0x39c9d0,_0x1b52bb,_0x534474){const _0x2a8703=a0_0x28c8;if(_0x534474===undefined)_0x534474=_0x1b52bb;var _0x3dbdfd=Object[_0x2a8703(0x12b)](_0x39c9d0,_0x1b52bb);(!_0x3dbdfd||('get'in _0x3dbdfd?!_0x39c9d0['__esModule']:_0x3dbdfd[_0x2a8703(0x10c)]||_0x3dbdfd[_0x2a8703(0x129)]))&&(_0x3dbdfd={'enumerable':!![],'get':function(){return _0x39c9d0[_0x1b52bb];}}),Object[_0x2a8703(0x100)](_0x287e74,_0x534474,_0x3dbdfd);}:function(_0xfd0b8,_0x38e9b3,_0x1dd391,_0x3488b1){if(_0x3488b1===undefined)_0x3488b1=_0x1dd391;_0xfd0b8[_0x3488b1]=_0x38e9b3[_0x1dd391];}),__exportStar=this&&this['__exportStar']||function(_0x3ea082,_0xd5db74){const _0xe59775=a0_0x28c8;for(var _0x39b4ac in _0x3ea082)if(_0x39b4ac!=='default'&&!Object['prototype'][_0xe59775(0x109)][_0xe59775(0x10f)](_0xd5db74,_0x39b4ac))__createBinding(_0xd5db74,_0x3ea082,_0x39b4ac);};Object[a0_0x38facc(0x100)](exports,a0_0x38facc(0x113),{'value':!![]}),exports[a0_0x38facc(0x11c)]=exports['createqqmini']=exports[a0_0x38facc(0x103)]=exports[a0_0x38facc(0x102)]=exports[a0_0x38facc(0x115)]=exports[a0_0x38facc(0x11f)]=exports[a0_0x38facc(0x118)]=exports[a0_0x38facc(0x120)]=exports[a0_0x38facc(0x125)]=void 0x0;const tik_tok_1=require(a0_0x38facc(0x112)),wxmini_1=require(a0_0x38facc(0xff)),qqmini_1=require('./src/qqmini'),alimini_1=require(a0_0x38facc(0x11b)),tik_tok_mini_1=require('./src/tik_tok_mini'),myauthentication_1=require('./src/myauthentication'),eggExtend_1=require(a0_0x38facc(0x105)),eggPro_1=require(a0_0x38facc(0x132)),AccountApiPool_1=require(a0_0x38facc(0x108)),allOfficalAccountApiPool={};__exportStar(require(a0_0x38facc(0xff)),exports),__exportStar(require(a0_0x38facc(0x134)),exports),__exportStar(require(a0_0x38facc(0x112)),exports),__exportStar(require(a0_0x38facc(0x12e)),exports),__exportStar(require(a0_0x38facc(0x12c)),exports),__exportStar(require('./src/eggExtend'),exports),__exportStar(require(a0_0x38facc(0x132)),exports);const createeggPro=()=>{const _0x50e978=a0_0x38facc;let _0x135a21=allOfficalAccountApiPool[_0x50e978(0x125)]||![];return!_0x135a21&&(_0x135a21=new eggPro_1['eggPro'](),allOfficalAccountApiPool[_0x50e978(0x125)]=_0x135a21),_0x135a21;};exports[a0_0x38facc(0x125)]=createeggPro;const createalimini=_0x41f8af=>{const _0x24e6d0=a0_0x38facc;let _0x5d9e0f=allOfficalAccountApiPool['alimini-'+_0x41f8af[_0x24e6d0(0x133)]]||![];return!_0x5d9e0f&&(_0x5d9e0f=new alimini_1[(_0x24e6d0(0x117))](_0x41f8af),allOfficalAccountApiPool['alimini-'+_0x41f8af['appid']]=_0x5d9e0f),_0x5d9e0f;};exports[a0_0x38facc(0x120)]=createalimini;const createeggExtend=()=>{const _0x1f4ab7=a0_0x38facc;let _0x646787=allOfficalAccountApiPool['eggExtend']||![];return!_0x646787&&(_0x646787=new eggExtend_1['eggExtend'](),allOfficalAccountApiPool[_0x1f4ab7(0xfe)]=_0x646787),_0x646787;};exports[a0_0x38facc(0x118)]=createeggExtend;const createmyauthentication=_0x59bb8b=>{const _0x2dd48f=a0_0x38facc;let _0x1a9451=allOfficalAccountApiPool[_0x2dd48f(0x107)]||![];!_0x1a9451&&_0x59bb8b&&(_0x1a9451=new myauthentication_1[(_0x2dd48f(0x107))](_0x59bb8b),allOfficalAccountApiPool[_0x2dd48f(0x107)]=_0x1a9451);if(!_0x1a9451)throw new Error(_0x2dd48f(0x116));return _0x1a9451;};function a0_0xf703(){const _0x150cc8=['tik-tok-','./src/eggExtend','name','myauthentication','./src/common/AccountApiPool','hasOwnProperty','1948456LWxSjP','qqmini-','writable','redis','egg_config_info','call','8Lsbhft','427580jHdnbX','./src/tik_tok','__esModule','763788AIUDVf','EggInit','系统错误!','alimini','createeggExtend','54MgPtNM','18375KmNAkp','./src/alimini','createtiktokmini','sequelize','10rAucTq','createmyauthentication','createalimini','1957884CNUMQi','client','wxmini','HOME','createeggPro','env','tiktokmini-','rundir','configurable','config','getOwnPropertyDescriptor','./src/myauthentication','250379iGezpr','./src/tik_tok_mini','eggkey','tik_tok_mini','35089241iJPVjC','./src/eggPro','appid','./src/qqmini','tik_tok','eggExtend','./src/wxmini','defineProperty','9RdalFw','createtiktok','createwxmini'];a0_0xf703=function(){return _0x150cc8;};return a0_0xf703();}exports[a0_0x38facc(0x11f)]=createmyauthentication;const EggInit=_0x476da4=>{const _0x10cae5=a0_0x38facc;let _0x51255d=allOfficalAccountApiPool['myauthentication']||![];if(!_0x51255d&&_0x476da4[_0x10cae5(0x12a)]['eggkey']){const _0x49b0d9={'env':_0x476da4[_0x10cae5(0x12a)][_0x10cae5(0x126)],'name':_0x476da4[_0x10cae5(0x106)],'baseDir':_0x476da4['baseDir'],'sequelize':_0x476da4[_0x10cae5(0x12a)][_0x10cae5(0x11d)],'redis':_0x476da4[_0x10cae5(0x12a)][_0x10cae5(0x10d)][_0x10cae5(0x122)],'HOME':_0x476da4[_0x10cae5(0x12a)][_0x10cae5(0x124)],'rundir':_0x476da4[_0x10cae5(0x12a)][_0x10cae5(0x128)],'eggkey':_0x476da4[_0x10cae5(0x12a)][_0x10cae5(0x12f)],'publicUrl':_0x476da4['config']['publicUrl']};_0x51255d=new myauthentication_1['myauthentication']({'appid':_0x476da4[_0x10cae5(0x12a)][_0x10cae5(0x12f)]}),(0x0,AccountApiPool_1['setCache'])(_0x10cae5(0x10e),_0x49b0d9),allOfficalAccountApiPool['myauthentication']=_0x51255d;}if(!_0x51255d)throw new Error(_0x10cae5(0x116));return _0x51255d;};exports[a0_0x38facc(0x115)]=EggInit;const createtiktok=_0x53fe5e=>{const _0x4fee89=a0_0x38facc;let _0x62c042=allOfficalAccountApiPool[_0x4fee89(0x104)+_0x53fe5e['appid']]||![];return!_0x62c042&&(_0x62c042=new tik_tok_1[(_0x4fee89(0xfd))](_0x53fe5e),allOfficalAccountApiPool[_0x4fee89(0x104)+_0x53fe5e[_0x4fee89(0x133)]]=_0x62c042),_0x62c042;};exports[a0_0x38facc(0x102)]=createtiktok;const createwxmini=_0x1fb5f4=>{const _0x9fc3d1=a0_0x38facc;let _0x54ed59=allOfficalAccountApiPool['wxmini-'+_0x1fb5f4[_0x9fc3d1(0x133)]]||![];return!_0x54ed59&&(_0x54ed59=new wxmini_1[(_0x9fc3d1(0x123))](_0x1fb5f4),allOfficalAccountApiPool['wxmini-'+_0x1fb5f4[_0x9fc3d1(0x133)]]=_0x54ed59),_0x54ed59;};exports['createwxmini']=createwxmini;const createqqmini=_0x4f3e9f=>{const _0x434bbf=a0_0x38facc;let _0x2c717e=allOfficalAccountApiPool['qqmini-'+_0x4f3e9f[_0x434bbf(0x133)]]||![];return!_0x2c717e&&(_0x2c717e=new qqmini_1['qqmini'](_0x4f3e9f),allOfficalAccountApiPool[_0x434bbf(0x10b)+_0x4f3e9f[_0x434bbf(0x133)]]=_0x2c717e),_0x2c717e;};exports['createqqmini']=createqqmini;const createtiktokmini=_0x4b0dd3=>{const _0x3cf560=a0_0x38facc;let _0x5a0fee=allOfficalAccountApiPool[_0x3cf560(0x127)+_0x4b0dd3[_0x3cf560(0x133)]]||![];return!_0x5a0fee&&(_0x5a0fee=new tik_tok_mini_1[(_0x3cf560(0x130))](_0x4b0dd3),allOfficalAccountApiPool[_0x3cf560(0x10b)+_0x4b0dd3[_0x3cf560(0x133)]]=_0x5a0fee),_0x5a0fee;};exports[a0_0x38facc(0x11c)]=createtiktokmini;