处理装备挂在异常问题
This commit is contained in:
parent
9a59cbb680
commit
662dec9882
@ -12,7 +12,7 @@ import (
|
||||
|
||||
//参数校验
|
||||
func (this *apiComp) EquipCheck(session comm.IUserSession, req *pb.EquipmentEquipReq) (code pb.ErrorCode) {
|
||||
if (len(req.EquipmentId) != 6 && len(req.EquipmentId) != 8) || req.HeroCardId == "" {
|
||||
if len(req.EquipmentId) != 8 || req.HeroCardId == "" {
|
||||
code = pb.ErrorCode_ReqParameterError
|
||||
}
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user