feat: 支持记录日志

This commit is contained in:
2024-08-08 07:23:58 +08:00
parent d5f3a24eae
commit 4228930ba9

View File

@@ -58,7 +58,7 @@ public class CurrencyCreateCommand extends ChildCommand {
} }
CurrencyPlugin.async(() -> { CurrencyPlugin.async(() -> {
try { try {
CurrencyType type = new CurrencyType(id, id); CurrencyType type = new CurrencyType(id);
CurrencyDataManager.updateCurrencyType(type, true); CurrencyDataManager.updateCurrencyType(type, true);
CurrencyMessage.CURRENCY_CREATE_SUCCESS.show(sender); CurrencyMessage.CURRENCY_CREATE_SUCCESS.show(sender);
} catch (SQLException e) { } catch (SQLException e) {