fix
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user