|
|
|
@ -86,7 +86,7 @@ public class PmsProductController {
|
|
|
|
|
@PreAuthorize("hasAuthority('pms:product:update')")
|
|
|
|
|
public Object updateVerifyStatus(@RequestParam("ids") List<Long> ids,
|
|
|
|
|
@RequestParam("verifyStatus") Integer verifyStatus,//ÉóºË״̬
|
|
|
|
|
@RequestParam("detail") String detail)//详细信息 {
|
|
|
|
|
@RequestParam("detail") String detail) {
|
|
|
|
|
int count = productService.updateVerifyStatus(ids, verifyStatus, detail);
|
|
|
|
|
if (count > 0) {
|
|
|
|
|
return new CommonResult().success(count);
|
|
|
|
@ -100,7 +100,7 @@ public class PmsProductController {
|
|
|
|
|
@ResponseBody
|
|
|
|
|
@PreAuthorize("hasAuthority('pms:product:update')")
|
|
|
|
|
public Object updatePublishStatus(@RequestParam("ids") List<Long> ids,
|
|
|
|
|
@RequestParam("publishStatus") Integer publishStatus) //上架状态{
|
|
|
|
|
@RequestParam("publishStatus") Integer publishStatus) {
|
|
|
|
|
int count = productService.updatePublishStatus(ids, publishStatus);
|
|
|
|
|
if (count > 0) {
|
|
|
|
|
return new CommonResult().success(count);
|
|
|
|
@ -114,7 +114,7 @@ public class PmsProductController {
|
|
|
|
|
@ResponseBody
|
|
|
|
|
@PreAuthorize("hasAuthority('pms:product:update')")
|
|
|
|
|
public Object updateRecommendStatus(@RequestParam("ids") List<Long> ids,
|
|
|
|
|
@RequestParam("recommendStatus") Integer recommendStatus)//推荐状态 {
|
|
|
|
|
@RequestParam("recommendStatus") Integer recommendStatus) {
|
|
|
|
|
int count = productService.updateRecommendStatus(ids, recommendStatus);//¸üÐÂÍƼö״̬
|
|
|
|
|
if (count > 0) {
|
|
|
|
|
return new CommonResult().success(count);
|
|
|
|
|