Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/easy-mock/easy-mock
/ functions
Functions
156 in github.com/easy-mock/easy-mock
⨍
Functions
156
◇
Types & classes
38
↓ 22 callers
Function
createAPI
(url, method, config)
views/api/index.js:103
↓ 18 callers
Method
find
(query, opt)
proxy/mock.js:14
↓ 15 callers
Method
findOne
(query, opt)
proxy/mock.js:18
↓ 12 callers
Method
del
(query)
proxy/mock.js:49
↓ 12 callers
Method
newAndSave
(docs)
proxy/mock.js:6
↓ 9 callers
Method
createUser
(name = 'admin', password = '123456')
test/support.js:22
↓ 9 callers
Method
join
* 加入团队 * @param Object ctx
controllers/group.js:62
↓ 7 callers
Function
dispatch
(componentName, eventName, params)
views/mixins/emitter.js:17
↓ 6 callers
Method
cleanCollections
()
test/support.js:9
↓ 6 callers
Method
createRequest
(server, token)
test/support.js:29
↓ 6 callers
Function
getMockURL
(url, proj = project)
test/controllers/mock.test.js:327
↓ 6 callers
Function
resolve
middlewares/view.js:9
↓ 6 callers
Method
update
(user)
proxy/user.js:29
↓ 5 callers
Method
authenticate
(username, password)
util/ldap.js:54
↓ 5 callers
Function
done
()
views/api/index.js:35
↓ 5 callers
Method
params
* 解析出 params 对象 * * /user/nick (/user/:name) => { name: 'nick' } * * @param String restURL /user/:name * @param String fullURL /user/ni
util/index.js:74
↓ 4 callers
Function
checkByProjectId
(projectId, uid, creater)
controllers/project.js:14
↓ 4 callers
Method
init
* 初始化操作
util/index.js:20
↓ 4 callers
Method
render
(app)
middlewares/view.js:28
↓ 4 callers
Method
updateById
(mock)
proxy/mock.js:22
↓ 3 callers
Method
bhash
* 加密字符串 * @param String str
util/index.js:38
↓ 3 callers
Function
checkByProjectId
(projectId, uid)
controllers/mock.js:30
↓ 3 callers
Method
create
(project)
util/swagger.js:94
↓ 3 callers
Method
getById
(mockId)
proxy/mock.js:10
↓ 3 callers
Method
getRedis
* 获取 redis 实例
util/index.js:29
↓ 3 callers
Function
processCanvas
()
views/components/shape-shifter/shape-shifter.js:376
↓ 3 callers
Function
serve
(prefix, filePath)
app.js:66
↓ 3 callers
Function
timedAction
(fn, delay, max, reverse)
views/components/shape-shifter/shape-shifter.js:122
↓ 2 callers
Function
callback
test/controllers/mock.test.js:376
↓ 2 callers
Function
createApp
()
views/entry/main.js:80
↓ 2 callers
Function
createClient
(opts)
util/ldap.js:8
↓ 2 callers
Function
createRenderer
(bundle, options)
middlewares/view.js:13
↓ 2 callers
Function
createUser
(name, password)
controllers/user.js:16
↓ 2 callers
Method
delete
* 删除接口 * @param Object ctx
controllers/mock.js:400
↓ 2 callers
Method
dropFileSchedule
* 定时删除已经上传的过期文件
util/index.js:96
↓ 2 callers
Method
find
(uid, query, opt)
proxy/project.js:45
↓ 2 callers
Method
findByName
(name)
proxy/group.js:13
↓ 2 callers
Method
flatten
(obj)
util/index.js:132
↓ 2 callers
Function
formatTime
(date)
views/components/shape-shifter/shape-shifter.js:105
↓ 2 callers
Method
getByName
(userName)
proxy/user.js:41
↓ 2 callers
Function
getUseTotalCount
* 获取 Mock 使用次数
controllers/dashboard.js:14
↓ 2 callers
Method
login
(name, password)
test/support.js:15
↓ 2 callers
Function
reset
(destroy)
views/components/shape-shifter/shape-shifter.js:139
↓ 2 callers
Method
run
()
util/index.js:113
↓ 2 callers
Function
setFontSize
(s)
views/components/shape-shifter/shape-shifter.js:411
↓ 1 callers
Method
bcompare
* 对比原字符串与经过加密的字符串是否相同 * @param String str * @param String hash
util/index.js:48
↓ 1 callers
Function
bindEvents
()
views/components/shape-shifter/shape-shifter.js:219
↓ 1 callers
Function
checkByMockId
(mockId, uid)
controllers/mock.js:19
↓ 1 callers
Function
compensate
()
views/components/shape-shifter/shape-shifter.js:494
↓ 1 callers
Method
create
* 创建项目 * @param Object ctx
controllers/project.js:40
↓ 1 callers
Function
createExportForm
(url, data)
views/api/index.js:113
↓ 1 callers
Function
createMock
(projectId, swaggerDocs)
util/swagger.js:13
↓ 1 callers
Function
createRouter
()
views/router-config.js:17
↓ 1 callers
Function
createStore
()
views/store/index.js:15
↓ 1 callers
Method
delById
(projectId)
proxy/project.js:73
↓ 1 callers
Method
delByIds
(mockIds)
proxy/mock.js:41
↓ 1 callers
Method
delByProjectId
(projectId)
proxy/user_project.js:28
↓ 1 callers
Method
find
(query)
proxy/user_group.js:28
↓ 1 callers
Method
findByIds
(ids)
proxy/project.js:11
↓ 1 callers
Method
findOne
(query, opt)
proxy/project.js:41
↓ 1 callers
Method
findOne
(query)
proxy/group.js:17
↓ 1 callers
Method
findOne
(query)
proxy/user_group.js:32
↓ 1 callers
Function
fit
()
views/components/shape-shifter/shape-shifter.js:368
↓ 1 callers
Function
getAction
(value)
views/components/shape-shifter/shape-shifter.js:117
↓ 1 callers
Function
getValue
(value)
views/components/shape-shifter/shape-shifter.js:113
↓ 1 callers
Function
initAPI
views/api/index.js:102
↓ 1 callers
Function
isNumber
(n)
views/components/shape-shifter/shape-shifter.js:415
↓ 1 callers
Method
mockUseCountSchedule
()
util/index.js:112
↓ 1 callers
Function
onError
(err)
util/ldap.js:26
↓ 1 callers
Function
performAction
(value)
views/components/shape-shifter/shape-shifter.js:149
↓ 1 callers
Method
safeDecodeURIComponent
* 安全的 decodeURIComponent * @param String str
util/index.js:57
↓ 1 callers
Method
update
* 更新接口 * @param Object ctx
controllers/mock.js:157
↓ 1 callers
Method
updateMany
(docs)
proxy/mock.js:37
↓ 1 callers
Method
updateWorkbench
(doc)
proxy/user_project.js:18
↓ 1 callers
Method
wallpaper
* 壁纸接口 * @param Object ctx
controllers/util.js:23
Function
ADD
({ dispatch }, groupName)
views/store/modules/group.js:19
Function
CREATE
({commit, dispatch}, {route, mode, description, url, method})
views/store/modules/mock.js:41
Function
FETCH
({ commit, state })
views/store/modules/project.js:42
Function
FETCH
({ commit })
views/store/modules/wallpaper.js:12
Function
FETCH
({commit, state, rootState}, route)
views/store/modules/mock.js:24
Function
FETCH
({ commit }, keywords)
views/store/modules/group.js:11
Function
FETCH
({ commit })
views/store/modules/dashboard.js:13
Function
INIT_PAGE
({ commit, rootState }, route)
views/store/modules/project.js:28
Function
INIT_REQUEST
(state)
views/store/modules/project.js:11
Function
INIT_REQUEST
(state)
views/store/modules/mock.js:12
Function
JOIN
({ dispatch }, groupName)
views/store/modules/group.js:31
Function
QUERY
({ commit, dispatch }, keywords)
views/store/modules/project.js:73
Function
REMOVE
({ dispatch }, projectId)
views/store/modules/project.js:61
Function
REMOVE
({ dispatch }, groupId)
views/store/modules/group.js:47
Function
RENAME
({ dispatch }, group)
views/store/modules/group.js:57
Function
SET_LIST
(state, payload)
views/store/modules/project.js:6
Function
SET_READ_CHANGELOG
(state, payload)
views/store/modules/app.js:4
Function
SET_REQUEST_PARAMS
(state, payload)
views/store/modules/project.js:19
Function
SET_REQUEST_PARAMS
(state, payload)
views/store/modules/mock.js:18
Function
SET_VALUE
(state, payload)
views/store/modules/wallpaper.js:6
Function
SET_VALUE
(state, payload)
views/store/modules/mock.js:6
Function
SET_VALUE
(state, payload)
views/store/modules/group.js:6
Function
SET_VALUE
(state, { total, today, users })
views/store/modules/dashboard.js:6
Function
SET_VALUE
(state, payload)
views/store/modules/user.js:4
Function
WORKBENCH
(context, projectExtend)
views/store/modules/project.js:64
next →
1–100 of 156, ranked by callers