修改增加用户通知的名称
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
package com.synebula.zeus.app.component
|
||||
|
||||
interface IUserAdded {
|
||||
fun added(userId: String)
|
||||
fun added(id: String, name: String)
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user