fix: 修改积分相关接口传参userId改为shopUserId,修改耗材出入库展示,修改点歌页面跳转
This commit is contained in:
@@ -379,7 +379,7 @@ async function pointsInit() {
|
||||
return;
|
||||
}
|
||||
const res = await PointsApi.calcOrderUsablePoints({
|
||||
userId: props.user.id,
|
||||
shopUserId: props.user.id,
|
||||
orderAmount: currentpayMoney.value - pointsDiscountAmount.value,
|
||||
});
|
||||
pointsRes.value = res;
|
||||
@@ -394,7 +394,7 @@ async function pointsInit() {
|
||||
// 根据积分计算可抵扣金额
|
||||
async function pointsToMoney() {
|
||||
const res = await PointsApi.calcPointsToMoney({
|
||||
userId: props.user.id,
|
||||
shopUserId: props.user.id,
|
||||
orderAmount: currentpayMoney.value - pointsDiscountAmount.value,
|
||||
points: usePointsNumber.value,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user