Commit bb76ed11 authored by wangpeng's avatar wangpeng

Merge branch 'dev' into 'test'

取消审核没有权限修复 See merge request !42
parents 9cc56e79 ba8c0247
......@@ -211,7 +211,6 @@ public class SpuController {
@PutMapping("/goodsList/cancelCheck/{goodsId}")
public ResponseVO cancel(@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