struct 标签
This commit is contained in:
parent
42de65a78c
commit
9ae1c96a6b
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user