diff --git a/webapp/controller/MallController.class.php b/webapp/controller/MallController.class.php index de1bc4bb..ad7a4466 100644 --- a/webapp/controller/MallController.class.php +++ b/webapp/controller/MallController.class.php @@ -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(); }