dashboard
repositories
filestore
activity
search
login
main
/
moral_manage
summary
reflog
commits
tree
tickets
docs
forks
compare
blame
|
history
|
raw
Merge branch 'feature_1.0'
quanyawei
2024-04-03
b74ea56001fba65e67d9b39a5757dab4e4036858
[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);