dashboard
repositories
filestore
activity
search
login
main
/
moral_manage
summary
reflog
commits
tree
tickets
docs
forks
compare
blame
|
history
|
raw
fix: bug修改
quanyawei
2024-06-18
cb0882e7c2194c398bb998c16e86a84c1b616cb0
[moral_manage.git]
/
src
/
_mock
/
_api.ts
1
2
3
4
5
6
7
8
9
import Mock from 'mockjs';
function getTags() {
return Mock.mock({
'list|100': [{ 'name': '@city', 'value|1-100': 150, 'type|0-2': 1 }],
});
}
Mock.mock(RegExp('/api/tag'), 'get', getTags);