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