积分商品详情

This commit is contained in:
2026-01-21 15:33:30 +08:00
parent 0ba52b85b2
commit bb673d805a

View File

@@ -1,5 +1,6 @@
package com.czg.controller.user;
import com.czg.market.entity.MkPointsGoods;
import com.czg.market.entity.MkPointsGoodsRecord;
import com.czg.market.service.MkPointsGoodsRecordService;
import com.czg.market.service.MkPointsGoodsService;
@@ -51,6 +52,14 @@ public class UPointGoodsController {
return CzgResult.success(data);
}
/**
* 商品详情
*/
@GetMapping("/{id}")
public CzgResult<MkPointsGoods> getPointsGoodsSettingById(@PathVariable("id") Long id) {
return CzgResult.success(pointsGoodsService.getById(id));
}
/**
* 生成订单
* 小程序支付