订单结算修改

This commit is contained in:
2025-11-11 18:27:56 +08:00
parent e8c93e8ddb
commit 378cddb582
28 changed files with 7664 additions and 5613 deletions

View File

@@ -10,9 +10,6 @@
// 导入全局属性
import appConfig from '@/config/appConfig.js'
import storageManage from '@/commons/utils/storageManage.js'
import {
sm4DecryptByResData
} from '@/commons/utils/encryptUtil.js'
import infoBox from "@/commons/utils/infoBox.js"
import go from '@/commons/utils/go.js';
import {
@@ -109,18 +106,7 @@ function commonsProcess(showLoading, httpReqCallback) {
infoBox.showToast(data.message || '服务器异常')
return Promise.reject(bodyData) // 跳转到catch函数
}
// 加密数据
if (!bodyData.data && bodyData.encryptData) {
return Promise.resolve({
bizData: sm4DecryptByResData(bodyData.encryptData),
code: bodyData.code
})
}
// 构造请求成功的响应数据
return Promise.resolve(bodyData)