mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-11 12:36:00 +08:00
api2rpc
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package apistruct
|
||||
|
||||
import (
|
||||
pbRelay "OpenIM/pkg/proto/relay"
|
||||
sdkws "OpenIM/pkg/proto/sdkws"
|
||||
)
|
||||
|
||||
@@ -26,7 +25,7 @@ type GetUsersOnlineStatusReq struct {
|
||||
}
|
||||
type GetUsersOnlineStatusResp struct {
|
||||
CommResp
|
||||
SuccessResult []*pbRelay.GetUsersOnlineStatusResp_SuccessResult `json:"data"`
|
||||
//SuccessResult []*pbRelay.GetUsersOnlineStatusResp_SuccessResult `json:"data"`
|
||||
}
|
||||
type AccountCheckReq struct {
|
||||
OperationID string `json:"operationID" binding:"required"`
|
||||
|
||||
@@ -510,6 +510,7 @@ func unmarshalConfig(config interface{}, configPath string) error {
|
||||
if err = yaml.Unmarshal(bytes, config); err != nil {
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func initConfig(config interface{}, configName, configPath string) error {
|
||||
|
||||
Reference in New Issue
Block a user