Compare commits

...

2 Commits

Author SHA1 Message Date
曹磊 e68b0de455 Merge remote-tracking branch 'origin/master' 2024-07-04 11:25:39 +08:00
曹磊 633d51731e 套餐浏览历史 2024-07-04 11:25:18 +08:00
1 changed files with 3 additions and 1 deletions

View File

@ -8,6 +8,7 @@ import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@ -22,8 +23,9 @@ public class AppMassagePackageDetailController {
@Login
@GetMapping("/findAppPage")
@ApiOperation("查询按服务包详情(分页)")
public Result findAppPage(MassagePackageDetail massagePackageDetail){
public Result findAppPage(@RequestAttribute("userId") Long userId, MassagePackageDetail massagePackageDetail){
massagePackageDetail.setStatus(1);
massagePackageDetail.setUserId(userId);
return service.findAppPage(massagePackageDetail);
}