fix: 对话框 textContent 改为 innerText 支持换行;后端允许装扮批量购买
This commit is contained in:
@@ -30,7 +30,7 @@ class ShopService
|
||||
*/
|
||||
public function buyItem(User $user, ShopItem $item, int $quantity = 1): array
|
||||
{
|
||||
if ($quantity !== 1 && $item->type !== ShopItem::TYPE_SIGN_REPAIR) {
|
||||
if ($quantity !== 1 && $item->type !== ShopItem::TYPE_SIGN_REPAIR && !$item->isDecoration()) {
|
||||
return ['ok' => false, 'message' => '该商品暂不支持批量购买。'];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user