@uxda/appkit 4.3.16 → 4.3.18
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/dist/index.js
CHANGED
|
@@ -1099,7 +1099,7 @@ const vendor$3 = {
|
|
|
1099
1099
|
traceId: header.traceId,
|
|
1100
1100
|
duration: endTime - startTime
|
|
1101
1101
|
});
|
|
1102
|
-
if (data.success) {
|
|
1102
|
+
if (data.success || data.code === "401") {
|
|
1103
1103
|
resolve({
|
|
1104
1104
|
status: +data.code,
|
|
1105
1105
|
message: data.msg,
|
|
@@ -1806,6 +1806,7 @@ var script$F = /* @__PURE__ */ defineComponent({
|
|
|
1806
1806
|
sellerRegisterNum: res?.sellerRegisterNum,
|
|
1807
1807
|
serviceType: res?.serviceType,
|
|
1808
1808
|
totalAmount: res?.totalAmount,
|
|
1809
|
+
amountInFiguers: res?.amountInFiguers,
|
|
1809
1810
|
totalTax: res?.totalTax,
|
|
1810
1811
|
fileUrl,
|
|
1811
1812
|
fileType,
|
|
@@ -3274,7 +3275,7 @@ const vendor$2 = {
|
|
|
3274
3275
|
traceId: header.traceId,
|
|
3275
3276
|
duration: endTime - startTime
|
|
3276
3277
|
});
|
|
3277
|
-
if (data.success) {
|
|
3278
|
+
if (data.success || data.code === "401") {
|
|
3278
3279
|
resolve({
|
|
3279
3280
|
status: +data.code,
|
|
3280
3281
|
message: data.msg,
|
|
@@ -7072,7 +7073,7 @@ const vendor$1 = {
|
|
|
7072
7073
|
traceId: header.traceId,
|
|
7073
7074
|
duration: endTime - startTime
|
|
7074
7075
|
});
|
|
7075
|
-
if (data.success) {
|
|
7076
|
+
if (data.success || data.code === "401") {
|
|
7076
7077
|
resolve({
|
|
7077
7078
|
status: +data.code,
|
|
7078
7079
|
message: data.msg,
|
|
@@ -8521,7 +8522,7 @@ const vendor = {
|
|
|
8521
8522
|
traceId: header.traceId,
|
|
8522
8523
|
duration: endTime - startTime
|
|
8523
8524
|
});
|
|
8524
|
-
if (data.success) {
|
|
8525
|
+
if (data.success || data.code === "401") {
|
|
8525
8526
|
resolve({
|
|
8526
8527
|
status: +data.code,
|
|
8527
8528
|
message: data.msg,
|
package/package.json
CHANGED
package/src/balance/api/index.ts
CHANGED
package/src/notice/api/index.ts
CHANGED
package/src/payment/api/index.ts
CHANGED
|
@@ -158,6 +158,7 @@ async function getOcrInfo(file: string | FileType, fileType: 'img' | 'pdf' = 'im
|
|
|
158
158
|
sellerRegisterNum: res?.sellerRegisterNum,
|
|
159
159
|
serviceType: res?.serviceType,
|
|
160
160
|
totalAmount: res?.totalAmount,
|
|
161
|
+
amountInFiguers: res?.amountInFiguers,
|
|
161
162
|
totalTax: res?.totalTax,
|
|
162
163
|
fileUrl: fileUrl,
|
|
163
164
|
fileType: fileType,
|