package items import ( "go_dreamfactory/comm" "go_dreamfactory/pb" ) //参数校验 func (this *Api_Comp) Useitem_Check(session comm.IUserSession, req *pb.Pack_UseItem_Req) (result map[string]interface{}, code comm.ErrorCode) { return } //使用道具 func (this *Api_Comp) Useitem(session comm.IUserSession, agrs map[string]interface{}, req *pb.Pack_UseItem_Req) (code pb.ErrorCode) { defer func() { session.SendMsg(string(this.module.GetType()), UseItemResp, &pb.Pack_UseItem_Resp{}) }() return }