mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-21 05:19:42 +08:00
81 lines
1.3 KiB
JavaScript
81 lines
1.3 KiB
JavaScript
export default {
|
|
PAGE_LIMIT: 10, // 默认每页展示10条数据
|
|
HTTP_METHOD: {
|
|
'GET': {
|
|
request_body: false
|
|
},
|
|
'POST': {
|
|
request_body: true
|
|
},
|
|
'PUT': {
|
|
request_body: true
|
|
},
|
|
'DELETE': {
|
|
request_body: true
|
|
},
|
|
'HEAD': {
|
|
request_body: false
|
|
},
|
|
'OPTIONS': {
|
|
request_body: false
|
|
},
|
|
'PATCH': {
|
|
request_body: true
|
|
}
|
|
},
|
|
PROJECT_COLOR: {
|
|
blue: '#2395f1',
|
|
green: '#00a854',
|
|
yellow: '#ffbf00',
|
|
red: '#f56a00',
|
|
pink: '#f5317f',
|
|
cyan: '#00a2ae',
|
|
gray: '#bfbfbf',
|
|
purple: '#7265e6'
|
|
},
|
|
PROJECT_ICON: [
|
|
'code-o',
|
|
'swap',
|
|
'clock-circle-o',
|
|
'unlock',
|
|
'calendar',
|
|
'play-circle-o',
|
|
'file-text',
|
|
'desktop',
|
|
'hdd',
|
|
'appstore-o',
|
|
'line-chart',
|
|
'mail',
|
|
'mobile',
|
|
'notification',
|
|
'picture',
|
|
'poweroff',
|
|
'search',
|
|
'setting',
|
|
'share-alt',
|
|
'shopping-cart',
|
|
'tag-o',
|
|
'video-camera',
|
|
'cloud-o',
|
|
'star-o',
|
|
'environment-o',
|
|
'camera-o',
|
|
'team',
|
|
'customer-service',
|
|
'pay-circle-o',
|
|
'rocket',
|
|
'database',
|
|
'tool',
|
|
'wifi',
|
|
'idcard',
|
|
'medicine-box',
|
|
'coffee',
|
|
'safety',
|
|
'global',
|
|
'api',
|
|
'fork',
|
|
'android-o',
|
|
'apple-o'
|
|
]
|
|
}
|