feat:修改强推

This commit is contained in:
2026-07-22 16:07:49 +08:00
parent a971f06267
commit 53f1ebba18
3 changed files with 35 additions and 8 deletions
@@ -969,8 +969,18 @@ export default {
// 获取规格模版数据
async querySpecification() {
let infoResp = null;
const params = {
id: this.id,
};
if (this.isCoupon) {
params.type = -1;
}
if (this.activedType === 'seckill') {
params.activityId = this.activityId;
params.activityType = 'seckill';
}
try {
infoResp = await getGoodsSpecsInfo({ id: this.id });
infoResp = await getGoodsSpecsInfo(params);
} catch (e) {
return false;
}