修改增加用户通知的名称
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
package com.synebula.zeus.app.component
|
package com.synebula.zeus.app.component
|
||||||
|
|
||||||
interface IUserAdded {
|
interface IUserAdded {
|
||||||
fun added(userId: String)
|
fun added(id: String, name: String)
|
||||||
}
|
}
|
||||||
@@ -28,7 +28,7 @@ class UserApp(
|
|||||||
|
|
||||||
override fun add(command: UserCmd): HttpMessage {
|
override fun add(command: UserCmd): HttpMessage {
|
||||||
val msg = super.add(command)
|
val msg = super.add(command)
|
||||||
userAdded.added(msg.data.toString())
|
userAdded.added(msg.data.toString(), command.name)
|
||||||
return msg
|
return msg
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user