You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
448 B
30 lines
448 B
'use strict';
|
|
|
|
const TAG = "UNI_OPEN_BRIDGE"
|
|
|
|
const HTTP_STATUS = {
|
|
SUCCESS: 200
|
|
}
|
|
|
|
const ProviderType = {
|
|
WEIXIN_MP: 'weixin-mp',
|
|
WEIXIN_H5: 'weixin-h5',
|
|
WEIXIN_APP: 'weixin-app',
|
|
WEIXIN_WEB: 'weixin-web',
|
|
QQ_MP: 'qq-mp',
|
|
QQ_APP: 'qq-app'
|
|
}
|
|
|
|
// old
|
|
const PlatformType = ProviderType
|
|
|
|
const ErrorCodeType = {
|
|
SYSTEM_ERROR: TAG + "_SYSTEM_ERROR"
|
|
}
|
|
|
|
module.exports = {
|
|
HTTP_STATUS,
|
|
ProviderType,
|
|
PlatformType,
|
|
ErrorCodeType
|
|
}
|