yapi/client/constants/variable.js

81 lines
1.3 KiB
JavaScript
Raw Normal View History

export default {
2017-08-22 16:06:56 +08:00
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
}
2017-08-23 15:25:35 +08:00
},
PROJECT_COLOR: {
blue: '#2395f1',
2017-08-23 17:23:54 +08:00
green: '#00a854',
yellow: '#ffbf00',
red: '#f56a00',
2017-08-23 15:25:35 +08:00
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'
]
}