@conecli/cone-render 0.10.1-shop3.9 → 0.10.1-shop3.91
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/api/index.ts +1 -1
- package/dist/common/accessibility.h5.ts +1 -0
- package/dist/common/accessibility.ts +0 -0
- package/dist/common/const.ts +1 -1
- package/dist/common/index.h5.ts +1 -1
- package/dist/common/index.jd.ts +1 -1
- package/dist/common/index.ts +1 -1
- package/dist/common/index.weapp.ts +1 -1
- package/dist/common/jdplayerSdk.weapp.tsx +1 -0
- package/dist/common/jssdk.ts +1 -1
- package/dist/common/jssdk.weapp.ts +1 -0
- package/dist/common/pageType.ts +1 -1
- package/dist/common/token/index.h5.ts +1 -1
- package/dist/common/token/token.jd.ts +1 -1
- package/dist/common/wxappApi.ascf.ts +1 -0
- package/dist/common/wxappApi.ts +1 -1
- package/dist/components/ErrorBoundary.tsx +1 -1
- package/dist/components/base/CommonFloorHead/index.tsx +1 -1
- package/dist/components/base/CountDown/index.tsx +1 -1
- package/dist/components/base/CustomScrollView/index.tsx +1 -1
- package/dist/components/base/CustomVideo/index.tsx +1 -1
- package/dist/components/base/CustomVideo/index.weapp.tsx +1 -0
- package/dist/components/base/ExposureSmart/index.h5.tsx +1 -1
- package/dist/components/base/ExposureSmart/index.tsx +1 -1
- package/dist/components/base/ExposureSmart/reporter.tsx +1 -1
- package/dist/components/base/InOrOutViewObserver/index.weapp.tsx +1 -0
- package/dist/components/base/ItemViewExposureSmart/index.tsx +1 -1
- package/dist/components/base/LazyLayoutLoad/index.tsx +1 -1
- package/dist/components/base/LazyLoadImage/index.h5.tsx +1 -1
- package/dist/components/base/MobileCommonHeader/index.tsx +1 -1
- package/dist/components/base/MobileCommonHeader/index.weapp.tsx +1 -0
- package/dist/components/base/NetworkDataError/const.ts +1 -1
- package/dist/components/base/NetworkDataError/index.module.scss +118 -72
- package/dist/components/base/NetworkDataError/index.tsx +1 -1
- package/dist/components/base/Price/Base/index.module.scss +12 -0
- package/dist/components/base/Price/Base/index.tsx +1 -1
- package/dist/components/base/Price/Double/index.module.scss +25 -1
- package/dist/components/base/Price/Double/index.tsx +1 -1
- package/dist/components/base/ShopLeGaoTag/index.h5.module.scss +35 -0
- package/dist/components/base/ShopLeGaoTag/index.h5.tsx +1 -0
- package/dist/components/base/ShopLeGaoTag/index.module.scss +33 -0
- package/dist/components/base/ShopLeGaoTag/index.tsx +1 -0
- package/dist/components/debug/DebugLayout/index.module.scss +2 -2
- package/dist/components/floorItem.tsx +1 -1
- package/dist/components/isv/Floor/index.tsx +1 -1
- package/dist/components/remoteFloorItem.tsx +1 -1
- package/dist/config/env.ts +1 -1
- package/dist/interface/common.ts +1 -1
- package/dist/interface/component.ts +1 -1
- package/dist/interface/jumpEventReport.ts +1 -1
- package/dist/interface/service.ts +1 -1
- package/dist/jumpEventReport/base.ts +1 -1
- package/dist/jumpEventReport/const.ts +1 -1
- package/dist/jumpEventReport/createReportFloorData.ts +1 -1
- package/dist/jumpEventReport/index.h5.ts +1 -1
- package/dist/jumpEventReport/index.jd.ts +1 -1
- package/dist/jumpEventReport/index.weapp.ts +1 -1
- package/dist/jumpEventReport/jdJumpJdApp.ts +1 -1
- package/dist/jumpEventReport/jumpUrlConfig/base.ts +1 -1
- package/dist/jumpEventReport/logEventConfig.h5.ts +1 -0
- package/dist/jumpEventReport/logEventConfig.ts +1 -1
- package/dist/jumpEventReport/web/report.ts +1 -1
- package/dist/jumpEventReport/web.base.ts +1 -1
- package/dist/jumpEventReport/web.jd.ts +1 -1
- package/dist/jumpEventReport/web.pc.ts +1 -1
- package/dist/jumpEventReport/web.tjm.ts +1 -1
- package/dist/jumpEventReport/web.wxapp.ts +1 -1
- package/dist/language/en_US.json +309 -0
- package/dist/language/zh_CN.json +309 -0
- package/dist/language/zh_HK.json +309 -0
- package/dist/libs/openShopBridge.js +161 -0
- package/dist/libs/openShopBridge.min.js +1 -0
- package/dist/libs/taroAppReport.js +2 -2
- package/dist/modules/ContainerFloorList/index.h5.module.scss +16 -2
- package/dist/modules/ContainerFloorList/index.h5.tsx +1 -1
- package/dist/modules/ContainerFloorList/index.tsx +1 -1
- package/dist/modules/DecorateContainerFloorList/index.weapp.tsx +1 -0
- package/dist/open/api/environment.ts +1 -1
- package/dist/open/api/shopMember.ts +1 -1
- package/dist/open/api/shopMember.weapp.ts +1 -0
- package/dist/open/api/track.ts +1 -1
- package/dist/open/api/util.ts +1 -1
- package/dist/open/components/index.ts +1 -1
- package/dist/open/index.ts +1 -1
- package/dist/sass/app.h5.scss +27 -1
- package/dist/sass/base.scss +8 -4
- package/dist/service/fetchGateway.ts +1 -1
- package/dist/service/fetchGateway.weapp.ts +1 -1
- package/dist/service/fetchJsonp.weapp.ts +1 -0
- package/dist/service/http/const.ts +1 -1
- package/dist/service/http/h5Http.ts +1 -1
- package/dist/service/http/httpInterceptors.weapp.ts +1 -0
- package/dist/service/requestServer.h5.ts +1 -1
- package/dist/service/requestServer.ts +1 -1
- package/dist/service/requestServer.weapp.ts +1 -1
- package/dist/utils/connectNativeJsBridge.ts +1 -1
- package/dist/utils/h5Utils.ts +1 -1
- package/dist/utils/harmonyCallRouter.h5.ts +1 -0
- package/dist/utils/harmonyCallRouter.ts +0 -0
- package/dist/utils/index.h5.ts +1 -1
- package/dist/utils/index.ts +1 -1
- package/dist/utils/index.weapp.ts +1 -1
- package/dist/utils/jumpExtMapUtil.ts +1 -0
- package/dist/utils/log.ts +1 -0
- package/dist/utils/{sColor.js → sColor.ts} +1 -1
- package/dist/utils/sColor.weapp.ts +1 -0
- package/dist/utils/utils.ts +1 -1
- package/dist/wxapp/common/address_api/address_api_v2.js +1 -0
- package/dist/wxapp/common/user_info.js +1 -1
- package/package.json +162 -141
- package/dist/jumpEventReport/web/wqshop.report.ts +0 -1
- package/dist/utils/priceUtils.js +0 -1
- /package/dist/utils/{jumpExtMapUtil.js → jumpExtMapUtil.h5.ts} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import Taro from '@tarojs/taro';
|
|
2
1
|
clientVersion: isJdApp && jdAppVersionStr !== '' ? jdAppVersionStr : '11.0.0',
|
|
3
2
|
client: isJdApp ? (isIosDevice ? 'apple' : 'android') : isPc ? 'pc' : 'wh5',
|
|
4
3
|
screen: `${Math.ceil(window.screen?.width * devicePixelRatio)}*${Math.ceil(
|
|
5
4
|
window.screen?.height * devicePixelRatio,
|
|
6
5
|
)}`,
|
|
7
6
|
area: '1_72_2799_0',
|
|
8
7
|
uuid: UUID,
|
|
9
8
|
if (area && area !== '') {
|
|
10
9
|
clientParams.area = area;
|
|
11
10
|
}
|
|
12
11
|
console.warn(
|
|
13
12
|
'cone-render中对外暴露fetchGateway收到原生端获取传来的四级地址信息',
|
|
14
13
|
area,
|
|
15
14
|
'更新后的接口底层信息',
|
|
16
15
|
clientParams,
|
|
17
16
|
);
|
|
18
17
|
if (isH5 && (isJdAndIosDevice || isJdAndAndroidDevice)) {
|
|
19
18
|
const smartCouponInfo = await getSmartCouponInfo();
|
|
20
19
|
if (smartCouponInfo) {
|
|
21
20
|
requestParams.smartCouponInfo = smartCouponInfo;
|
|
22
21
|
}
|
|
23
22
|
} else {
|
|
24
23
|
console.warn('🚗 ~~ handleSmartCouponInfo ~~ 不支持的环境!');
|
|
25
24
|
}
|
|
26
25
|
functionId: string,
|
|
27
26
|
body = {},
|
|
28
27
|
options = {},
|
|
29
28
|
requestOptions = {},
|
|
30
29
|
const useBodyParams = { ...body };
|
|
31
30
|
if (passSmartCouponInfoFunctionIdList.includes(functionId)) {
|
|
32
31
|
await handleSmartCouponInfo(useBodyParams);
|
|
33
32
|
}
|
|
34
33
|
const params = Object.assign(
|
|
35
34
|
{},
|
|
36
35
|
{
|
|
37
36
|
t: Date.now(),
|
|
38
37
|
functionId,
|
|
39
38
|
appid: 'shop_m_jd_com',
|
|
40
39
|
body: JSON.stringify(useBodyParams),
|
|
41
40
|
},
|
|
42
41
|
clientParams,
|
|
43
42
|
options,
|
|
44
43
|
{
|
|
45
44
|
area: clientParams.area,
|
|
46
45
|
client: !isJdApp && options?.client ? options?.client : clientParams.client,
|
|
47
46
|
clientVersion:
|
|
48
47
|
!isJdApp && options?.clientVersion ? options?.clientVersion : clientParams.clientVersion,
|
|
49
48
|
},
|
|
50
49
|
);
|
|
51
50
|
console.warn(
|
|
52
51
|
'fetchGateway url:' + api.apiFunc + ',functionId:' + params.functionId,
|
|
53
52
|
'底层默认的clientParams',
|
|
54
53
|
clientParams,
|
|
55
54
|
'下发的options',
|
|
56
55
|
options,
|
|
57
56
|
'最后params',
|
|
58
57
|
params,
|
|
59
58
|
);
|
|
60
59
|
return http.post(api.apiFunc, params, requestOptions);
|
|
60
|
+
import Taro from '@tarojs/taro';
|
|
61
61
|
UUID,
|
|
62
62
|
isJdApp,
|
|
63
63
|
jdAppVersionStr,
|
|
64
64
|
isIosDevice,
|
|
65
65
|
isPc,
|
|
66
66
|
isJdAndIosDevice,
|
|
67
67
|
isJdAndAndroidDevice,
|
|
68
68
|
isJdAndHarmonyDevice,
|
|
69
69
|
isNewHarmonyShop,
|
|
70
70
|
passSmartCouponInfoFunctionIdList,
|
|
71
71
|
needFixClientValueToHarmonyFunctionIdList,
|
|
72
72
|
clientVersion: isJdApp && jdAppVersionStr !== '' ? jdAppVersionStr : '11.0.0',
|
|
73
73
|
client: isJdApp ? (isIosDevice ? 'apple' : 'android') : isPc ? 'pc' : 'wh5',
|
|
74
74
|
screen: `${Math.ceil(window.screen?.width * devicePixelRatio)}*${Math.ceil(
|
|
75
75
|
window.screen?.height * devicePixelRatio,
|
|
76
76
|
)}`,
|
|
77
77
|
area: '1_72_2799_0',
|
|
78
78
|
uuid: UUID,
|
|
79
79
|
const { area, realTimeArea } = areaInfo || {};
|
|
80
80
|
area && area !== '' && (clientParams.area = area);
|
|
81
81
|
realTimeArea && realTimeArea !== '' && (clientParams['realTimeArea'] = realTimeArea);
|
|
82
82
|
console.warn(
|
|
83
83
|
'cone-render中对外暴露fetchGateway收到原生端获取传来的四级地址信息',
|
|
84
84
|
areaInfo,
|
|
85
85
|
'更新后的接口底层信息',
|
|
86
86
|
clientParams,
|
|
87
87
|
);
|
|
88
88
|
if (isH5 && (isJdAndIosDevice || isJdAndAndroidDevice)) {
|
|
89
89
|
const smartCouponInfo = await getSmartCouponInfo();
|
|
90
90
|
if (smartCouponInfo) {
|
|
91
91
|
requestParams.smartCouponInfo = smartCouponInfo;
|
|
92
92
|
}
|
|
93
93
|
} else {
|
|
94
94
|
console.warn('🚗 ~~ handleSmartCouponInfo ~~ 不支持的环境!');
|
|
95
95
|
}
|
|
96
96
|
functionId: string,
|
|
97
97
|
body = {},
|
|
98
98
|
options = {},
|
|
99
99
|
requestOptions = {},
|
|
100
100
|
const useBodyParams = { ...body };
|
|
101
101
|
if (passSmartCouponInfoFunctionIdList.includes(functionId)) {
|
|
102
102
|
await handleSmartCouponInfo(useBodyParams);
|
|
103
103
|
}
|
|
104
104
|
const params = Object.assign(
|
|
105
105
|
{},
|
|
106
106
|
{
|
|
107
107
|
t: Date.now(),
|
|
108
108
|
functionId,
|
|
109
109
|
appid: 'shop_m_jd_com',
|
|
110
110
|
body: JSON.stringify(useBodyParams),
|
|
111
111
|
},
|
|
112
112
|
clientParams,
|
|
113
113
|
options,
|
|
114
114
|
{
|
|
115
115
|
area: clientParams.area,
|
|
116
116
|
client: !isJdApp && options?.client ? options?.client : clientParams.client,
|
|
117
117
|
clientVersion:
|
|
118
118
|
!isJdApp && options?.clientVersion ? options?.clientVersion : clientParams.clientVersion,
|
|
119
119
|
},
|
|
120
120
|
);
|
|
121
121
|
if (
|
|
122
122
|
isJdAndHarmonyDevice &&
|
|
123
123
|
(needFixClientValueToHarmonyFunctionIdList.includes(functionId) || isNewHarmonyShop)
|
|
124
124
|
) {
|
|
125
125
|
params.client = 'harmony';
|
|
126
126
|
} else {
|
|
127
127
|
}
|
|
128
128
|
console.warn(
|
|
129
129
|
'fetchGateway url:' + api.apiFunc + ',functionId:' + params.functionId,
|
|
130
130
|
'底层默认的clientParams',
|
|
131
131
|
clientParams,
|
|
132
132
|
'下发的options',
|
|
133
133
|
options,
|
|
134
134
|
'最后params',
|
|
135
135
|
params,
|
|
136
136
|
);
|
|
137
137
|
return http.post(api.apiFunc, params, requestOptions);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import Taro from '@tarojs/taro';
|
|
2
1
|
clientVersion: '11.0.0',
|
|
3
2
|
client: 'wh5',
|
|
4
3
|
screen: `${Math.ceil(getSystemInfo?.screenWidth * devicePixelRatio)}*${Math.ceil(
|
|
5
4
|
getSystemInfo?.screenHeight * devicePixelRatio,
|
|
6
5
|
)}`,
|
|
7
6
|
area: '1_72_2799_0',
|
|
8
7
|
uuid: UUID,
|
|
9
8
|
if (area && area !== '') {
|
|
10
9
|
clientParams.area = area;
|
|
11
10
|
}
|
|
12
11
|
console.warn(
|
|
13
12
|
'cone-render中对外暴露fetchGateway收到原生端获取传来的四级地址信息',
|
|
14
13
|
area,
|
|
15
14
|
'更新后的接口底层信息',
|
|
16
15
|
clientParams,
|
|
17
16
|
);
|
|
18
17
|
functionId: string,
|
|
19
18
|
body = {},
|
|
20
19
|
options = {},
|
|
21
20
|
requestOptions = {},
|
|
22
21
|
const params = Object.assign(
|
|
23
22
|
{},
|
|
24
23
|
{
|
|
25
24
|
t: Date.now(),
|
|
26
25
|
functionId,
|
|
27
26
|
appid: 'shop_m_jd_com',
|
|
28
27
|
body: JSON.stringify(body),
|
|
29
28
|
},
|
|
30
29
|
clientParams,
|
|
31
30
|
options,
|
|
32
31
|
{
|
|
33
32
|
area: clientParams.area,
|
|
34
33
|
client: options?.client || clientParams.client,
|
|
35
34
|
clientVersion: options?.clientVersion || clientParams.clientVersion,
|
|
36
35
|
},
|
|
37
36
|
);
|
|
38
37
|
console.warn(
|
|
39
38
|
'fetchGateway url:' + api.apiFunc + ',functionId:' + params.functionId,
|
|
40
39
|
'底层默认的clientParams',
|
|
41
40
|
clientParams,
|
|
42
41
|
'下发的options',
|
|
43
42
|
options,
|
|
44
43
|
'最后params',
|
|
45
44
|
params,
|
|
46
45
|
);
|
|
47
46
|
return http.post(api.apiFunc, params, requestOptions);
|
|
47
|
+
import Taro from '@tarojs/taro';
|
|
48
48
|
appid: 'wx_mini_app',
|
|
49
49
|
clientVersion: '11.0.0',
|
|
50
50
|
client: 'wh5',
|
|
51
51
|
area: '1_72_2799_0',
|
|
52
52
|
screen: `${Math.ceil(getSystemInfo?.screenWidth * devicePixelRatio)}*${Math.ceil(
|
|
53
53
|
getSystemInfo?.screenHeight * devicePixelRatio,
|
|
54
54
|
)}`,
|
|
55
55
|
uuid: '-1',
|
|
56
56
|
loginType: '11',
|
|
57
57
|
const { area, realTimeArea } = areaInfo || {};
|
|
58
58
|
area && area !== '' && (clientParams.area = area);
|
|
59
59
|
realTimeArea && realTimeArea !== '' && (clientParams['realTimeArea'] = realTimeArea);
|
|
60
60
|
console.warn(
|
|
61
61
|
'cone-render中对外暴露fetchGateway收到原生端获取传来的四级地址信息',
|
|
62
62
|
areaInfo,
|
|
63
63
|
'更新后的接口底层信息',
|
|
64
64
|
clientParams,
|
|
65
65
|
);
|
|
66
66
|
functionId: string,
|
|
67
67
|
body = {},
|
|
68
68
|
options = {},
|
|
69
69
|
requestOptions = {},
|
|
70
70
|
const params = Object.assign(
|
|
71
71
|
{},
|
|
72
72
|
{
|
|
73
73
|
t: Date.now(),
|
|
74
74
|
functionId,
|
|
75
75
|
appid: 'shop_m_jd_com',
|
|
76
76
|
body: JSON.stringify(body),
|
|
77
77
|
},
|
|
78
78
|
clientParams,
|
|
79
79
|
options,
|
|
80
80
|
{
|
|
81
81
|
area: clientParams.area,
|
|
82
82
|
client: options?.client || clientParams.client,
|
|
83
83
|
clientVersion: options?.clientVersion || clientParams.clientVersion,
|
|
84
84
|
},
|
|
85
85
|
);
|
|
86
86
|
console.warn(
|
|
87
87
|
'fetchGateway url:' + api.apiFunc + ',functionId:' + params.functionId,
|
|
88
88
|
'底层默认的clientParams',
|
|
89
89
|
clientParams,
|
|
90
90
|
'下发的options',
|
|
91
91
|
options,
|
|
92
92
|
'最后params',
|
|
93
93
|
params,
|
|
94
94
|
);
|
|
95
95
|
return http.post(api.apiFunc, params, requestOptions);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const HttpStatus = {
|
|
2
1
|
SUCCESS: 200,
|
|
3
2
|
CREATED: 201,
|
|
4
3
|
ACCEPTED: 202,
|
|
5
4
|
CLIENT_ERROR: 400,
|
|
6
5
|
AUTHENTICATE: 401,
|
|
7
6
|
FORBIDDEN: 403,
|
|
8
7
|
NOT_FOUND: 404,
|
|
9
8
|
SERVER_ERROR: 500,
|
|
10
9
|
BAD_GATEWAY: 502,
|
|
11
10
|
SERVICE_UNAVAILABLE: 503,
|
|
12
11
|
GATEWAY_TIMEOUT: 504,
|
|
13
12
|
[HttpStatus.NOT_FOUND]: '请求资源不存在',
|
|
14
13
|
[HttpStatus.BAD_GATEWAY]: '服务端异常,请稍后重试',
|
|
15
14
|
[HttpStatus.FORBIDDEN]: '没有权限访问',
|
|
16
15
|
[HttpStatus.AUTHENTICATE]: '需要鉴权',
|
|
17
16
|
[HttpStatus.SUCCESS]: '成功',
|
|
18
17
|
'whx_getShopHomeFloorInfo',
|
|
19
18
|
'whx_searchWare',
|
|
20
19
|
'shopGuessYouLike',
|
|
21
20
|
'whx_getMShopCategory',
|
|
22
21
|
'whx_newWareList',
|
|
23
22
|
'getShopHomePromotionWebPage',
|
|
24
23
|
'whx_getShopCampaignPage',
|
|
25
24
|
'whx_getPromotionWares',
|
|
26
25
|
'whx_buyerShowPage',
|
|
27
26
|
'whx_getShopGwredPage',
|
|
28
27
|
'whx_getShopSpeciSecKillPage',
|
|
29
28
|
'whx_getSignInfo',
|
|
30
29
|
'whx_getSignPrize',
|
|
31
30
|
'getShopHomeFloorInfo',
|
|
32
31
|
'shopGuessYouLike',
|
|
33
32
|
'getShopHomePromotionWebPage',
|
|
34
33
|
'getVipDetail',
|
|
35
34
|
'getShopCategory',
|
|
36
35
|
'getShopNavigationCategory',
|
|
37
36
|
'getPagePreview',
|
|
38
37
|
'bmall_cart',
|
|
39
38
|
'bmall_getOmittedProduct',
|
|
40
39
|
'bmall_cartAdd',
|
|
41
40
|
'bmall_cartChange',
|
|
42
41
|
'bmall_cartRemove',
|
|
43
42
|
'whx_getShopHomeFloorInfo',
|
|
44
43
|
'whx_searchWare',
|
|
45
44
|
'shopGuessYouLike',
|
|
46
45
|
'whx_getMShopCategory',
|
|
47
46
|
'whx_newWareList',
|
|
48
47
|
'getShopHomePromotionWebPage',
|
|
49
48
|
'whx_getShopCampaignPage',
|
|
50
49
|
'whx_getPromotionWares',
|
|
51
50
|
'whx_buyerShowPage',
|
|
52
51
|
'getShopHomeFloorInfo',
|
|
53
52
|
'getShopCategory',
|
|
54
53
|
'getShopNavigationCategory',
|
|
55
54
|
'giftCardAddCart',
|
|
56
55
|
'receiveShopCoupon',
|
|
57
56
|
'getShopHomePromotionWebPage',
|
|
58
57
|
'shopGuessYouLike',
|
|
59
58
|
'addRemind',
|
|
60
59
|
'cancelRemind',
|
|
61
60
|
'getVipDetail',
|
|
62
61
|
'shopDetail',
|
|
63
62
|
'address_queryAddress',
|
|
64
63
|
'shopMemberSprintJoinActivity',
|
|
65
64
|
'shopMemberSprintReceivePrize',
|
|
66
65
|
'bmall_cart',
|
|
67
66
|
'bmall_getOmittedProduct',
|
|
68
67
|
'bmall_cartAdd',
|
|
69
68
|
'bmall_cartChange',
|
|
70
69
|
'bmall_cartRemove',
|
|
71
70
|
SHOP_COLOR_APPID: 'shop_m_jd_com',
|
|
72
71
|
JSHOPX_COLOR_APPID: 'jshopx_jd_com',
|
|
73
72
|
PAGES_COLOR_APPID: 'pages_jd_com',
|
|
74
73
|
B2B_COLOR_APPID: 'b2b',
|
|
75
74
|
SHOP_MEMBER_COLOR_APPID: 'shopmember_m_jd_com',
|
|
76
75
|
MALL_COLOR_APPID: 'mall_jd_com',
|
|
77
76
|
'getSeriesTabData',
|
|
78
77
|
'searchWare',
|
|
79
78
|
'getDrShopDiscoveryFeeds',
|
|
79
|
+
export const HttpStatus = {
|
|
80
80
|
SUCCESS: 200,
|
|
81
81
|
CREATED: 201,
|
|
82
82
|
ACCEPTED: 202,
|
|
83
83
|
CLIENT_ERROR: 400,
|
|
84
84
|
AUTHENTICATE: 401,
|
|
85
85
|
FORBIDDEN: 403,
|
|
86
86
|
NOT_FOUND: 404,
|
|
87
87
|
SERVER_ERROR: 500,
|
|
88
88
|
BAD_GATEWAY: 502,
|
|
89
89
|
SERVICE_UNAVAILABLE: 503,
|
|
90
90
|
GATEWAY_TIMEOUT: 504,
|
|
91
91
|
[HttpStatus.NOT_FOUND]: '请求资源不存在',
|
|
92
92
|
[HttpStatus.BAD_GATEWAY]: '服务端异常,请稍后重试',
|
|
93
93
|
[HttpStatus.FORBIDDEN]: '没有权限访问',
|
|
94
94
|
[HttpStatus.AUTHENTICATE]: '需要鉴权',
|
|
95
95
|
[HttpStatus.SUCCESS]: '成功',
|
|
96
96
|
'whx_getShopHomeFloorInfo',
|
|
97
97
|
'whx_searchWare',
|
|
98
98
|
'shopGuessYouLike',
|
|
99
99
|
'whx_getMShopCategory',
|
|
100
100
|
'whx_newWareList',
|
|
101
101
|
'getShopHomePromotionWebPage',
|
|
102
102
|
'whx_getShopCampaignPage',
|
|
103
103
|
'whx_getPromotionWares',
|
|
104
104
|
'whx_buyerShowPage',
|
|
105
105
|
'whx_getShopGwredPage',
|
|
106
106
|
'whx_getShopSpeciSecKillPage',
|
|
107
107
|
'whx_getSignInfo',
|
|
108
108
|
'whx_getSignPrize',
|
|
109
109
|
'getShopHomeFloorInfo',
|
|
110
110
|
'shopGuessYouLike',
|
|
111
111
|
'getShopHomePromotionWebPage',
|
|
112
112
|
'getVipDetail',
|
|
113
113
|
'getShopCategory',
|
|
114
114
|
'getShopNavigationCategory',
|
|
115
115
|
'colorApiPreview',
|
|
116
116
|
'bmall_cart',
|
|
117
117
|
'bmall_getOmittedProduct',
|
|
118
118
|
'bmall_cartAdd',
|
|
119
119
|
'bmall_cartChange',
|
|
120
120
|
'bmall_cartRemove',
|
|
121
121
|
'whx_getShopHomeFloorInfo',
|
|
122
122
|
'whx_searchWare',
|
|
123
123
|
'shopGuessYouLike',
|
|
124
124
|
'whx_getMShopCategory',
|
|
125
125
|
'whx_newWareList',
|
|
126
126
|
'getShopHomePromotionWebPage',
|
|
127
127
|
'whx_getShopCampaignPage',
|
|
128
128
|
'whx_getPromotionWares',
|
|
129
129
|
'whx_buyerShowPage',
|
|
130
130
|
'getShopHomeFloorInfo',
|
|
131
131
|
'getShopCategory',
|
|
132
132
|
'getShopNavigationCategory',
|
|
133
133
|
'giftCardAddCart',
|
|
134
134
|
'receiveShopCoupon',
|
|
135
135
|
'getShopHomePromotionWebPage',
|
|
136
136
|
'shopGuessYouLike',
|
|
137
137
|
'addRemind',
|
|
138
138
|
'cancelRemind',
|
|
139
139
|
'getVipDetail',
|
|
140
140
|
'shopDetail',
|
|
141
141
|
'address_queryAddress',
|
|
142
142
|
'shopMemberSprintJoinActivity',
|
|
143
143
|
'shopMemberSprintReceivePrize',
|
|
144
144
|
'bmall_cart',
|
|
145
145
|
'bmall_getOmittedProduct',
|
|
146
146
|
'bmall_cartAdd',
|
|
147
147
|
'bmall_cartChange',
|
|
148
148
|
'bmall_cartRemove',
|
|
149
149
|
SHOP_COLOR_APPID: 'shop_m_jd_com',
|
|
150
150
|
JSHOPX_COLOR_APPID: 'jshopx_jd_com',
|
|
151
151
|
PAGES_COLOR_APPID: 'pages_jd_com',
|
|
152
152
|
B2B_COLOR_APPID: 'b2b',
|
|
153
153
|
SHOP_MEMBER_COLOR_APPID: 'shopmember_m_jd_com',
|
|
154
154
|
MALL_COLOR_APPID: 'mall_jd_com',
|
|
155
155
|
'getSeriesTabData',
|
|
156
156
|
'searchWare',
|
|
157
157
|
'getDrShopDiscoveryFeeds',
|
|
158
158
|
'searchWare',
|