明细接口修改
This commit is contained in:
@@ -91,7 +91,7 @@ public class UShopUserController {
|
||||
* @return 明细数据
|
||||
*/
|
||||
@GetMapping("/moneyRecord/detail")
|
||||
public CzgResult<ShopUserFlow> getMoneyRecordDetail(@RequestParam Integer id) {
|
||||
public CzgResult<ShopUserFlow> getMoneyRecordDetail(@RequestParam Long id) {
|
||||
return CzgResult.success(shopUserFlowService.getOne(new QueryWrapper().eq(ShopUserFlow::getShopId, StpKit.USER.getShopId())
|
||||
.eq(ShopUserFlow::getUserId, StpKit.USER.getLoginIdAsLong()).eq(ShopUserFlow::getId, id)));
|
||||
}
|
||||
@@ -112,7 +112,7 @@ public class UShopUserController {
|
||||
* @return 明细数据
|
||||
*/
|
||||
@GetMapping("/pointsRecord/detail")
|
||||
public CzgResult<PointsExchangeRecord> getPointsRecordDetail(@RequestParam Integer id) {
|
||||
public CzgResult<PointsExchangeRecord> getPointsRecordDetail(@RequestParam Long id) {
|
||||
return CzgResult.success(pointsExchangeRecordService.getOne(new QueryWrapper().eq(PointsExchangeRecord::getShopId, StpKit.USER.getShopId())
|
||||
.eq(PointsExchangeRecord::getUserId, StpKit.USER.getLoginIdAsLong()).eq(PointsExchangeRecord::getId, id)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user