mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
fix deploy
This commit is contained in:
parent
aad27f40cf
commit
952ad0e162
@ -73,6 +73,8 @@ api:
|
|||||||
openImApiPort: [ 10000 ]
|
openImApiPort: [ 10000 ]
|
||||||
sdk:
|
sdk:
|
||||||
openImSdkWsPort: [ 30000 ]
|
openImSdkWsPort: [ 30000 ]
|
||||||
|
cmsapi:
|
||||||
|
openImCmsApiPort: [ 8000 ]
|
||||||
|
|
||||||
credential:
|
credential:
|
||||||
tencent:
|
tencent:
|
||||||
@ -91,7 +93,9 @@ rpcport:
|
|||||||
openImGroupPort: [ 10500 ]
|
openImGroupPort: [ 10500 ]
|
||||||
openImAuthPort: [ 10600 ]
|
openImAuthPort: [ 10600 ]
|
||||||
openImPushPort: [ 10700 ]
|
openImPushPort: [ 10700 ]
|
||||||
|
openImStatisticsPort: [ 10800 ]
|
||||||
|
openImMessageCmsPort: [ 10900 ]
|
||||||
|
openImAdminCmsPort: [ 11000 ]
|
||||||
|
|
||||||
rpcregistername:
|
rpcregistername:
|
||||||
openImUserName: User
|
openImUserName: User
|
||||||
|
@ -854,6 +854,8 @@ func (s *groupServer) RemoveGroupMembersCMS(_ context.Context, req *pbGroup.Remo
|
|||||||
OpUserID: req.OpUserId,
|
OpUserID: req.OpUserId,
|
||||||
}
|
}
|
||||||
chat.MemberKickedNotification(reqKick, resp.Success)
|
chat.MemberKickedNotification(reqKick, resp.Success)
|
||||||
|
log.NewInfo(req.OperationID, utils.GetSelfFuncName(), "success: ", resp.Success)
|
||||||
|
log.NewInfo(req.OperationID, utils.GetSelfFuncName(), "failed: ", resp.Failed)
|
||||||
return resp, nil
|
return resp, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -25,6 +25,9 @@ type config struct {
|
|||||||
Api struct {
|
Api struct {
|
||||||
GinPort []int `yaml:"openImApiPort"`
|
GinPort []int `yaml:"openImApiPort"`
|
||||||
}
|
}
|
||||||
|
CmsApi struct{
|
||||||
|
GinPort []int `yaml:"openImCmsApiPort"`
|
||||||
|
}
|
||||||
Sdk struct {
|
Sdk struct {
|
||||||
WsPort []int `yaml:"openImSdkWsPort"`
|
WsPort []int `yaml:"openImSdkWsPort"`
|
||||||
}
|
}
|
||||||
|
@ -6,13 +6,15 @@ source ./function.sh
|
|||||||
list1=$(cat $config_path | grep openImApiPort | awk -F '[:]' '{print $NF}')
|
list1=$(cat $config_path | grep openImApiPort | awk -F '[:]' '{print $NF}')
|
||||||
list2=$(cat $config_path | grep openImWsPort | awk -F '[:]' '{print $NF}')
|
list2=$(cat $config_path | grep openImWsPort | awk -F '[:]' '{print $NF}')
|
||||||
list3=$(cat $config_path | grep openImSdkWsPort | awk -F '[:]' '{print $NF}')
|
list3=$(cat $config_path | grep openImSdkWsPort | awk -F '[:]' '{print $NF}')
|
||||||
|
list4=$(cat $config_path | grep openImCmsApiPort | awk - F '[:]' '{print $NF}')
|
||||||
list_to_string $list1
|
list_to_string $list1
|
||||||
api_ports=($ports_array)
|
api_ports=($ports_array)
|
||||||
list_to_string $list2
|
list_to_string $list2
|
||||||
ws_ports=($ports_array)
|
ws_ports=($ports_array)
|
||||||
list_to_string $list3
|
list_to_string $list3
|
||||||
sdk_ws_ports=($ports_array)
|
sdk_ws_ports=($ports_array)
|
||||||
|
list_to_string $list4
|
||||||
|
cms_api_ports=($ports_array)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ service_port_name=(
|
|||||||
openImUserPort
|
openImUserPort
|
||||||
openImFriendPort
|
openImFriendPort
|
||||||
openImGroupPort
|
openImGroupPort
|
||||||
openImAuthPort
|
|
||||||
openImAdminCmsPort
|
openImAdminCmsPort
|
||||||
openImMessageCmsPort
|
openImMessageCmsPort
|
||||||
openImStatisticsPort
|
openImStatisticsPort
|
||||||
|
Loading…
x
Reference in New Issue
Block a user