|
@@ -47,8 +47,9 @@ public class MemberPriceSettingsController extends BaseController {
|
|
|
/**
|
|
|
* 查询分页
|
|
|
*/
|
|
|
- @PostMapping("/page")
|
|
|
+ @PostMapping("/list")
|
|
|
@ApiOperation(value = "查询分页", notes = "传入memberPriceSettingsSearch")
|
|
|
+ @PreAuthorize("@pcs.hasPermissions('memberPriceSettings/list')")
|
|
|
public HttpResponseResult<PageInfo<MemberPriceSettingsVo>> page(@RequestBody MemberPriceSettingsSearch query) {
|
|
|
IPage<MemberPriceSettingsVo> pages = memberPriceSettingsService.selectPage(PageUtil.getPage(query), query);
|
|
|
return succeed(PageUtil.pageInfo(pages));
|
|
@@ -59,6 +60,7 @@ public class MemberPriceSettingsController extends BaseController {
|
|
|
*/
|
|
|
@PostMapping(value = "/update", consumes = MediaType.APPLICATION_JSON_UTF8_VALUE, produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
|
|
|
@ApiOperation(value = "修改", notes = "传入memberPriceSettings")
|
|
|
+ @PreAuthorize("@pcs.hasPermissions('memberPriceSettings/update')")
|
|
|
public HttpResponseResult<Boolean> update(@Valid @RequestBody MemberPriceSettings memberPriceSettings) {
|
|
|
SysUser user = sysUserFeignService.queryUserInfo();
|
|
|
if (user == null || user.getId() == null) {
|