Merge #85 into master from cc_20260331_material_blacklist
fix:小程序门店物料黑名单接口 * cc_20260331_material_blacklist: (1 commits squashed) - fix:小程序门店物料黑名单接口 Signed-off-by: 王非凡 <accounts_67eba0c5fee9c49c80c8e2b4@mail.teambition.com> Merged-by: 正新 <accounts_6964c7bcd2a2c377c5bbd01b@mail.teambition.com> CR-link: https://codeup.aliyun.com/692ea314dec569489f6f167c/hangzhou/java/custom_zxjp/change/85
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
package com.cool.store.controller.webc;
|
||||
|
||||
import com.cool.store.request.store.StoreMaterialBlacklistQueryRequest;
|
||||
import com.cool.store.response.ResponseResult;
|
||||
import com.cool.store.service.store.StoreMaterialBlacklistService;
|
||||
import com.cool.store.vo.store.StoreMaterialBlacklistVO;
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 门店物料黑名单 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author wangff
|
||||
* @since 2026/3/31
|
||||
*/
|
||||
@Api(tags = "Mini门店物料黑名单")
|
||||
@RestController
|
||||
@RequestMapping("/mini/material/blacklist")
|
||||
@RequiredArgsConstructor
|
||||
public class MiniStoreMaterialBlacklistController {
|
||||
private final StoreMaterialBlacklistService storeMaterialBlacklistService;
|
||||
|
||||
@ApiOperation("根据门店查询黑名单")
|
||||
@GetMapping("/page")
|
||||
public ResponseResult<PageInfo<StoreMaterialBlacklistVO>> page(StoreMaterialBlacklistQueryRequest request) {
|
||||
return ResponseResult.success(storeMaterialBlacklistService.pageByStoreId(request));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user