-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ Added get_version_info api for go-cqhttp extend #234
Co-authored-by: xinmu <2510136957@email.com>
- Loading branch information
1 parent
e366238
commit bc95115
Showing
6 changed files
with
76 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
src/main/java/com/mikuac/shiro/dto/action/response/VersionInfoResp.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package com.mikuac.shiro.dto.action.response; | ||
|
||
import com.alibaba.fastjson2.annotation.JSONField; | ||
import lombok.Data; | ||
|
||
@Data | ||
public class VersionInfoResp { | ||
|
||
@JSONField(name = "app_name") | ||
private String appName; | ||
|
||
@JSONField(name = "app_version") | ||
private String appVersion; | ||
|
||
@JSONField(name = "protocol_version") | ||
private String protocolVersion; | ||
|
||
@JSONField(name = "version") | ||
private String version; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters