dolphin-weex-bc 0.0.49 → 0.0.51
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/CHANGELOG.md +8 -0
- package/dist/index.native.js +64 -15
- package/dist/index.native.js.map +1 -1
- package/dist/index.web.js +67 -18
- package/dist/index.web.js.map +1 -1
- package/package.json +1 -1
- package/packages/dof-xiaomei-card/index.vue +1 -1
- package/packages/material-event/index.js +17 -1
package/package.json
CHANGED
|
@@ -145,7 +145,7 @@ export default {
|
|
|
145
145
|
},
|
|
146
146
|
_avatarSrc() {
|
|
147
147
|
if (this.avatarSrc) return this.avatarSrc
|
|
148
|
-
return this.isDiablo ? 'https://
|
|
148
|
+
return this.isDiablo ? 'https://www.smartmidea.net/projects/xiaomei-agent-assets/avatar/avatar_diablo.png' : 'https://www.smartmidea.net/projects/xiaomei-agent-assets/avatar/avatar.png'
|
|
149
149
|
}
|
|
150
150
|
},
|
|
151
151
|
created() {
|
|
@@ -921,7 +921,22 @@ const MaterialEvent = {
|
|
|
921
921
|
let allGoodInfo = []
|
|
922
922
|
try {
|
|
923
923
|
if(params.length > 0){
|
|
924
|
-
allGoodInfo = await this.handleSkuDetailListInfo(params)
|
|
924
|
+
// allGoodInfo = await this.handleSkuDetailListInfo(params)
|
|
925
|
+
if (params && params.length > 40) {
|
|
926
|
+
let paramsNum = Math.ceil(params.length / 40)
|
|
927
|
+
for (let index = 0; index < paramsNum; index++) {
|
|
928
|
+
try {
|
|
929
|
+
const resAllGoodInfo = await this.handleSkuDetailListInfo(params.slice(index * 40, (index + 1) * 40))
|
|
930
|
+
allGoodInfo.push(...resAllGoodInfo)
|
|
931
|
+
} catch (error) {
|
|
932
|
+
continue
|
|
933
|
+
}
|
|
934
|
+
}
|
|
935
|
+
} else {
|
|
936
|
+
try {
|
|
937
|
+
allGoodInfo = await this.handleSkuDetailListInfo(params)
|
|
938
|
+
} catch (error) {}
|
|
939
|
+
}
|
|
925
940
|
console.log('获取到的全部商品信息1:'+ JSON.stringify(allGoodInfo))
|
|
926
941
|
}
|
|
927
942
|
} catch (error) {
|
|
@@ -1045,6 +1060,7 @@ const MaterialEvent = {
|
|
|
1045
1060
|
console.log('获取ucAccessToken:'+ ucAccessToken);
|
|
1046
1061
|
const res = await this.sendMideaCloundSaleRequest(serviceList.queryBySkuIdList, {
|
|
1047
1062
|
headParams:{
|
|
1063
|
+
originSystem: "WXApp-meiju",
|
|
1048
1064
|
userKey: ucAccessToken,
|
|
1049
1065
|
},
|
|
1050
1066
|
restParams: {
|