123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747 |
- {
- "config": {
- "session": {
- "maxAge": 86400000,
- "key": "SZJKJSESSION",
- "httpOnly": true,
- "encrypt": true,
- "logValue": true,
- "overwrite": true,
- "renew": true,
- "signed": true
- },
- "security": {
- "domainWhiteList": [],
- "protocolWhiteList": [],
- "defaultMiddleware": "csrf,hsts,methodnoallow,noopen,nosniff,csp,xssProtection,xframe,dta",
- "csrf": {
- "enable": false,
- "type": "ctoken",
- "ignoreJSON": false,
- "useSession": false,
- "cookieName": "csrfToken",
- "sessionName": "csrfToken",
- "headerName": "x-csrf-token",
- "bodyName": "szjkj_token",
- "queryName": "szjkj_token",
- "supportedRequests": [
- {
- "path": {},
- "methods": [
- "POST",
- "PATCH",
- "DELETE",
- "PUT",
- "CONNECT"
- ]
- }
- ],
- "refererWhiteList": []
- },
- "xframe": {
- "enable": true,
- "value": "SAMEORIGIN"
- },
- "hsts": {
- "enable": false,
- "maxAge": 31536000,
- "includeSubdomains": false
- },
- "dta": {
- "enable": true
- },
- "methodnoallow": {
- "enable": true
- },
- "noopen": {
- "enable": true
- },
- "nosniff": {
- "enable": true
- },
- "referrerPolicy": {
- "enable": false,
- "value": "no-referrer-when-downgrade"
- },
- "xssProtection": {
- "enable": true,
- "value": "1; mode=block"
- },
- "csp": {
- "enable": false,
- "policy": {}
- },
- "ssrf": {
- "ipBlackList": null,
- "ipExceptionList": null,
- "checkAddress": null
- },
- "_protocolWhiteListSet": "<Set>"
- },
- "helper": {
- "shtml": {}
- },
- "jsonp": {
- "limit": 50,
- "callback": [
- "_callback",
- "callback"
- ],
- "csrf": false
- },
- "onerror": {
- "errorPageUrl": "",
- "appErrorFilter": null,
- "templatePath": "D:\\ysjjCode\\shop-system\\node_modules\\egg-onerror\\lib\\onerror_page.mustache",
- "all": "<Function all>"
- },
- "i18n": {
- "defaultLocale": "en_US",
- "dirs": [],
- "queryField": "locale",
- "cookieField": "locale",
- "cookieDomain": "",
- "cookieMaxAge": "1y"
- },
- "watcher": {
- "type": "development",
- "eventSources": {
- "default": "D:\\ysjjCode\\shop-system\\node_modules\\egg-watcher\\lib\\event-sources\\default",
- "development": "D:\\ysjjCode\\shop-system\\node_modules\\egg-watcher\\lib\\event-sources\\development"
- }
- },
- "customLogger": {
- "scheduleLogger": {
- "consoleLevel": "NONE",
- "file": "egg-schedule.log"
- }
- },
- "schedule": {
- "directory": []
- },
- "multipart": {
- "mode": "stream",
- "autoFields": true,
- "defaultCharset": "utf8",
- "fieldNameSize": 100,
- "fieldSize": "100kb",
- "fields": 10,
- "fileSize": "50mb",
- "files": 10,
- "fileExtensions": [],
- "whitelist": [
- ".png",
- ".jpeg",
- ".jpg",
- ".bmp",
- ".mp4",
- ".mp3",
- ".wmv"
- ],
- "allowArrayField": false,
- "tmpdir": "D:\\ysjjCode\\shop-system\\runtime\\egg-multipart-tmp\\szjkj",
- "cleanSchedule": {
- "cron": "0 30 4 * * *",
- "disable": false
- }
- },
- "development": {
- "watchDirs": [],
- "ignoreDirs": [],
- "fastReady": false,
- "reloadOnDebug": true,
- "overrideDefault": false,
- "overrideIgnore": false
- },
- "logrotator": {
- "filesRotateByHour": null,
- "hourDelimiter": "-",
- "filesRotateBySize": null,
- "maxFileSize": 52428800,
- "maxFiles": 10,
- "rotateDuration": 60000,
- "maxDays": 31
- },
- "static": {
- "prefix": "/",
- "dir": "D:\\ysjjCode\\shop-system\\app\\public",
- "dynamic": true,
- "preload": false,
- "buffer": false,
- "maxFiles": 1000,
- "maxAge": 0
- },
- "view": {
- "root": "D:\\ysjjCode\\shop-system\\app\\view",
- "cache": false,
- "defaultExtension": ".html",
- "defaultViewEngine": "",
- "mapping": {}
- },
- "cors": {
- "origin": "*",
- "allowMethods": "GET,HEAD,PUT,POST,DELETE,OPTIONS"
- },
- "eggSzjcomoValidate": {},
- "szjcomo": {},
- "sequelize": {
- "dialect": "mysql",
- "database": "ysshop",
- "host": "112.74.21.142",
- "port": 3306,
- "username": "ysshop",
- "password": "<String len: 10>",
- "delegate": "model",
- "baseDir": "models/mysql",
- "pool": {
- "max": 30,
- "min": 5,
- "acquire": 60000,
- "idle": 10000
- },
- "logging": false,
- "timezone": "+08:00",
- "charset": "utf8",
- "dialectOptions": {
- "dateStrings": true,
- "typeCast": true
- },
- "define": {
- "freezeTableName": true,
- "timestamps": false
- }
- },
- "redis": {
- "default": {},
- "app": true,
- "agent": false,
- "supportTimeCommand": true,
- "client": {
- "port": 8521,
- "host": "112.74.21.142",
- "password": "<String len: 7>",
- "db": 8
- }
- },
- "bean": {},
- "jwt": {
- "secret": "<String len: 15>",
- "enable": false
- },
- "dxw": {
- "accesskey": "xxxx",
- "secret": "<String len: 4>",
- "sign": "xxx"
- },
- "env": "local",
- "name": "egg-universal-szjcomo",
- "keys": "<String len: 33>",
- "cookies": {},
- "proxy": false,
- "maxIpsCount": 0,
- "maxProxyCount": 0,
- "protocolHeaders": "x-forwarded-proto",
- "ipHeaders": "x-forwarded-for",
- "hostHeaders": "",
- "pkg": {
- "name": "egg-universal-szjcomo",
- "version": "1.0.2",
- "description": "基于egg.js的快速开发框架",
- "private": true,
- "egg": {
- "declarations": true
- },
- "dependencies": {
- "await-stream-ready": "^1.0.1",
- "decimal.js": "^10.4.3",
- "egg": "^2.15.1",
- "egg-cors": "^2.2.3",
- "egg-jwt": "^3.1.7",
- "egg-redis": "^2.4.0",
- "egg-router-plus": "^1.3.1",
- "egg-scripts": "^2.11.0",
- "egg-sequelize": "^5.2.2",
- "egg-szjcomo-bean": "^1.0.1",
- "egg-szjcomo-dxw": "^1.0.2",
- "egg-szjcomo-utils": "^1.0.9",
- "egg-szjcomo-validate": "^1.0.3",
- "mysql2": "^2.1.0",
- "stream-wormhole": "^1.1.0",
- "svg-captcha": "^1.4.0",
- "wechatpay-node-v3": "^2.1.0"
- },
- "devDependencies": {
- "autod": "^3.0.1",
- "autod-egg": "^1.1.0",
- "egg-bin": "^4.11.0",
- "egg-ci": "^1.11.0",
- "egg-mock": "^3.21.0",
- "eslint": "^5.13.0",
- "eslint-config-egg": "^7.1.0"
- },
- "engines": {
- "node": ">=10.0.0"
- },
- "scripts": {
- "start": "export APP_CUSTOME=oneshop&& egg-scripts start --daemon --title=egg-oneshop-szjcomo --ignore-stderr --workers=1",
- "stop": "export APP_CUSTOME=oneshop&& egg-scripts stop --title=egg-oneshop-szjcomo --workers=1",
- "dev": "set APP_CUSTOME=oneshop&& egg-bin dev",
- "debug": "egg-bin debug",
- "test": "npm run lint -- --fix && npm run test-local",
- "test-local": "egg-bin test",
- "cov": "egg-bin cov",
- "lint": "eslint .",
- "ci": "npm run lint && npm run cov",
- "autod": "autod",
- "model": "egg-sequelize-auto -o app/models/mysql -c auto_model.json -t szj_product_comment",
- "bak": "sequelize-automate -c auto_model.json"
- },
- "ci": {
- "version": "10"
- },
- "repository": {
- "type": "git",
- "url": ""
- },
- "author": "szjcomo",
- "license": "MIT"
- },
- "baseDir": "D:\\ysjjCode\\shop-system",
- "HOME": "C:\\Users\\lawsu",
- "rundir": "D:\\ysjjCode\\shop-system\\runtime\\run",
- "dump": {
- "ignore": "<Set>"
- },
- "confusedConfigurations": {
- "bodyparser": "bodyParser",
- "notFound": "notfound",
- "sitefile": "siteFile",
- "middlewares": "middleware",
- "httpClient": "httpclient"
- },
- "notfound": {
- "pageUrl": ""
- },
- "siteFile": {
- "/favicon.ico": "https://eggjs.org/favicon.ico",
- "cacheControl": "public, max-age=2592000"
- },
- "bodyParser": {
- "enable": true,
- "encoding": "utf8",
- "formLimit": "10mb",
- "jsonLimit": "10mb",
- "textLimit": "2mb",
- "strict": true,
- "queryString": {
- "arrayLimit": 100,
- "depth": 5,
- "parameterLimit": 1000
- },
- "onerror": "<Function onerror>",
- "enableTypes": [
- "json",
- "form",
- "text"
- ],
- "extendTypes": {
- "text": [
- "text/xml",
- "application/xml"
- ]
- }
- },
- "logger": {
- "dir": "D:\\ysjjCode\\shop-system/runtime/logs/",
- "encoding": "utf8",
- "env": "local",
- "level": "ERROR",
- "consoleLevel": "ERROR",
- "disableConsoleAfterReady": false,
- "outputJSON": false,
- "buffer": true,
- "appLogName": "egg-universal-szjcomo-egg-access.log",
- "coreLogName": "egg-universal-szjcomo-egg-core.log",
- "agentLogName": "egg-universal-szjcomo-egg-agent.log",
- "errorLogName": "egg-universal-szjcomo-egg-error.log",
- "coreLogger": {
- "consoleLevel": "WARN"
- },
- "allowDebugAtProd": false,
- "enablePerformanceTimer": false,
- "type": "agent"
- },
- "httpclient": {
- "enableDNSCache": false,
- "dnsCacheLookupInterval": 10000,
- "dnsCacheMaxLength": 1000,
- "request": {
- "timeout": 5000
- },
- "httpAgent": {
- "keepAlive": true,
- "freeSocketTimeout": 4000,
- "maxSockets": 9007199254740991,
- "maxFreeSockets": 256
- },
- "httpsAgent": {
- "keepAlive": true,
- "freeSocketTimeout": 4000,
- "maxSockets": 9007199254740991,
- "maxFreeSockets": 256
- }
- },
- "meta": {
- "enable": true,
- "logging": false
- },
- "coreMiddleware": [
- "meta",
- "siteFile",
- "notfound",
- "bodyParser",
- "overrideMethod"
- ],
- "workerStartTimeout": 600000,
- "serverTimeout": null,
- "cluster": {
- "listen": {
- "path": "",
- "port": 8106,
- "hostname": ""
- }
- },
- "clusterClient": {
- "maxWaitTime": 60000,
- "responseTimeout": 60000
- },
- "onClientError": null,
- "middleware": [
- "notfoundHandler"
- ],
- "coreMiddlewares": "~config~coreMiddleware",
- "appMiddlewares": "~config~middleware",
- "appMiddleware": "~config~middleware"
- },
- "plugins": {
- "onerror": {
- "enable": true,
- "package": "egg-onerror",
- "name": "onerror",
- "dependencies": [],
- "optionalDependencies": [
- "jsonp"
- ],
- "env": [],
- "from": "D:\\ysjjCode\\shop-system\\node_modules\\egg\\config\\plugin.js",
- "path": "D:\\ysjjCode\\shop-system\\node_modules\\egg-onerror",
- "version": "2.1.1"
- },
- "session": {
- "enable": true,
- "package": "egg-session",
- "name": "session",
- "dependencies": [],
- "optionalDependencies": [],
- "env": [],
- "from": "D:\\ysjjCode\\shop-system\\node_modules\\egg\\config\\plugin.js",
- "path": "D:\\ysjjCode\\shop-system\\node_modules\\egg-session",
- "version": "3.3.0"
- },
- "i18n": {
- "enable": true,
- "package": "egg-i18n",
- "name": "i18n",
- "dependencies": [],
- "optionalDependencies": [],
- "env": [],
- "from": "D:\\ysjjCode\\shop-system\\node_modules\\egg\\config\\plugin.js",
- "path": "D:\\ysjjCode\\shop-system\\node_modules\\egg-i18n",
- "version": "2.1.1"
- },
- "watcher": {
- "enable": true,
- "package": "egg-watcher",
- "name": "watcher",
- "dependencies": [],
- "optionalDependencies": [],
- "env": [],
- "from": "D:\\ysjjCode\\shop-system\\node_modules\\egg\\config\\plugin.js",
- "path": "D:\\ysjjCode\\shop-system\\node_modules\\egg-watcher",
- "version": "3.1.1"
- },
- "multipart": {
- "enable": true,
- "package": "egg-multipart",
- "name": "multipart",
- "dependencies": [],
- "optionalDependencies": [
- "schedule"
- ],
- "env": [],
- "from": "D:\\ysjjCode\\shop-system\\node_modules\\egg\\config\\plugin.js",
- "path": "D:\\ysjjCode\\shop-system\\node_modules\\egg-multipart",
- "version": "2.13.1"
- },
- "security": {
- "enable": true,
- "package": "egg-security",
- "name": "security",
- "dependencies": [],
- "optionalDependencies": [
- "session"
- ],
- "env": [],
- "from": "D:\\ysjjCode\\shop-system\\node_modules\\egg\\config\\plugin.js",
- "path": "D:\\ysjjCode\\shop-system\\node_modules\\egg-security",
- "version": "2.11.0"
- },
- "development": {
- "enable": true,
- "package": "egg-development",
- "name": "development",
- "dependencies": [
- "watcher"
- ],
- "optionalDependencies": [],
- "env": [
- "local"
- ],
- "from": "D:\\ysjjCode\\shop-system\\node_modules\\egg\\config\\plugin.js",
- "path": "D:\\ysjjCode\\shop-system\\node_modules\\egg-development",
- "version": "2.7.0"
- },
- "logrotator": {
- "enable": true,
- "package": "egg-logrotator",
- "name": "logrotator",
- "dependencies": [
- "schedule"
- ],
- "optionalDependencies": [],
- "env": [],
- "from": "D:\\ysjjCode\\shop-system\\node_modules\\egg\\config\\plugin.js",
- "path": "D:\\ysjjCode\\shop-system\\node_modules\\egg-logrotator",
- "version": "3.1.0"
- },
- "schedule": {
- "enable": true,
- "package": "egg-schedule",
- "name": "schedule",
- "dependencies": [],
- "optionalDependencies": [],
- "env": [],
- "from": "D:\\ysjjCode\\shop-system\\node_modules\\egg\\config\\plugin.js",
- "path": "D:\\ysjjCode\\shop-system\\node_modules\\egg-schedule",
- "version": "3.6.6"
- },
- "static": {
- "enable": true,
- "package": "egg-static",
- "name": "static",
- "dependencies": [],
- "optionalDependencies": [],
- "env": [],
- "from": "D:\\ysjjCode\\shop-system\\node_modules\\egg\\config\\plugin.js",
- "path": "D:\\ysjjCode\\shop-system\\node_modules\\egg-static",
- "version": "2.2.0"
- },
- "jsonp": {
- "enable": true,
- "package": "egg-jsonp",
- "name": "jsonp",
- "dependencies": [],
- "optionalDependencies": [
- "security"
- ],
- "env": [],
- "from": "D:\\ysjjCode\\shop-system\\node_modules\\egg\\config\\plugin.js",
- "path": "D:\\ysjjCode\\shop-system\\node_modules\\egg-jsonp",
- "version": "2.0.0"
- },
- "view": {
- "enable": true,
- "package": "egg-view",
- "name": "view",
- "dependencies": [],
- "optionalDependencies": [],
- "env": [],
- "from": "D:\\ysjjCode\\shop-system\\node_modules\\egg\\config\\plugin.js",
- "path": "D:\\ysjjCode\\shop-system\\node_modules\\egg-view",
- "version": "2.1.3"
- },
- "routerPlus": {
- "enable": true,
- "package": "egg-router-plus",
- "name": "routerPlus",
- "dependencies": [],
- "optionalDependencies": [],
- "env": [],
- "from": "D:\\ysjjCode\\shop-system\\config\\plugin.js",
- "path": "D:\\ysjjCode\\shop-system\\node_modules\\egg-router-plus",
- "version": "1.3.1"
- },
- "cors": {
- "enable": true,
- "package": "egg-cors",
- "name": "cors",
- "dependencies": [],
- "optionalDependencies": [],
- "env": [],
- "from": "D:\\ysjjCode\\shop-system\\config\\plugin.js",
- "path": "D:\\ysjjCode\\shop-system\\node_modules\\egg-cors",
- "version": "2.2.3"
- },
- "validate": {
- "enable": true,
- "package": "egg-szjcomo-validate",
- "name": "validate",
- "dependencies": [],
- "optionalDependencies": [],
- "env": [],
- "from": "D:\\ysjjCode\\shop-system\\config\\plugin.js",
- "path": "D:\\ysjjCode\\shop-system\\node_modules\\egg-szjcomo-validate",
- "version": "1.0.3"
- },
- "szjcomo": {
- "enable": true,
- "package": "egg-szjcomo-utils",
- "name": "szjcomo",
- "dependencies": [],
- "optionalDependencies": [],
- "env": [],
- "from": "D:\\ysjjCode\\shop-system\\config\\plugin.js",
- "path": "D:\\ysjjCode\\shop-system\\node_modules\\egg-szjcomo-utils",
- "version": "1.0.9"
- },
- "sequelize": {
- "enable": true,
- "package": "egg-sequelize",
- "name": "sequelize",
- "dependencies": [],
- "optionalDependencies": [],
- "env": [],
- "from": "D:\\ysjjCode\\shop-system\\config\\plugin.js",
- "path": "D:\\ysjjCode\\shop-system\\node_modules\\egg-sequelize",
- "version": "5.2.2"
- },
- "redis": {
- "enable": true,
- "package": "egg-redis",
- "name": "redis",
- "dependencies": [],
- "optionalDependencies": [],
- "env": [],
- "from": "D:\\ysjjCode\\shop-system\\config\\plugin.js",
- "path": "D:\\ysjjCode\\shop-system\\node_modules\\egg-redis",
- "version": "2.4.0"
- },
- "bean": {
- "enable": true,
- "package": "egg-szjcomo-bean",
- "name": "bean",
- "dependencies": [
- "sequelize"
- ],
- "optionalDependencies": [],
- "env": [],
- "from": "D:\\ysjjCode\\shop-system\\config\\plugin.js",
- "path": "D:\\ysjjCode\\shop-system\\node_modules\\egg-szjcomo-bean",
- "version": "1.0.1"
- },
- "jwt": {
- "enable": true,
- "package": "egg-jwt",
- "name": "jwt",
- "dependencies": [],
- "optionalDependencies": [
- "onerror"
- ],
- "env": [],
- "from": "D:\\ysjjCode\\shop-system\\config\\plugin.js",
- "path": "D:\\ysjjCode\\shop-system\\node_modules\\egg-jwt",
- "version": "3.1.7"
- },
- "dxw": {
- "enable": true,
- "package": "egg-szjcomo-dxw",
- "name": "dxw",
- "dependencies": [],
- "optionalDependencies": [],
- "env": [],
- "from": "D:\\ysjjCode\\shop-system\\config\\plugin.js",
- "path": "D:\\ysjjCode\\shop-system\\node_modules\\egg-szjcomo-dxw",
- "version": "1.0.2"
- }
- },
- "appInfo": {
- "name": "egg-universal-szjcomo",
- "baseDir": "D:\\ysjjCode\\shop-system",
- "env": "local",
- "HOME": "C:\\Users\\lawsu",
- "pkg": {
- "name": "egg-universal-szjcomo",
- "version": "1.0.2",
- "description": "基于egg.js的快速开发框架",
- "private": true,
- "egg": {
- "declarations": true
- },
- "dependencies": {
- "await-stream-ready": "^1.0.1",
- "decimal.js": "^10.4.3",
- "egg": "^2.15.1",
- "egg-cors": "^2.2.3",
- "egg-jwt": "^3.1.7",
- "egg-redis": "^2.4.0",
- "egg-router-plus": "^1.3.1",
- "egg-scripts": "^2.11.0",
- "egg-sequelize": "^5.2.2",
- "egg-szjcomo-bean": "^1.0.1",
- "egg-szjcomo-dxw": "^1.0.2",
- "egg-szjcomo-utils": "^1.0.9",
- "egg-szjcomo-validate": "^1.0.3",
- "mysql2": "^2.1.0",
- "stream-wormhole": "^1.1.0",
- "svg-captcha": "^1.4.0",
- "wechatpay-node-v3": "^2.1.0"
- },
- "devDependencies": {
- "autod": "^3.0.1",
- "autod-egg": "^1.1.0",
- "egg-bin": "^4.11.0",
- "egg-ci": "^1.11.0",
- "egg-mock": "^3.21.0",
- "eslint": "^5.13.0",
- "eslint-config-egg": "^7.1.0"
- },
- "engines": {
- "node": ">=10.0.0"
- },
- "scripts": {
- "start": "export APP_CUSTOME=oneshop&& egg-scripts start --daemon --title=egg-oneshop-szjcomo --ignore-stderr --workers=1",
- "stop": "export APP_CUSTOME=oneshop&& egg-scripts stop --title=egg-oneshop-szjcomo --workers=1",
- "dev": "set APP_CUSTOME=oneshop&& egg-bin dev",
- "debug": "egg-bin debug",
- "test": "npm run lint -- --fix && npm run test-local",
- "test-local": "egg-bin test",
- "cov": "egg-bin cov",
- "lint": "eslint .",
- "ci": "npm run lint && npm run cov",
- "autod": "autod",
- "model": "egg-sequelize-auto -o app/models/mysql -c auto_model.json -t szj_product_comment",
- "bak": "sequelize-automate -c auto_model.json"
- },
- "ci": {
- "version": "10"
- },
- "repository": {
- "type": "git",
- "url": ""
- },
- "author": "szjcomo",
- "license": "MIT"
- },
- "root": "D:\\ysjjCode\\shop-system"
- }
- }
|