This commit is contained in:
SunCheng
2026-02-15 10:10:28 +08:00
parent e51a3edd50
commit a88556c784
92 changed files with 6751 additions and 776 deletions

View File

@@ -88,4 +88,14 @@ public class TransactionCategoryController(
await categoryApplication.UpdateSelectedIconAsync(request);
return "更新图标成功".Ok();
}
/// <summary>
/// 删除分类图标
/// </summary>
[HttpDelete("{id}")]
public async Task<BaseResponse> DeleteIconAsync(long id)
{
await categoryApplication.DeleteIconAsync(id);
return "删除图标成功".Ok();
}
}

View File

@@ -81,5 +81,26 @@
"Endpoint": "https://api.deepseek.com/v1",
"Key": "sk-2240d91e2ab1475881147e3810b343d3",
"Model": "deepseek-chat"
},
"IconPromptSettings": {
"Version": "1.0.0",
"StyleStrength": 0.7,
"ColorScheme": "single-color",
"EnableNewPrompt": true,
"GrayScaleRatio": 0.1,
"AbstractCategories": {
"其他": {
"GeometryShape": "circle",
"ColorCode": "#9E9E9E"
},
"通用": {
"GeometryShape": "square",
"ColorCode": "#BDBDBD"
},
"未知": {
"GeometryShape": "triangle",
"ColorCode": "#E0E0E0"
}
}
}
}