bjang03
6 months ago
10 changed files with 45 additions and 25 deletions
@ -1,8 +1,21 @@ |
|||||
package com.win.module.system.mq.message.licences; |
package com.win.module.system.mq.message.licences; |
||||
|
|
||||
import com.win.framework.mq.core.stream.AbstractStreamMessage; |
import com.win.framework.mq.core.stream.AbstractStreamMessage; |
||||
|
import lombok.Data; |
||||
|
import lombok.EqualsAndHashCode; |
||||
|
|
||||
public class LicencesMessage{ |
import java.util.Map; |
||||
|
|
||||
|
import static com.win.module.system.util.ModuleAuthenUtils.LICENCES_UPDATE_MESSAGE; |
||||
|
|
||||
|
@Data |
||||
|
@EqualsAndHashCode(callSuper = true) |
||||
|
public class LicencesMessage extends AbstractStreamMessage{ |
||||
private String secretKey; |
private String secretKey; |
||||
private String data; |
private Map data; |
||||
|
|
||||
|
@Override |
||||
|
public String getStreamKey() { |
||||
|
return LICENCES_UPDATE_MESSAGE; |
||||
|
} |
||||
} |
} |
||||
|
@ -1,4 +1,4 @@ |
|||||
package com.win.framework.web.core.util; |
package com.win.module.system.util; |
||||
|
|
||||
import cn.hutool.core.codec.Base64; |
import cn.hutool.core.codec.Base64; |
||||
import cn.hutool.json.JSONObject; |
import cn.hutool.json.JSONObject; |
Loading…
Reference in new issue