main #34

Merged
charles merged 191 commits from main into prod 2025-11-19 16:18:39 +08:00
Showing only changes of commit f289e32b31 - Show all commits

View File

@ -12,7 +12,7 @@
<script> <script>
import { baiducloudAPI } from '@/api/BaiDuTokenapi' import { baiducloudAPI } from '@/api/BaiDuTokenapi'
import { reqBaiduJudgePrice } from '@/api/baidu' import { reqBaiduJudgePrice, reqConfirmBtn } from '@/api/baidu'
export default { export default {
name: 'baiduProductShow', name: 'baiduProductShow',
@ -75,7 +75,7 @@ export default {
// 3. 提取订单ID (这里假设取第一个,或者根据需要处理整个数组) // 3. 提取订单ID (这里假设取第一个,或者根据需要处理整个数组)
// 如果只需要一个订单ID进行退订 // 如果只需要一个订单ID进行退订
const orderId = String(uuidListArray[0]); const orderId = uuidListArray;
// 如果需要处理多个订单ID,可以用逗号连接 // 如果需要处理多个订单ID,可以用逗号连接
// const orderId = uuidListArray.join(','); // const orderId = uuidListArray.join(',');
@ -99,7 +99,7 @@ export default {
this.loading = true; this.loading = true;
// 7. 调用退订API // 7. 调用退订API
reqBaiduJudgePrice(payload) reqConfirmBtn(payload)
.then((res) => { .then((res) => {
console.log("调用 reqBaiduJudgePrice 接口返回:", res); console.log("调用 reqBaiduJudgePrice 接口返回:", res);
if (res.status) { // 假设 status 为 true 表示成功 if (res.status) { // 假设 status 为 true 表示成功