fix: update task name error

This commit is contained in:
engigu
2025-08-10 14:27:50 +08:00
parent f3bfe34875
commit 0a12a25473
5 changed files with 12 additions and 8 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ func (st *SendTaskService) Delete() error {
return models.DeleteMsgTask(st.ID)
}
func (st *SendTaskService) Edit(data map[string]string) error {
func (st *SendTaskService) Edit(data map[string]interface{}) error {
return models.EditSendTask(st.ID, data)
}