SYMBOL INDEX (370 symbols across 48 files) FILE: app/controller/category.js class CategoryController (line 4) | class CategoryController extends app.Controller { method list (line 5) | * list () { method save (line 15) | * save () { method delete (line 46) | * delete () { FILE: app/controller/component.js class ComponentController (line 4) | class ComponentController extends app.Controller { method find (line 5) | * find () { method searchByName (line 28) | * searchByName () { method searchAllStatusByName (line 42) | * searchAllStatusByName () { method info (line 57) | * info () { method updata (line 72) | * updata () { method save (line 92) | * save () { method useone (line 127) | * useone () { method delete (line 143) | * delete () { method import (line 159) | async import () { FILE: app/controller/group.js class controller (line 4) | class controller extends app.Controller { method add (line 6) | * add () { method delete (line 24) | * delete () { method list (line 39) | * list () { method update (line 57) | * update () { method info (line 71) | * info () { FILE: app/controller/groupUser.js class controller (line 4) | class controller extends app.Controller { method add (line 6) | * add () { method delete (line 23) | * delete () { method list (line 39) | * list () { method update (line 56) | * update () { FILE: app/controller/home.js class HomeController (line 4) | class HomeController extends app.Controller { method index (line 5) | * index() { FILE: app/controller/interface.js class HomeController (line 4) | class HomeController extends app.Controller { method add (line 5) | * add () { method delete (line 23) | * delete () { method update (line 37) | * update () { method updataInterfaceMock (line 56) | * updataInterfaceMock () { method apiUpload (line 75) | * apiUpload () { method getApiByProjectId (line 93) | * getApiByProjectId () { method batchUpdate (line 108) | * batchUpdate () { method getDetailDrafById (line 123) | * getDetailDrafById () { method draftList (line 137) | * draftList () { method deprecated (line 155) | * deprecated (obj) { method list (line 167) | * list () { method getInterfaceInfo (line 181) | * getInterfaceInfo () { method addApiTag (line 197) | * addApiTag () { method requestRelease (line 213) | * requestRelease () { method getApproveList (line 227) | * getApproveList () { method deleteApiTag (line 236) | * deleteApiTag () { method auditApi (line 251) | * auditApi () { method addTag (line 266) | * addTag () { method updateTag (line 282) | * updateTag () { method deleteTag (line 298) | * deleteTag () { method getTags (line 312) | * getTags () { method getPersons (line 327) | * getPersons () { method addPerson (line 342) | * addPerson () { method deletePerson (line 357) | * deletePerson () { method addData (line 372) | * addData () { method updateData (line 388) | * updateData () { method deleteData (line 405) | * deleteData () { method getDatas (line 419) | * getDatas () { method getHistoryList (line 434) | * getHistoryList () { method updateHistoryStatus (line 448) | * updateHistoryStatus () { FILE: app/controller/kaptcha.js class HomeController (line 3) | class HomeController extends app.Controller { method init (line 4) | * init (ctx) { FILE: app/controller/mock.js class controller (line 4) | class controller extends app.Controller { method infoOption (line 5) | * infoOption () { method info (line 12) | * info () { method insertOrUpdate (line 27) | * insertOrUpdate () { FILE: app/controller/notice.js class controller (line 4) | class controller extends app.Controller { method pullMessage (line 7) | * pullMessage () { method listMessage (line 17) | * listMessage () { method changeReadStatus (line 35) | * changeReadStatus () { method getMessageInfo (line 42) | * getMessageInfo () { method getMessageNums (line 49) | * getMessageNums () { method getNoticeType (line 57) | * getNoticeType () { method updateNoticeType (line 65) | * updateNoticeType () { FILE: app/controller/ossupload.js constant OSS (line 1) | const OSS = require('ali-oss') class OssUploadController (line 14) | class OssUploadController extends app.Controller { method uploadByUrls (line 15) | async uploadByUrls () { method uploadFile (line 77) | async uploadFile () { FILE: app/controller/pages.js constant PSD (line 3) | const PSD = require('psd') constant OSS (line 9) | const OSS = require('ali-oss') class PagesController (line 12) | class PagesController extends app.Controller { method pv (line 17) | * pv() { method pvuv (line 32) | * pvuv() { method save (line 97) | * save() { method list (line 126) | * list() { method publiclist (line 148) | * publiclist() { method info (line 157) | * info() { method detail (line 174) | async detail() { method changeStatus (line 234) | *changeStatus() { method setHomePage (line 255) | * setHomePage() { method delete (line 271) | * delete() { method publish (line 289) | * publish() { method count (line 326) | * count() { method history (line 336) | * history() { method getNameBykeys (line 353) | * getNameBykeys() { method historyDelete (line 369) | * historyDelete() { method historyPublish (line 385) | * historyPublish() { method historyToDraft (line 426) | * historyToDraft() { method updateFork (line 466) | * updateFork() { method psdToPage (line 480) | async psdToPage() { method upload (line 565) | async upload(filedata, fileName) { method featuringPages (line 580) | async featuringPages () { method updateFeatured (line 592) | async updateFeatured () { FILE: app/controller/project.js class controller (line 4) | class controller extends app.Controller { method add (line 6) | * add () { method delete (line 20) | * delete () { method list (line 35) | * list () { method update (line 50) | * update () { method info (line 65) | * info () { method groupProject (line 78) | * groupProject () { method favorateProject (line 94) | * favorateProject () { method cancelFavorateProject (line 107) | * cancelFavorateProject () { method getFavorateProject (line 120) | * getFavorateProject () { FILE: app/controller/projectUser.js class controller (line 4) | class controller extends app.Controller { method add (line 6) | * add () { method delete (line 23) | * delete () { method list (line 39) | * list () { method update (line 56) | * update () { FILE: app/controller/proxy.js class ProxyController (line 9) | class ProxyController extends Controller { method imgCorsProxy (line 10) | async imgCorsProxy () { method transparentProxy (line 42) | async transparentProxy () { method word2html (line 81) | async word2html () { FILE: app/controller/resources.js class ResourcesController (line 4) | class ResourcesController extends app.Controller { method info (line 5) | * info () { method list (line 20) | * list () { method save (line 54) | * save () { method delete (line 90) | * delete () { method addUseCount (line 106) | * addUseCount () { FILE: app/controller/statistics.js class StatisticsController (line 3) | class StatisticsController extends Controller { method report (line 5) | async report () { method getPUV (line 48) | async getPUV () { method getPages (line 78) | async getPages () { method getUtms (line 100) | async getUtms () { method getViewTime (line 126) | async getViewTime () { method getActions (line 158) | async getActions () { method actionTrack (line 184) | async actionTrack () { method getTodayOutline (line 214) | async getTodayOutline () { method getProjectReport (line 227) | async getProjectReport () { method getGroupReport (line 254) | async getGroupReport () { FILE: app/controller/tags.js class TagsController (line 3) | class TagsController extends app.Controller { method list (line 4) | * list () { method add (line 26) | * add () { method useone (line 50) | * useone () { FILE: app/controller/template.js class TemplateController (line 4) | class TemplateController extends app.Controller { method list (line 5) | * list () { method detail (line 34) | * detail () { method save (line 48) | * save () { method delete (line 90) | * delete () { FILE: app/controller/test.js class HomeController (line 4) | class HomeController extends app.Controller { method index (line 5) | * index() { FILE: app/controller/user.js function getAdminUrl (line 8) | function getAdminUrl (ctx, path) { class HomeController (line 25) | class HomeController extends app.Controller { method login (line 26) | * login () { method oauthCode (line 45) | * oauthCode () { method oauthLogin (line 70) | async oauthLogin () { method register (line 122) | * register () { method activeEmail (line 140) | * activeEmail () { method sendActiveEmail (line 165) | * sendActiveEmail () { method sendEmail (line 175) | * sendEmail () { method info (line 185) | * info () { method logout (line 207) | * logout () { method edit (line 213) | * edit () { method updatePassword (line 227) | * updatePassword () { method newUpdatePassword (line 241) | * newUpdatePassword () { method forgetPassword (line 261) | * forgetPassword () { method search (line 272) | * search () { method getTocken (line 284) | * getTocken () { FILE: app/extend/application.js constant REDIS (line 3) | const REDIS = Symbol('REDIS#INSTANCE') function initMailSender (line 11) | function initMailSender (config) { function strZip (line 23) | function strZip (str) { function strUnzip (line 33) | function strUnzip (buf) { function initRedis (line 42) | function initRedis (config, errorCallback) { method redis (line 62) | get redis () { method getCache (line 70) | async getCache (key) { method setCache (line 82) | async setCache (key, val) { method delCache (line 93) | async delCache (key) { method addPV (line 103) | addPV (from) { method getPV (line 108) | getPV () { method DDNotify (line 114) | DDNotify (msg, title, at) { FILE: app/extend/context.js class ERROR (line 1) | class ERROR extends Error { method constructor (line 2) | constructor ({ code, status, msg, error }) { method getError (line 19) | getError ({ code, status, msg, e }) { FILE: app/extend/dingd.js method sendNotice (line 6) | * sendNotice (data) { FILE: app/extend/token.js method decryptToken (line 5) | decryptToken(token) { method getToken (line 17) | getToken() { method setToken (line 30) | setToken(uid, password) { method parseCookie (line 38) | parseCookie(cookie) { FILE: app/extend/tools.js method encrypt (line 25) | encrypt (str, key) { method decrypt (line 38) | decrypt (str, key) { method md5 (line 51) | md5 (str) { method isEmpty (line 61) | isEmpty (str) { method isEmptyObject (line 67) | isEmptyObject (obj) { method getNewVersion (line 75) | getNewVersion (str) { method jsonToMock (line 89) | jsonToMock (data) { method getGroupRole (line 130) | getGroupRole (role) { method getSSOInfo (line 147) | getSSOInfo (session) { method getSSOHeader (line 209) | getSSOHeader (appid, sec) { method getProjectRole (line 251) | getProjectRole (role) { method nodeTreeScriptTransform (line 276) | nodeTreeScriptTransform (tree, child = 'child') { method timeFormat (line 329) | timeFormat (time, format = 'yyyy/mm/dd') { method ossConfigValid (line 349) | ossConfigValid (config = {}) { method isSafeUrl (line 353) | isSafeUrl (url) { FILE: app/schedule/es_delete.js method task (line 10) | async task(ctx) { FILE: app/schedule/es_report.js method task (line 6) | async task(ctx) { FILE: app/schedule/pu_uv_ratio.js constant PUV_RATIO_THRESHOLD (line 1) | const PUV_RATIO_THRESHOLD = 1.6 // 小时 pv/uv 平均1.34 最大值3.72 取1.6为告警阈值 method task (line 14) | async task(ctx) { FILE: app/schedule/pvcount.js method task (line 12) | async task(ctx) { FILE: app/service/base.js class BaseService (line 2) | class BaseService extends app.Service { method getUserRole (line 3) | * getUserRole (uid, projectId) { method sendNotice (line 19) | * sendNotice (uids, notice, noticeType) { FILE: app/service/category.js class Category (line 12) | class Category extends app.Service { method list (line 13) | * list (query) { method save (line 26) | * save (query) { method delete (line 70) | * delete (id) { FILE: app/service/component.js constant OSS (line 2) | const OSS = require('ali-oss') function setConstVar (line 6) | function setConstVar (str, { function normalizeName (line 16) | function normalizeName (name = '') { function genManifest (line 20) | async function genManifest (pkgfile, uid) { function downloadZip (line 43) | async function downloadZip (id, token) { function ossUpload (line 63) | async function ossUpload (files = [], manifest) { class Component (line 94) | class Component extends app.Service { method info (line 95) | * info (obj) { method list (line 118) | * list (query) { method updata (line 183) | * updata (query) { method save (line 233) | * save (query) { method useone (line 333) | * useone (query) { method delete (line 399) | * delete (obj) { method import (line 423) | async import ({id, token}, userId) { FILE: app/service/group.js class Group (line 4) | class Group extends app.Service { method delete (line 5) | * delete (obj) { method add (line 73) | * add (group) { method list (line 117) | * list (obj) { method update (line 141) | * update (obj) { method info (line 171) | * info (obj) { FILE: app/service/groupUser.js class GroupUser (line 5) | class GroupUser extends app.Service { method add (line 7) | * add (obj) { method delete (line 76) | * delete (obj) { method list (line 122) | * list (obj) { method update (line 145) | * update (obj) { FILE: app/service/kaptcha.js class Kaptcha (line 5) | class Kaptcha extends app.Service { method getCaptcha (line 6) | * getCaptcha(key) { FILE: app/service/mock.js class Mock (line 2) | class Mock extends app.Service { method info (line 3) | * info (obj) { method add (line 40) | * add (obj) { FILE: app/service/notice.js class ProjectUser (line 3) | class ProjectUser extends app.Service { method pullMessage (line 5) | * pullMessage (obj) { method listMessage (line 18) | * listMessage (obj) { method changeReadStatus (line 51) | * changeReadStatus (obj) { method getMessageInfo (line 55) | * getMessageInfo (obj) { method getMessageNums (line 60) | * getMessageNums (obj) { method getNoticeType (line 65) | * getNoticeType (obj) { method updateNoticeType (line 70) | * updateNoticeType (obj) { FILE: app/service/pages.js class Pages (line 12) | class Pages extends app.Service { method save (line 14) | * save (query) { method list (line 105) | * list (query) { method publiclist (line 145) | * publiclist (query) { method info (line 198) | * info (query) { method detail (line 224) | * detail (query) { method setHomePage (line 254) | * setHomePage (query) { method changeStatus (line 277) | * changeStatus (query) { method delete (line 292) | * delete (query) { method publish (line 305) | * publish (query) { method count (line 317) | * count () { method history (line 321) | * history (query) { method getNameBykeys (line 340) | * getNameBykeys ({ ids }) { method deleteHistory (line 350) | * deleteHistory (query) { method historyPublish (line 359) | * historyPublish (query) { method historyToDraft (line 371) | * historyToDraft (query) { method updateFork (line 376) | * updateFork (query) { method featuringPages (line 385) | async featuringPages ({ monthBefore = 3}) { method updateFeatured (line 407) | async updateFeatured ({ value = 2, id, uid, key = '' }) { FILE: app/service/project.js class Project (line 4) | class Project extends app.Service { method delete (line 5) | * delete (obj) { method add (line 45) | * add (obj) { method list (line 95) | * list (obj) { method update (line 210) | * update (obj) { method info (line 233) | * info (obj) { method groupProjects (line 263) | * groupProjects (obj) { method favorateProject (line 331) | * favorateProject (obj) { method cancelFavorateProject (line 355) | * cancelFavorateProject (obj) { method getFavorateProject (line 367) | * getFavorateProject (obj) { FILE: app/service/projectUser.js class ProjectUser (line 4) | class ProjectUser extends app.Service { method add (line 6) | * add (obj) { method delete (line 68) | * delete (obj) { method list (line 110) | * list (obj) { method update (line 133) | * update (obj) { FILE: app/service/resources.js class Resources (line 12) | class Resources extends app.Service { method info (line 13) | * info (obj) { method list (line 30) | * list (query) { method save (line 81) | * save (query) { method delete (line 158) | * delete (obj) { method addUseCount (line 168) | * addUseCount (obj) { FILE: app/service/statistics.js class Statistics (line 20) | class Statistics extends app.Service { method report (line 22) | report (doc) { method addDoc (line 30) | async addDoc (doc) { method addDocs (line 49) | async addDocs (docs) { method search (line 85) | async search ({filter, timePeriod = [], size = 10, aggs, mustNot} = {}) { method getPUV (line 124) | async getPUV ({pageId, pageIds, timePeriod, utm, interval = 'day', app... method getPages (line 192) | async getPages ({appId, timePeriod, size = 20}) { method getActions (line 236) | async getActions ({appId, pageId, utm, timePeriod, size = 20}) { method getViewTime (line 277) | async getViewTime ({appId, pageId, utm, timePeriod, interval, avgonly}) { method getUtms (line 338) | async getUtms ({appId, pageId, timePeriod, size = 20}) { method getTodayOutline (line 375) | async getTodayOutline ({appId = 'tview'}) { method actionTrack (line 488) | async actionTrack ({pageId, action, utm, timePeriod, size = 0, interva... method createIndex (line 556) | async createIndex (indices) { method deleteIndices (line 587) | async deleteIndices ({monthBefore = 6} = {}) { FILE: app/service/tags.js class Tags (line 12) | class Tags extends app.Service { method list (line 14) | * list (query) { method add (line 30) | * add (query) { method useone (line 48) | * useone (query) { FILE: app/service/template.js class Template (line 12) | class Template extends app.Service { method list (line 13) | * list (query) { method detail (line 23) | * detail (query) { method save (line 26) | * save (query) { method delete (line 53) | * delete (id) { FILE: app/service/user.js function getAdminUrl (line 4) | function getAdminUrl (ctx, path) { class User (line 21) | class User extends app.Service { method login (line 22) | * login (obj) { method oauthLogin (line 51) | * oauthLogin (obj) { method register (line 120) | * register (obj) { method activeEmail (line 199) | * activeEmail (obj) { method sendActiveEmail (line 222) | * sendActiveEmail (uid) { method sendEmail (line 255) | * sendEmail (email) { method info (line 288) | * info (uid) { method edit (line 302) | * edit (obj) { method updatePassword (line 309) | * updatePassword (obj) { method newUpdatePassword (line 325) | * newUpdatePassword (obj) { method forgetPassword (line 349) | * forgetPassword (obj) { method search (line 375) | * search (obj) { method getUserRole (line 391) | async getUserRole ({uid = null}) { FILE: config-parser.js constant CLIENT_KEYS (line 4) | const CLIENT_KEYS = ['VIEW_PATH','ADMIN_PATH','EDITOR_PATH','API_PATH','... constant REQUIRED_KEYS (line 5) | const REQUIRED_KEYS = ['sequelize', 'oss', 'es', 'redis', 'mail'] constant SEQUELIZE_REQUIRED (line 6) | const SEQUELIZE_REQUIRED = ['database', 'host', 'username', 'password'] constant OSS_REQUIRED (line 7) | const OSS_REQUIRED = ['accessKeyId', 'accessKeySecret', 'host', 'bucket'] constant ES_REQUIRED (line 8) | const ES_REQUIRED = ['host'] constant REDIS_REQUIRED (line 9) | const REDIS_REQUIRED = ['host', 'port'] constant MAIL_REQUIRED (line 10) | const MAIL_REQUIRED = ['host', 'port', 'user', 'pass'] constant CLIENT_CONFIG_DIR (line 11) | const CLIENT_CONFIG_DIR = process.env.CLIENT_CONFIG_DIR || './sub/gods-p... constant SERVER_CONFIG_DIR (line 12) | const SERVER_CONFIG_DIR = process.env.SERVER_CONFIG_DIR || './config' function parseConfig (line 14) | function parseConfig () { function validConfig (line 25) | function validConfig (config) { function rewriteConfig (line 76) | function rewriteConfig (config) { FILE: config/config.default.js method ignore (line 30) | ignore(ctx) { method ignore (line 43) | ignore(ctx) { FILE: sql/init.sql type `tb_category` (line 33) | CREATE TABLE `tb_category` ( type `tb_company` (line 62) | CREATE TABLE `tb_company` ( type `tb_company_and_user` (line 89) | CREATE TABLE `tb_company_and_user` ( type `tb_component` (line 116) | CREATE TABLE `tb_component` ( type `tb_component_use` (line 151) | CREATE TABLE `tb_component_use` ( type `tb_favorate_project` (line 178) | CREATE TABLE `tb_favorate_project` ( type `tb_group` (line 205) | CREATE TABLE `tb_group` ( type `tb_group_and_project` (line 237) | CREATE TABLE `tb_group_and_project` ( type `tb_group_and_user` (line 264) | CREATE TABLE `tb_group_and_user` ( type `tb_kaptcha` (line 292) | CREATE TABLE `tb_kaptcha` ( type `tb_login_log` (line 319) | CREATE TABLE `tb_login_log` ( type `tb_login_token` (line 346) | CREATE TABLE `tb_login_token` ( type `tb_mock` (line 374) | CREATE TABLE `tb_mock` ( type `tb_pages` (line 400) | CREATE TABLE `tb_pages` ( type `tb_pages_history` (line 438) | CREATE TABLE `tb_pages_history` ( type `tb_project` (line 466) | CREATE TABLE `tb_project` ( type `tb_res_tags_rel` (line 498) | CREATE TABLE `tb_res_tags_rel` ( type `tb_resources` (line 525) | CREATE TABLE `tb_resources` ( type `tb_role` (line 558) | CREATE TABLE `tb_role` ( type `tb_tags` (line 586) | CREATE TABLE `tb_tags` ( type `tb_template` (line 605) | CREATE TABLE `tb_template` ( type `tb_user` (line 635) | CREATE TABLE `tb_user` ( type `tb_user_and_project` (line 669) | CREATE TABLE `tb_user_and_project` ( type `tb_user_grade` (line 698) | CREATE TABLE `tb_user_grade` ( type `tb_user_login` (line 726) | CREATE TABLE `tb_user_login` ( type `tb_user_notice` (line 758) | CREATE TABLE `tb_user_notice` ( type `tb_user_notice_type` (line 789) | CREATE TABLE `tb_user_notice_type` ( type `tb_valid_code` (line 816) | CREATE TABLE `tb_valid_code` (