struct 标签

This commit is contained in:
meixiongfeng 2023-11-20 10:12:55 +08:00
parent 42de65a78c
commit 9ae1c96a6b

View File

@ -10,9 +10,9 @@ import (
// 封号或禁言
type AccountBanReq struct {
Uid string `json:"uid"` // uid
iType int32 // 0 封号 1 禁言
iValue int32 // 类型对应的值
Uid string `json:"uid"` // uid
IType int32 `json:"iType"` // 0 封号 1 禁言
Value int32 `json:"iValue"` // 类型对应的值
}
//禁封消息
@ -32,8 +32,8 @@ func (this *Api_Comp) AccountBanNotify(c *engine.Context) {
rpcMsg := &pb.RPCAccountBan{
Uid: req.Uid,
Key: req.iType,
Value: req.iValue,
Key: req.IType,
Value: req.Value,
}
if _, err = this.module.service.RpcGo(
context.Background(),