修改增加用户通知的名称

This commit is contained in:
2020-05-21 17:01:04 +08:00
parent be7c844dfb
commit b2f6ba6b50
2 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
package com.synebula.zeus.app.component
interface IUserAdded {
fun added(userId: String)
fun added(id: String, name: String)
}

View File

@@ -28,7 +28,7 @@ class UserApp(
override fun add(command: UserCmd): HttpMessage {
val msg = super.add(command)
userAdded.added(msg.data.toString())
userAdded.added(msg.data.toString(), command.name)
return msg
}