参数错误

This commit is contained in:
meixiongfeng 2023-02-24 13:44:16 +08:00
parent d210e54fc0
commit 45d199b682

View File

@ -10,7 +10,7 @@ import (
//参数校验
func (this *apiComp) RiseCheck(session comm.IUserSession, req *pb.SmithyRiseReq) (code pb.ErrorCode) {
if req.ItemId != "" && req.Count > 0 {
if req.ItemId != "" && req.Count < 0 {
code = pb.ErrorCode_ReqParameterError
}
return