Commit 133840c0 authored by wp's avatar wp

取消审核权限放开

parent 530b4953
......@@ -127,7 +127,6 @@ public class GoodsListController {
@PutMapping("/cancelCheck/{goodsId}")
public ResponseVO cancelCheck(@PathVariable String goodsId, @ApiParam(name = "adminId", value = "管理员id")
@RequestHeader String adminId) {
adminService.adminAuthCheck(adminId, AdminTypeEnum.MERCHANT.getType());
String merchantId1 = adminService.getByAdminId(adminId).getMerchantId();
String merchantId2 = spuService.getByGoodsId(goodsId).getMerchantId();
if (!merchantId1.equals(merchantId2)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment