dashboard
repositories
filestore
activity
search
login
main
/
moral_manage
summary
reflog
commits
tree
tickets
docs
forks
compare
blame
|
history
|
raw
fix:更新packge-lock
quanyawei
2023-09-18
71e4834603cbadc53645fb9e36c058ccacac2e6a
[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);