kyy
2025-02-11 bb05da47c66341aa5d65c965528271d03f37a1e1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
'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
}