This commit is contained in:
aozhiwei 2023-08-07 17:16:22 +08:00
parent 8b8824d193
commit b6e2ec9472

View File

@ -142,11 +142,11 @@ class MallController extends BaseAuthedController {
myself()->_rspErr(1, 'goods not found');
return;
}
if ($goodsDb['seller'] != myself()->_getAccountId()) {
myself()->_rspErr(1, 'goods not found');
return;
$goodsDto = Mall::toDto($goodsDb);
if ($goodsDto['']) {
}
Mall::cancel($goodsDb['goods_uuid']);
Mall::cancel($goodsDto['goods_uuid']);
myself()->_rspOk();
}