Merge branches 'dev' and 'dev' of http://git.legu.cc/liwei_3d/go_dreamfactory into dev
This commit is contained in:
commit
b5c5636fb6
@ -23,6 +23,9 @@ func (this *apiComp) Receive(session comm.IUserSession, req *pb.MartialhallRecei
|
||||
mdata *cfg.GameKungfuMasterworkerData
|
||||
filed string
|
||||
)
|
||||
if code = this.ReceiveCheck(session, req); code != pb.ErrorCode_Success {
|
||||
return
|
||||
}
|
||||
if mart, err = this.module.modelMartialhall.queryUserMartialhall(session.GetUserId()); err != nil {
|
||||
code = pb.ErrorCode_DBError
|
||||
return
|
||||
|
@ -23,6 +23,9 @@ func (this *apiComp) UnLock(session comm.IUserSession, req *pb.MartialhallUnLock
|
||||
pillar *pb.DBPillar
|
||||
filed string
|
||||
)
|
||||
if code = this.UnLockCheck(session, req); code != pb.ErrorCode_Success {
|
||||
return
|
||||
}
|
||||
if mart, err = this.module.modelMartialhall.queryUserMartialhall(session.GetUserId()); err != nil {
|
||||
code = pb.ErrorCode_DBError
|
||||
return
|
||||
|
@ -24,6 +24,9 @@ func (this *apiComp) Upgrade(session comm.IUserSession, req *pb.MartialhallUpgra
|
||||
mdata *cfg.GameKungfuMasterworkerData
|
||||
issucc bool
|
||||
)
|
||||
if code = this.UpgradeCheck(session, req); code != pb.ErrorCode_Success {
|
||||
return
|
||||
}
|
||||
if mart, err = this.module.modelMartialhall.queryUserMartialhall(session.GetUserId()); err != nil {
|
||||
code = pb.ErrorCode_DBError
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user