q-koa 13.8.6 → 13.8.7
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.
|
@@ -1193,9 +1193,7 @@ module.exports = class Singleton {
|
|
|
1193
1193
|
if (result.errcode) {
|
|
1194
1194
|
if (result.errcode === 40001) {
|
|
1195
1195
|
cache.clear()
|
|
1196
|
-
return await this.b2bPreStore(
|
|
1197
|
-
retail_info_list: list,
|
|
1198
|
-
})
|
|
1196
|
+
return await this.b2bPreStore(list)
|
|
1199
1197
|
}
|
|
1200
1198
|
throw new Error(`${result.errcode};${result.errmsg}`)
|
|
1201
1199
|
}
|
|
@@ -1242,7 +1240,7 @@ module.exports = class Singleton {
|
|
|
1242
1240
|
if (result.errcode) {
|
|
1243
1241
|
if (result.errcode === 40001) {
|
|
1244
1242
|
cache.clear()
|
|
1245
|
-
return await this.b2bSendMessage(
|
|
1243
|
+
return await this.b2bSendMessage({ type, to_user_list, data })
|
|
1246
1244
|
}
|
|
1247
1245
|
throw new Error(`${result.errcode};${result.errmsg}`)
|
|
1248
1246
|
}
|