Merge branch 'dev' of http://git.legu.cc/liwei_3d/go_dreamfactory into dev
This commit is contained in:
commit
ed7ad30f95
@ -439,7 +439,7 @@ func (this *apiComp) Event(session comm.IUserSession, req *pb.StonehengeEventReq
|
||||
if eventConf.EventType == EventType28 { // 必须是战斗类型才可以触发
|
||||
var job int32
|
||||
for _, v := range req.Report.Info.Redflist[0].Team {
|
||||
if h, err := this.module.ModuleTools.GetHeroConfig(v.HeroID); err != nil {
|
||||
if h, err := this.module.ModuleTools.GetHeroConfig(v.HeroID); err == nil {
|
||||
if job == 0 {
|
||||
job = h.Job
|
||||
}
|
||||
|
@ -9,7 +9,7 @@ import (
|
||||
// 修改签名
|
||||
|
||||
func (this *apiComp) ModifysignCheck(session comm.IUserSession, req *pb.UserModifysignReq) (errdata *pb.ErrorData) {
|
||||
if req.Sign == "" || len(req.Sign) > 200 {
|
||||
if req.Sign == "" {
|
||||
errdata = &pb.ErrorData{
|
||||
Code: pb.ErrorCode_ReqParameterError,
|
||||
Title: pb.ErrorCode_ReqParameterError.ToString(),
|
||||
|
Loading…
Reference in New Issue
Block a user