This commit is contained in:
hujiabin 2024-04-17 20:51:49 +08:00
parent b1e62a0740
commit 2b483e0da4

View File

@ -436,6 +436,10 @@ class BagController extends BaseAuthedController {
$this->_rspErr(1, "item_id error");
return;
}
if ($itemNum < 1){
$this->_rspErr(1, "item_num error");
return;
}
if ($itemMeta['type'] != mt\Item::FUNC_TYPE) {
$this->_rspErr(1, "only supported property");
return;